From: Gary V. Vaughan Date: Tue, 8 Jan 2008 06:48:49 +0000 (+0000) Subject: * tests/configure-iface.at: Build libltdl in a subdir so that X-Git-Tag: release-2-1b~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b1af199292dd88e7dacf46dba9a4beab83ab5ee;p=thirdparty%2Flibtool.git * tests/configure-iface.at: Build libltdl in a subdir so that it can be easily removed without trying to remove config.log on windows (which can't delete a file until it is closed). --- diff --git a/ChangeLog b/ChangeLog index 016e1c7e6..0fb026aca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-01-08 Gary V. Vaughan + * tests/configure-iface.at: Build libltdl in a subdir so that + it can be easily removed without trying to remove config.log + on windows (which can't delete a file until it is closed). + * libltdl/m4/ltdl.m4 (LTDL_INSTALLABLE): Use _LT_BUILD_PREFIX instead of ${top_builddir} for Autoconf-2.62. Reported by Ralf Wildenhues diff --git a/tests/configure-iface.at b/tests/configure-iface.at index 42f1eb7c3..72479bdb9 100644 --- a/tests/configure-iface.at +++ b/tests/configure-iface.at @@ -157,14 +157,15 @@ AT_KEYWORDS([libltdl]) # Install libltdl prefix=`pwd`/_inst -LT_AT_LIBTOOLIZE([--copy --ltdl=.]) +LT_AT_LIBTOOLIZE([--copy --ltdl=ltdl]) + +(cd ltdl LT_AT_CONFIGURE([--enable-ltdl-install --prefix=$prefix]) LT_AT_MAKE([all install]) +) # Remove build files -for x in .* *; do - test $x == _inst || rm -rf $x -done +rm -rf ltdl/ AT_CHECK([test -f $prefix/lib/libltdl.la]) AT_CHECK([test -f $prefix/include/ltdl.h])