Define GNU_PACKAGE here.
authorJim Meyering <jim@meyering.net>
Mon, 29 Mar 1999 04:39:50 +0000 (04:39 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 29 Mar 1999 04:39:50 +0000 (04:39 +0000)
Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
replaced e.g., in the *.sh files of the sh-utils.

m4/jm-macros.m4

index 45cd4db..1d2caac 100644 (file)
@@ -1,4 +1,4 @@
-#serial 6
+#serial 7
 
 dnl Misc type-related macros for fileutils, sh-utils, textutils.
 
@@ -6,6 +6,11 @@ AC_DEFUN(jm_MACROS,
 [
   AC_PREREQ(2.13)               dnl Minimum Autoconf version required.
 
+  GNU_PACKAGE="GNU $PACKAGE"
+  AC_DEFINE_UNQUOTED(GNU_PACKAGE, "$GNU_PACKAGE",
+    [The concatenation of the strings \`GNU ', and PACKAGE.])
+  AC_SUBST(GNU_PACKAGE)
+
   dnl This macro actually runs replacement code.  See isc-posix.m4.
   AC_REQUIRE([AC_ISC_POSIX])dnl