summaryrefslogtreecommitdiff
path: root/tests/ltdl-libdir.at
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-09-18 10:19:38 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-09-18 10:21:38 +0200
commit8e7350625f1236f6f0c31ba5a8f518671731b032 (patch)
treece339b8295663807a9ddfd316355c6f8d59543fc /tests/ltdl-libdir.at
parentbb8ae2a29a769877ec1b40155dfe53ad47228185 (diff)
downloadlibtool-8e7350625f1236f6f0c31ba5a8f518671731b032.tar.gz
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 <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests/ltdl-libdir.at')
-rw-r--r--tests/ltdl-libdir.at3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at
index 7065c5bc..01c9e706 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"