summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1997-04-28 03:31:07 +0000
committerTom Tromey <tromey@redhat.com>1997-04-28 03:31:07 +0000
commit52a7eb6baed8967e56cb3c710f64b586c3c74c8d (patch)
treec0652ed4c4cb310610031158e2231e1bbc1cac49 /aclocal.m4
parentb03a1bd94d25ff5ffa70745a555d864dac9c051c (diff)
downloadautomake-52a7eb6baed8967e56cb3c710f64b586c3c74c8d.tar.gz
nothing
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index c6a9516c2..dedc1122a 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -76,7 +76,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