]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/lt_dladvise.at, tests/lt_dlexit.at,
authorGary V. Vaughan <gary@gnu.org>
Sat, 1 Mar 2008 22:43:04 +0000 (22:43 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sat, 1 Mar 2008 22:43:04 +0000 (22:43 +0000)
tests/need_lib_prefix.at: Skip these tests when called from
`make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install'.
The tests try to link against the dummy installed libltdl.la
from .../_inst/lib/libltdl.la, which does not exist when
configured with --disable-ltdl-install.

ChangeLog
tests/lt_dladvise.at
tests/lt_dlexit.at
tests/need_lib_prefix.at

index d2c70afeb3de107a904901640f5ccf0f6537188c..187aaa6f7ce51772b3df20a0104a51ff500de2be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-03-01  Gary V. Vaughan <gary@gnu.org>
+
+       * tests/lt_dladvise.at, tests/lt_dlexit.at,
+       tests/need_lib_prefix.at: Skip these tests when called from
+       `make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install'.
+       The tests try to link against the dummy installed libltdl.la
+       from .../_inst/lib/libltdl.la, which does not exist when
+       configured with --disable-ltdl-install.
+
 2008-02-29  Gary V. Vaughan  <gary@gnu.org>
 
        * libltdl/m4/argz.m4 (AC_CHECK_FUNCS): Also use our replacement
index 5c50d067440aaa0db43d89583e3a0ff8306f3375..6c41a29763543296a9a2a98df3264d582f7dcbb2 100644 (file)
@@ -267,6 +267,12 @@ depend: 5
 : ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
 : ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
 
+# Skip this test when called from:
+#    make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install
+AT_CHECK([case $LIBLTDL in #(
+ */_inst/lib/*) test -f $LIBLTDL || (exit 77) ;;
+esac], [], [ignore])
+
 CPPFLAGS="$LTDLINCL $CPPFLAGS"
 
 dlopenable='resident local global'
index fe0f5c841563254326ed67822510bb31be5ee55e..667ca79624ad925f20b386ddac01ae3e2bc5bf78 100644 (file)
@@ -116,9 +116,16 @@ int vb1 = 3;
 #endif
 ]])
 
+
 : ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
 : ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
 
+# Skip this test when called from:
+#    make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install
+AT_CHECK([case $LIBLTDL in #(
+ */_inst/lib/*) test -f $LIBLTDL || (exit 77) ;;
+esac], [], [ignore])
+
 CPPFLAGS="$LTDLINCL $CPPFLAGS"
 LDFLAGS="$LDFLAGS -no-undefined"
 
index a712813a801c51b99a22bc3fee715a6def462ac4..d1f5dc6861a1f67336b3503e81aa107f1197a1c1 100644 (file)
@@ -139,6 +139,12 @@ libfoo2: 3
 : ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
 : ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
 
+# Skip this test when called from:
+#    make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install
+AT_CHECK([case $LIBLTDL in #(
+ */_inst/lib/*) test -f $LIBLTDL || (exit 77) ;;
+esac], [], [ignore])
+
 CPPFLAGS="$LTDLINCL $CPPFLAGS"
 LDFLAGS="$LDFLAGS"