From f78e97c5b789557c389bee039f2fd3c18616f25f Mon Sep 17 00:00:00 2001 From: dan Date: Tue, 27 Mar 2001 03:42:00 -0800 Subject: [PATCH] [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. --- Makefile.in | 7 ++++++- configure.in | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 724a5226..3756681a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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) $@ diff --git a/configure.in b/configure.in index 92728ce9..a0512da2 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.39.2