From: Ralf Wildenhues Date: Sat, 18 Sep 2010 08:19:38 +0000 (+0200) Subject: tests: avoid distcheck failure with --disable-ltdl-install. X-Git-Tag: v2.4~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e7350625f1236f6f0c31ba5a8f518671731b032;p=thirdparty%2Flibtool.git tests: avoid distcheck failure with --disable-ltdl-install. * tests/ltdl-libdir.at (libdir of installed modules): Skip if $LIBLTDL does not exist. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index d72d9e064..fd8bb495d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-09-18 Ralf Wildenhues + + 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 tests: actually detect missing 'test' in 'if "$foo" = ...'. diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at index 7065c5bcd..01c9e706c 100644 --- a/tests/ltdl-libdir.at +++ b/tests/ltdl-libdir.at @@ -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"