From d9a5a21db0e1481be1391a7666741a038464bf16 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 26 Apr 1997 05:07:53 +0000 Subject: [PATCH] patch to missing check --- ChangeLog | 2 ++ THANKS | 1 + m4/missing.m4 | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.47.3