Hi,
  I noticed that Makefile.maint supposes that gzip prints its
help text to stdout.
But my gzip 1.2.4a, which is still the latest stable version released,
prints its help test to stderr.

So Makefile.maint has to be fixed.

Attached please find a patch; I committed it to autoconf, but I cannot
commit it to bison.
(Are there other places where the code was copied to?)

Have a nice day,
        Stepan
2005-08-12  Stepan Kasal  <[EMAIL PROTECTED]>

        * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
          add "2>&1"; gzip 1.2.4 prints help on stderr.

Index: Makefile.maint
===================================================================
RCS file: /cvsroot/autoconf/autoconf/Makefile.maint,v
retrieving revision 1.30
diff -u -r1.30 Makefile.maint
--- Makefile.maint      25 Jul 2005 18:58:23 -0000      1.30
+++ Makefile.maint      12 Aug 2005 11:24:14 -0000
@@ -27,7 +27,7 @@
 # Use --rsyncable if available.
 GZIP_ENV = \
   "--no-name --best$$( \
-    case $$(gzip --help) in \
+    case $$(gzip --help 2>&1) in \
     (*--rsyncable*) echo ' --rsyncable';; \
     esac \
   )"

Reply via email to