summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-03-29 04:39:50 +0000
committerJim Meyering <jim@meyering.net>1999-03-29 04:39:50 +0000
commitbad53b08e60abedc63c8901f9f9636030753fb3b (patch)
treeec80508fe2f3345e1927a2205c1095132a547e9b /m4
parent1682163674b53e878e1fc21de5653b8dbf9f1207 (diff)
downloadcoreutils-bad53b08e60abedc63c8901f9f9636030753fb3b.tar.xz
Define GNU_PACKAGE here.
Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is replaced e.g., in the *.sh files of the sh-utils.
Diffstat (limited to 'm4')
-rw-r--r--m4/jm-macros.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 45cd4db72..1d2caac9e 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -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