+2001-04-10 Lars J. Aas <larsa@sim.no>
+
+ * Makefile.am: AC_SUBST fixes for PACKAGE_NAME, VERSION, PACKAGE...
+ * configure.in: Moved here.
+ Suggested by Akim Demaille and Raja R Harinath.
+
2001-04-10 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Re-enable logging to
bin_SCRIPTS = autoconf autoheader autoreconf ifnames @PERLSCRIPTS@
EXTRA_SCRIPTS = autoscan autoupdate
-# FIXME: Current Automakes are blind and cannot see inner AC_SUBST,
-# so help it. This is because, in this case, 'aclocal' is bypassed.
-PACKAGE_NAME = @PACKAGE_NAME@
-VERSION = @VERSION@
-PACKAGE = @PACKAGE@
-
# FIXME:
# s/distpackageDATA/dist_pkgdata_DATA/
# s/nodistpackageDATA/nodist_pkgdata_DATA/
AC_SUBST(standards_texi, standards.texi)dnl
fi
+# Automake can't see inner AC_SUBSTS (`aclocal' is bypassed), so we tag the
+# AC_SUBSTS here too.
+AC_SUBST(PACKAGE_NAME)
+AC_SUBST(PACKAGE)
+AC_SUBST(VERSION)
+
AC_OUTPUT(Makefile m4/Makefile man/Makefile doc/Makefile
tests/Makefile tests/atconfig)