From 4210c33bdbf4c05bf38e1eebd930c88eca203412 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 4 Oct 2012 15:55:43 -0700 Subject: [PATCH] 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 --- configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 -- 2.30.2