]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 6 Feb 2007 18:52:33 +0000 (18:52 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 6 Feb 2007 18:52:33 +0000 (18:52 +0000)
input from /dev/null in awk test, so even Solaris /usr/bin/awk
will not wait for input with a script containing only a BEGIN
rule.

ChangeLog
lib/autoconf/status.m4

index aca7f9774fbd3452315c054be57f3000bb7608ba..820476b1d2497e340de8e7933c5fd708c93fd207 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-02-06  Ralf Menzel  <menzel@ls6.cs.uni-dortmund.de>  (tiny change)
+
+       * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
+       input from /dev/null in awk test, so even Solaris /usr/bin/awk
+       will not wait for input with a script containing only a BEGIN
+       rule.
+
 2007-02-03  Paul Eggert  <eggert@cs.ucla.edu>
 
        * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
index ecccb7b9c7a234c5e2555c75ec75f4a0e34fc2ed..0581fdc2ac3588ac1bc8d89b23b949bc040ed773 100644 (file)
@@ -363,7 +363,7 @@ else
       '$ac_cs_awk_pipe_init
   ac_cs_awk_pipe_fini='END { print "|#_!!_#|" }'
 fi]])
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' 2>/dev/null`
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' 2>/dev/null </dev/null`
 if test "$ac_cs_awk_cr" = 'a\rb'; then ac_cs_awk_cr=; else ac_cs_awk_cr='\\'; fi
 dnl
 dnl Define the pipe that does the substitution.