From: Tom Tromey Date: Sat, 26 Apr 1997 05:07:53 +0000 (+0000) Subject: patch to missing check X-Git-Tag: pre-ian-conditionals~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9a5a21db0e1481be1391a7666741a038464bf16;p=thirdparty%2Fautomake.git patch to missing check --- diff --git a/ChangeLog b/ChangeLog index b0e3dc26c..bea0e352d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ Fri Apr 25 12:33:23 1997 Tom Tromey + * m4/missing.m4: Redirect stdin of testee. From Bill Fenner. + * automake.in (output_yacc_build_rule): Generate rule to create .h file. (handle_footer): Generate unique, sorted list of suffixes. diff --git a/THANKS b/THANKS index 9226c9cce..9e8c07416 100644 --- a/THANKS +++ b/THANKS @@ -6,6 +6,7 @@ Akim Demaille Alexander V. Lukyanov Andreas Schwab Anthony Green +Bill Fenner David A. Swierczek David Zaroski Dieter Baron diff --git a/m4/missing.m4 b/m4/missing.m4 index cdfb753c9..39178df20 100644 --- a/m4/missing.m4 +++ b/m4/missing.m4 @@ -7,7 +7,8 @@ AC_DEFUN(AM_MISSING_PROG, [AC_MSG_CHECKING(for working $2) # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. -if ($2 --version) > /dev/null 2>&1; then +# Redirect stdin to placate older versions of autoconf. Sigh. +if ($2 --version) < /dev/null > /dev/null 2>&1; then $1=$2 AC_MSG_RESULT(found) else