]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/configure-iface.at: Build libltdl in a subdir so that
authorGary V. Vaughan <gary@gnu.org>
Tue, 8 Jan 2008 06:48:49 +0000 (06:48 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 8 Jan 2008 06:48:49 +0000 (06:48 +0000)
it can be easily removed without trying to remove config.log
on windows (which can't delete a file until it is closed).

ChangeLog
tests/configure-iface.at

index 016e1c7e6318366fd3e33a2d2b10645ef58397f5..0fb026acafdda253b031e216cef669ae0061dcbc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-01-08  Gary V. Vaughan  <gary@gnu.org>
 
+       * 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 <Ralf.Wildenhues@gmx.de>
index 42f1eb7c347d963698e78ffcd5662afc40906669..72479bdb90b7a67d7e1b8971d39a28509ed8138e 100644 (file)
@@ -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])