]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(case_GETOPT_VERSION_CHAR): Switch back to using GNU_PACKAGE (from
authorJim Meyering <jim@meyering.net>
Sat, 19 Jun 2004 09:23:52 +0000 (09:23 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 19 Jun 2004 09:23:52 +0000 (09:23 +0000)
PACKAGE) once again.  This restores `GNU' to the parenthesized package
name in --version output.  Before, the first argument from AC_INIT,
`GNU coreutils', would be propagated to the PACKAGE variable.  Now,
`GNU ' is trimmed.  Reported by Richard Stallman.

src/system.h

index ba25fddf038e6b54d7afefa66c5cfb2cbf3ef994..25c03786e7123ce362d1098ebe8cc2e29d2f5a8e 100644 (file)
@@ -620,7 +620,7 @@ enum
 
 #define case_GETOPT_VERSION_CHAR(Program_name, Authors)                        \
   case GETOPT_VERSION_CHAR:                                            \
-    version_etc (stdout, Program_name, PACKAGE, VERSION, Authors,      \
+    version_etc (stdout, Program_name, GNU_PACKAGE, VERSION, Authors,  \
                  (char *) NULL);                                       \
     exit (EXIT_SUCCESS);                                               \
     break;