"AC_SUBST(LIBTOOL_DEPS)".
* Makefile.in: Made libtool depend on LIBTOOL_DEPS so if ltconfig
and/or ltmain.sh are updated, libtool will be regenerated.
#
DISTNAME = wget-@VERSION@
+LIBTOOL_DEPS = @LIBTOOL_DEPS@
RM = rm -f
# These are used for maintenance only, so they are safe without
SUBDIRS = src doc po util windows
# default target
-all: src/config.h Makefile $(SUBDIRS)
+all: libtool src/config.h Makefile $(SUBDIRS)
check: all
install.mo:
cd po && $(MAKE) $(MAKEDEFS) $@
+# Regenerate libtool if ltconfig and/or ltmain are updated
+libtool: $(LIBTOOL_DEPS)
+ $(SHELL) ./config.status --recheck
+
# create tag files for Emacs
TAGS:
cd src && $(MAKE) $@
AC_PROG_INSTALL
dnl
-dnl Configure our included libtool
+dnl Configure our included libtool and make sure it's regenerated when needed
dnl
AM_PROG_LIBTOOL
+AC_SUBST(LIBTOOL_DEPS)
dnl
dnl Find the compiler