libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tests: avoid distcheck failure with --disable-ltdl-install.


From: Ralf Wildenhues
Subject: tests: avoid distcheck failure with --disable-ltdl-install.
Date: Sat, 18 Sep 2010 10:21:56 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

I've ran the various distcheck DISTCHECK_CONFIGURE_FLAGS=... tests
required for release on my system.  This is the only fixup I needed.

Pushed to master.

Cheers,
Ralf

    tests: avoid distcheck failure with --disable-ltdl-install.
    
    * tests/ltdl-libdir.at (libdir of installed modules): Skip if
    $LIBLTDL does not exist.

diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at
index 7065c5b..01c9e70 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"
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]