+2010-08-31 Gary V. Vaughan <gary@gnu.org>
+
+ Remove double `Generated from foo.m4sh' lines.
+ We now require a modern Autoconf to bootstrap libtool, which
+ will add the `Generated by ...' boiler-plate automatically,
+ so we can remove the hand-rolled @configure_input@
+ substitutions we had been doing:
+ * clcommit.m4sh, libtoolize.m4sh, tests/defs.sh,
+ libltdl/config/announce-gen.m4sh, libltdl/config/ltmain.m4sh,
+ libltdl/config/mailnotify.m4sh: Remove @configure_input@.
+ * Makefile.am (edit): Remove configure_input substitution.
+ (libtoolize, libltdl/config/ltmain.sh, libltdl/m4/ltversion.m4)
+ (tests/defs): Don't set `$input' shell variable.
+ * Makefile.maint (announce_gen, libltdl/config/mailnotify)
+ (commit): Likewise.
+
2010-08-31 Peter Rosin <peda@lysator.liu.se>
Extract the archive name from the .la file and use $AR (not ar).
libtoolize: $(srcdir)/libtoolize.in $(top_builddir)/config.status
rm -f libtoolize.tmp libtoolize
$(timestamp); \
- input="libtoolize.m4sh"; \
$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
-e 's,@aclocal_DATA\@,$(aclocalfiles),g' \
-e "s,@pkgltdl_files\@,$(ltdldatafiles),g" \
-e 's,@datadir\@,$(datadir),g' \
-e 's,@pkgdatadir\@,$(pkgdatadir),g' \
-e 's,@host_triplet\@,$(host_triplet),g' \
- -e 's,@prefix\@,$(prefix),g' \
- -e "s,@configure_input\@,Generated from $$input.,g"
+ -e 's,@prefix\@,$(prefix),g'
sh_files = $(auxdir)/general.m4sh $(auxdir)/getopt.m4sh
EXTRA_DIST += bootstrap $(srcdir)/libtoolize.in $(auxdir)/ltmain.m4sh \
cd $(srcdir); \
rm -f $(m4dir)/ltversion.tmp; \
serial=`echo "$$correctver" | sed 's,^1[.],,g'`; \
- input="ltversion.in"; \
echo $(edit) -e "s,@MACRO_REVISION\@,$$correctver,g" \
-e "s,@MACRO_SERIAL\@,$$serial,g" \
$(srcdir)/$(m4dir)/ltversion.in \> $(srcdir)/$(m4dir)/ltversion.m4; \
\> $(auxdir)/ltmain.in; \
$(M4SH) -B $(auxdir) $(auxdir)/ltmain.m4sh \
> $(auxdir)/ltmain.in; \
- input="ltmain.m4sh"; \
echo $(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
-e "s,@package_revision\@,$$correctver," \
$(srcdir)/$(auxdir)/ltmain.in "> $$target"; \
check-recursive: tests/defs
tests/defs: $(srcdir)/tests/defs.in
rm -f tests/defs.tmp tests/defs; \
- input="defs.m4sh"; \
$(edit) $(srcdir)/tests/defs.in > tests/defs.tmp; \
mv -f tests/defs.tmp tests/defs
cd $(srcdir); \
rm -f commit commit.in commit.tmp; \
$(M4SH) -B $(auxdir) clcommit.m4sh > commit.in; \
- input="clcommit.m4sh"; \
$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" commit.in > commit.tmp; \
chmod a+x commit.tmp; \
chmod a-w commit.tmp; \
$(timestamp); \
rm -f announce-gen announce-gen.in announce-gen.tmp; \
$(M4SH) -B $(top_srcdir)/$(auxdir) $(top_srcdir)/$(auxdir)/announce-gen.m4sh > announce-gen.in; \
- input="announce-gen.m4sh"; \
$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
-e "s,@LASTRELEASE\@,$(LASTRELEASE),g" \
-e "s,@top_srcdir\@,$(top_srcdir),g" \
cd $(srcdir)/$(auxdir); \
rm -f mailnotify mailnotify.in mailnotify.tmp; \
$(M4SH) -B . mailnotify.m4sh > mailnotify.in; \
- input="mailnotify.m4sh"; \
$(edit) -e "s,@TIMESTAMP\@,$$TIMESTAMP,g" \
mailnotify.in > mailnotify.tmp; \
chmod a+x mailnotify.tmp; \
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
-# @configure_input@
-
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
# clcommit (GNU @PACKAGE@) version 2.1
# Written by Gary V. Vaughan <gary@gnu.org>
# and Alexandre Oliva <aoliva@redhat.com>
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
-# @configure_input@
-
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
# announce-gen (GNU @PACKAGE@) version 1.0
# Written by Gary V. Vaughan
# based on a perl script by Jim Meyering
m4_define([_m4_divert(SCRIPT)], 100)
-m4_divert_push([SCRIPT])# @configure_input@
-
+m4_divert_push([SCRIPT])
# libtool (GNU @PACKAGE@@TIMESTAMP@) @VERSION@
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
-# @configure_input@
-
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
# mailnotify (GNU @PACKAGE@) version 1.0
# Written by Gary V. Vaughan <gary@gnu.org>
m4_pattern_allow([dnl])
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
-# @configure_input@
-
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
# libtoolize (GNU @PACKAGE@@TIMESTAMP@) @VERSION@
# Written by Gary V. Vaughan <gary@gnu.org>, 2003
-AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])dnl
-# @configure_input@
+AS_INIT[]m4_divert_push([HEADER-COPYRIGHT])
# defs -- Defines for Libtool testing environment.
#
# Copyright (C) 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free Software