[svn] * configure.in: Noticed in libtool documentation that we should have

"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.
This commit is contained in:
dan 2001-03-27 03:42:00 -08:00
parent f486b43c23
commit f78e97c5b7
2 changed files with 8 additions and 2 deletions

View File

@ -56,6 +56,7 @@ LDFLAGS = @LDFLAGS@
#
DISTNAME = wget-@VERSION@
LIBTOOL_DEPS = @LIBTOOL_DEPS@
RM = rm -f
# These are used for maintenance only, so they are safe without
@ -74,7 +75,7 @@ infodir='$(infodir)' mandir='$(mandir)' manext='$(manext)'
SUBDIRS = src doc po util windows
# default target
all: src/config.h Makefile $(SUBDIRS)
all: libtool src/config.h Makefile $(SUBDIRS)
check: all
@ -97,6 +98,10 @@ install.info uninstall.info install.man uninstall.man install.wgetrc:
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) $@

View File

@ -84,9 +84,10 @@ dnl
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