2003-11-17 Gary V. Vaughan <gary@gnu.org>
+ * m4/libtool.m4 (AC_LIBTOOL_SETUP): Uncomment call to
+ _LT_CONFIG_COMMANDS.
+ (_LT_AC_TAG_CONFIG, AC_LIBTOOL_CONFIG): Accumulate tag generation
+ for `config.status' using _LT_CONFIG_SAVE_COMMANDS. Remove
+ AC_MSG_NOTICE noise now that libtool is generated by a single
+ config.status tag.
+ * Makefile.am (libtool): Specify CONFIG_COMMANDS properly now that
+ libtool is generated in one pass.
+
* configure.ac (CONF_SUBDIRS): Make these relative to
tests/Makefile.am.
(DIST_MAKEFILE_LIST): Adjust to compensate for having removed the
config_status = $(top_builddir)/config.status
libtool: config/ltmain.sh $(top_builddir)/configure
- CONFIG_FILES= CONFIG_HEADERS= $(SHELL) $(config_status)
+ CONFIG_FILES= CONFIG_HEADERS= CONFIG_COMMANDS=$@ $(SHELL) $(config_status)
chmod +x $@
libtoolize: $(srcdir)/libtoolize.in $(top_builddir)/config.status
# Use C for the default configuration in the libtool script
AC_LIBTOOL_LANG_C_CONFIG
_LT_AC_TAG_CONFIG
-dnl _LT_CONFIG_COMMANDS
+_LT_CONFIG_COMMANDS
])# AC_LIBTOOL_SETUP
# -------------------
# Send accumulated output to $CONFIG_STATUS.
m4_define([_LT_CONFIG_COMMANDS],
-[AC_CONFIG_COMMANDS([libtool-bogus],
- [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_INIT])
+[AC_CONFIG_COMMANDS([libtool],
+ [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_INIT])
])
m4_exit(1)])
])
- AC_CONFIG_COMMANDS([libtool-tags], [
+ _LT_CONFIG_SAVE_COMMANDS([
_LT_PROG_LTMAIN
if test -f "$ltmain"; then
if test ! -f "${ofile}"; then
# add code to config.status for appending the configuration named by
# TAGNAME from the matching tagged config vars.
m4_define([AC_LIBTOOL_CONFIG],
-[AC_CONFIG_COMMANDS([libtool]$1, [
+[_LT_CONFIG_SAVE_COMMANDS([
# See if we are running on zsh, and set the options which allow our
# commands through without removal of \ escapes.
if test -n "${ZSH_VERSION+set}" ; then
m4_if([$1], [],
[cfgfile="${ofile}T"
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
- $rm -f "$cfgfile"
- AC_MSG_NOTICE([creating $ofile])],
- [cfgfile="$ofile"
- AC_MSG_NOTICE([appending configuration tag `$1' to $ofile])
- ])
+ $rm -f "$cfgfile"],
+ [cfgfile="$ofile"]
+ )
cat <<_LT_EOF >> "$cfgfile"
m4_if([$1], [],