[ovs-dev] [PATCH 2/2] Avoid requiring autom4te when it won't necessarily be needed.

Ben Pfaff blp at nicira.com
Thu Oct 4 22:55:54 UTC 2012

Commit 7fd3e43db07 (tests: Allow environment specified autom4te.) added a
requirement for Autom4te without anyone noticing it in advance.  This
caused a build failure in the XenServer DDK, which doesn't have Autom4te.
Since Autom4te is only needed if the testsuite is modified, this commit
makes it optional.

(Autom4te is part of Autoconf.)

Signed-off-by: Ben Pfaff <blp at nicira.com>
 configure.ac |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 10b214e..9ec5548 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,10 +34,7 @@ if test "$PERL" = no; then
    AC_MSG_ERROR([Perl interpreter not found in $PATH or $PERL.])
-AC_PATH_PROG([AUTOM4TE], autom4te, no)
-if test "$AUTOM4TE" = no; then
-   AC_MSG_ERROR([autom4te not found in $PATH or $AUTOM4TE.])
+AM_MISSING_PROG([AUTOM4TE], [autom4te])

More information about the dev mailing list