Hi Paul,

* Paul Eggert wrote on Wed, Mar 08, 2006 at 08:24:01PM CET:
> Thanks for reporting this and diagnosing it.  I installed this to
> work around the problem.  Perhaps there's a better fix, but I hope
> this works around the problem anyway.

Almost.  I installed this to get rid of the wrong stdin source.  :-)

Cheers,
Ralf

        * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
        Remove stdin redirection from /dev/null to allow pipe to work.

Index: tests/c.at
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/c.at,v
retrieving revision 1.8
diff -u -r1.8 c.at
--- tests/c.at  8 Mar 2006 19:21:26 -0000       1.8
+++ tests/c.at  8 Mar 2006 20:47:29 -0000
@@ -141,7 +141,7 @@
 AT_SETUP([AC_PROG_CPP without warnings])
 
 # Ignore if /lib/cpp doesn't work
-AT_CHECK([echo '#include <stdio.h>' | /lib/cpp </dev/null || exit 77],
+AT_CHECK([echo '#include <stdio.h>' | /lib/cpp || exit 77],
   [], [ignore], [ignore])
 
 # A cpp which exit status is meaningless.
@@ -179,7 +179,7 @@
 AT_SETUP([AC_PROG_CPP via CC])
 
 # Ignore if /lib/cpp doesn't work
-AT_CHECK([echo '#include <stdio.h>' | /lib/cpp </dev/null || exit 77],
+AT_CHECK([echo '#include <stdio.h>' | /lib/cpp || exit 77],
   [], [ignore], [ignore])
 
 AT_DATA([mycc],


Reply via email to