From 1b1af199292dd88e7dacf46dba9a4beab83ab5ee Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Tue, 8 Jan 2008 06:48:49 +0000 Subject: [PATCH] * 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). --- ChangeLog | 4 ++++ tests/configure-iface.at | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) 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]) -- 2.47.3