]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
tests: avoid distcheck failure with --disable-ltdl-install.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 18 Sep 2010 08:19:38 +0000 (10:19 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 18 Sep 2010 08:21:38 +0000 (10:21 +0200)
* tests/ltdl-libdir.at (libdir of installed modules): Skip if
$LIBLTDL does not exist.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/ltdl-libdir.at

index d72d9e0645370c75916ea97f9a582548e2259752..fd8bb495dfe2fba827569d2153140e039d514703 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       tests: avoid distcheck failure with --disable-ltdl-install.
+       * tests/ltdl-libdir.at (libdir of installed modules): Skip if
+       $LIBLTDL does not exist.
+
 2010-09-17  Peter Rosin  <peda@lysator.liu.se>
 
        tests: actually detect missing 'test' in 'if "$foo" = ...'.
index 7065c5bcdb38a0a1105acd66d4029cb383e8439d..01c9e706c5157eeb69e0435cbb1af33c4985be2a 100644 (file)
@@ -93,6 +93,9 @@ main (int argc, const char *argv[])
 : ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
 : ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
 
+# Skip installcheck if --disable-ltdl-install was used.
+AT_CHECK([test -f "$LIBLTDL" || exit 77])
+
 CPPFLAGS="$LTDLINCL $CPPFLAGS"
 LDFLAGS="$LDFLAGS -no-undefined"