From: Robert Boehne Date: Tue, 25 Feb 2003 00:30:28 +0000 (+0000) Subject: * libltdl/configure.ac: Use AC_CONFIG_AUX_DIR([.]) to place X-Git-Tag: release-1-5~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65c07ebba9f44220f199ff983b170657d8f1d100;p=thirdparty%2Flibtool.git * libltdl/configure.ac: Use AC_CONFIG_AUX_DIR([.]) to place auxilary files in the libltdl directory. * Makefile.am: Add to the ltmain.sh rule to copy it into the libltdl subdirectory. * bootstrap: Explicitly handle ltmain.sh in libltdl, and pass --copy to automake. --- diff --git a/ChangeLog b/ChangeLog index 505209427..aa617de7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2003-02-24 Robert Boehne + + * libltdl/configure.ac: Use AC_CONFIG_AUX_DIR([.]) to place + auxilary files in the libltdl directory. + * Makefile.am: Add to the ltmain.sh rule to copy it into the + libltdl subdirectory. + * bootstrap: Explicitly handle ltmain.sh in libltdl, and pass + --copy to automake. + 2003-02-24 Ralph Schleicher * libtool.m4 (AC_LIBTOOL_SETUP): Check for ar. diff --git a/Makefile.am b/Makefile.am index 62a5a47c1..5f74d9c7d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,6 +45,7 @@ $(srcdir)/ltmain.sh: $(srcdir)/ltmain.in $(TSDEPS) -e "s%@""TIMESTAMP@%$$date%" $(srcdir)/ltmain.in > ltmain.shT mv -f ltmain.shT $@ || \ (rm -f $@ && cp ltmain.shT $@ && rm -f ltmain.shT) + cp $@ $(srcdir)/libltdl/ # TSDEPS will be defined to TSDEPS_DIST at `make dist' time TSDEPS = diff --git a/bootstrap b/bootstrap index 18f675f1f..7070a9f1c 100755 --- a/bootstrap +++ b/bootstrap @@ -13,6 +13,7 @@ find . \( -name autom4te.cache -o -name libtool \) -exec rm -r {} \; # fake the libtool scripts touch ltmain.sh touch libtoolize +(cd libltdl && touch ltmain.sh) for sub in . libltdl cdemo demo depdemo mdemo pdemo tagdemo f77demo; do case $sub in @@ -24,7 +25,7 @@ for sub in . libltdl cdemo demo depdemo mdemo pdemo tagdemo f77demo; do libltdl) top_srcdir=.. acfiles="$top_srcdir/libtool.m4 $top_srcdir/ltdl.m4" - AUTOMAKE_FLAGS="--gnits --add-missing" + AUTOMAKE_FLAGS="--gnits --add-missing --copy" ;; *) top_srcdir=.. @@ -46,6 +47,6 @@ for sub in . libltdl cdemo demo depdemo mdemo pdemo tagdemo f77demo; do cd $top_srcdir done -rm -f ltmain.sh libtoolize +rm -f ltmain.sh libtoolize libltdl/ltmain.sh exit 0 diff --git a/libltdl/configure.ac b/libltdl/configure.ac index 225883ee6..66ad0e5f2 100644 --- a/libltdl/configure.ac +++ b/libltdl/configure.ac @@ -32,12 +32,7 @@ AC_CONFIG_SRCDIR([ltdl.c]) ## Libltdl specific configuration. ## ## ------------------------------- ## -# We shouldn't be using these internal macros of autoconf, -# but CONFIG_AUX_DIR($with_auxdir) breaks automake. -AC_ARG_WITH([auxdir], - [AC_HELP_STRING([--with-auxdir=DIR], [path to autoconf auxiliary files])], - [AC_CONFIG_AUX_DIRS($with_auxdir)], - [AC_CONFIG_AUX_DIR_DEFAULT]) +AC_CONFIG_AUX_DIR([.]) if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then if test -f ${srcdir}/ltmain.sh; then