]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Ensure $ac_aux_dir is initialized for LIBTOOL_DEPS.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 20 Nov 2008 06:18:38 +0000 (07:18 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 20 Nov 2008 06:18:38 +0000 (07:18 +0100)
* libltdl/m4/libtool.m4 (LT_INIT): Require
AC_CONFIG_AUX_DIR_DEFAULT.
* tests/old-m4-iface.at (AM_PROG_LIBTOOL): Amend test to
expose this.
Report, analysis, and test example by Jakub Bogusz.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
libltdl/m4/libtool.m4
tests/old-m4-iface.at

index 35ca37eccf849d69e57f0d7390536665940b8403..a9c3db469045950665d20d9b5e621664fc320965 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2008-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Ensure $ac_aux_dir is initialized for LIBTOOL_DEPS.
+       * libltdl/m4/libtool.m4 (LT_INIT): Require
+       AC_CONFIG_AUX_DIR_DEFAULT.
+       * tests/old-m4-iface.at (AM_PROG_LIBTOOL): Amend test to
+       expose this.
+       Report, analysis, and test example by Jakub Bogusz.
+
        Check for bogus aclocal.m4 contents in bootstrap and dist-hook.
        * Makefile.am (dist-hook): Bail out if shipped aclocal.m4 files
        contain LT_INIT, AC_PROG_LIBTOOL, or AM_PROG_LIBTOOL macro
index 763a4101b9328d2f9a35073e676fb0a1bb329a55..011b99c6e4a094c96530a75df703bb1bc7f57251 100644 (file)
@@ -66,6 +66,7 @@ esac
 # ------------------
 AC_DEFUN([LT_INIT],
 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
+AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
 AC_BEFORE([$0], [LT_LANG])dnl
 AC_BEFORE([$0], [LT_OUTPUT])dnl
 AC_BEFORE([$0], [LTDL_INIT])dnl
index 3365a2ae82ad69262cdcdf9c0d17c78e611d860d..1e374d4d91f3235d95dade59d364ef18041cfaa7 100644 (file)
@@ -42,6 +42,7 @@ AT_SETUP([AM_PROG_LIBTOOL])
 AT_DATA([configure.in],
 [[AC_INIT(old.c)
 AM_PROG_LIBTOOL
+AC_SUBST([LIBTOOL_DEPS])
 AC_OUTPUT(Makefile)
 ]])
 
@@ -49,8 +50,9 @@ AT_DATA([Makefile.in],
 [[COMPILE = @CC@ @CPPFLAGS@ @CFLAGS@
 LINK      = @CC@ @CFLAGS@ @LDFLAGS@ -o $@
 SHELL     = @SHELL@
+LIBTOOL_DEPS = @LIBTOOL_DEPS@
 
-all: old@EXEEXT@
+all: libtool old@EXEEXT@
 
 old@EXEEXT@: old.@OBJEXT@
        $(LINK) old.@OBJEXT@
@@ -60,6 +62,9 @@ old@EXEEXT@: old.@OBJEXT@
 
 .c.@OBJEXT@:
        $(COMPILE) -c $<
+
+libtool: $(LIBTOOL_DEPS)
+       $(SHELL) ./config.status --recheck
 ]])