+2010-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Print Libtool project URL in program --help output.
+ * configure.ac (AC_INIT): Set PACKAGE argument to `GNU Libtool',
+ so Autoconf knows this is GNU software. For Autoconf < 2.64,
+ if AC_PACKAGE_URL is not defined, substitute PACKAGE_URL.
+ * Makefile.am (edit): Substitute PACKAGE_URL.
+ ($(srcdir)/tests/package.m4): Also depend on Makefile.am.
+ Define AT_PACKAGE_URL, for `tests/testsuite --help' output.
+ * libltdl/config/getopt.m4sh (func_help): Also extract comment
+ lines that mention a home page and general GNU help.
+ * libltdl/config/ltmain.m4sh: Use @PACKAGE_BUGREPORT@ instead of
+ hard-coded list address. Also mention Libtool home page and
+ general GNU help web page.
+ * libtoolize.m4sh: Likewise.
+
2010-06-12 Peter Rosin <peda@lysator.liu.se>
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
-e 's,@MACRO_VERSION\@,$(VERSION),g' \
-e 's,@PACKAGE\@,$(PACKAGE),g' \
-e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
+ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' \
-e 's,@PACKAGE_NAME\@,$(PACKAGE),g' \
-e 's,@PACKAGE_STRING\@,$(PACKAGE) $(VERSION),g' \
-e 's,@PACKAGE_TARNAME\@,$(PACKAGE),g' \
$(AUTOTEST) `echo $(TESTSUITE_AT) | sed 's,tests/,,g'` -o testsuite.tmp && \
mv -f testsuite.tmp testsuite
-$(srcdir)/tests/package.m4: $(srcdir)/configure.ac
+$(srcdir)/tests/package.m4: $(srcdir)/configure.ac Makefile.am
{ \
echo '# Signature of the current package.'; \
echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])'; \
echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])'; \
echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])'; \
echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
+ echo 'm4_define([AT_PACKAGE_URL], [@PACKAGE_URL@])'; \
} | $(edit) > $(srcdir)/tests/package.m4
tests/atconfig: $(top_builddir)/config.status
# Process this file with autoconf to create configure. -*- autoconf -*-
-# Copyright (C) 2001, 2004, 2005, 2008 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2004, 2005, 2008, 2010 Free Software Foundation,
+# Inc.
# Written by Gary V. Vaughan, 2001
#
# This file is part of GNU Libtool.
## ------------------------ ##
## Autoconf initialisation. ##
## ------------------------ ##
-AC_INIT([libtool], [2.2.11a], [bug-libtool@gnu.org])
+AC_INIT([GNU Libtool], [2.2.11a], [bug-libtool@gnu.org])
+m4_ifndef([AC_PACKAGE_URL],
+ [AC_SUBST([PACKAGE_URL], [http://www.gnu.org/software/libtool/])])
AC_CONFIG_HEADERS([config.h:config-h.in])
AC_CONFIG_SRCDIR([libtoolize.in])
LT_CONFIG_LTDL_DIR([libltdl], [nonrecursive])
$opt_debug
$SED -n '/^# Usage:/,/# Report bugs to/ {
+ :print
s/^# //
s/^# *$//
s*\$progname*'$progname'*
s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
p
- }' < "$progpath"
+ d
+ }
+ /^# .* home page:/b print
+ /^# General help using/b print
+ ' < "$progpath"
ret=$?
if test -z "$1"; then
exit $ret
# automake: $automake_version
# autoconf: $autoconf_version
#
-# Report bugs to <bug-libtool@gnu.org>.
+# Report bugs to <@PACKAGE_BUGREPORT@>.
+# GNU @PACKAGE@ home page: <@PACKAGE_URL@>.
+# General help using GNU software: <http://www.gnu.org/gethelp/>.
PROGRAM=libtool
PACKAGE=@PACKAGE@
# automake: $automake_version
# autoconf: $autoconf_version
#
-# Report bugs to <bug-libtool@gnu.org>.
+# Report bugs to <@PACKAGE_BUGREPORT@>.
+# GNU @PACKAGE@ home page: <@PACKAGE_URL@>.
+# General help using GNU software: <http://www.gnu.org/gethelp/>.
: ${TAR=tar}