mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[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:
parent
f486b43c23
commit
f78e97c5b7
@ -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) $@
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user