From: Ben Pfaff Date: Thu, 4 Oct 2012 22:55:43 +0000 (-0700) Subject: Avoid requiring autom4te when it won't necessarily be needed. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4210c33bdbf4c05bf38e1eebd930c88eca203412;p=openvswitch Avoid requiring autom4te when it won't necessarily be needed. 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 Acked-by: Ethan Jackson --- diff --git a/configure.ac b/configure.ac index 10b214e6..9ec55486 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.]) fi -AC_PATH_PROG([AUTOM4TE], autom4te, no) -if test "$AUTOM4TE" = no; then - AC_MSG_ERROR([autom4te not found in $PATH or $AUTOM4TE.]) -fi +AM_MISSING_PROG([AUTOM4TE], [autom4te]) AC_USE_SYSTEM_EXTENSIONS AC_C_BIGENDIAN