libtool-patches
[Top][All Lists]
Advanced

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

FYI: 354-gary-skip-installed-ltdl-tests-with-distcheck.patch


From: Gary V. Vaughan
Subject: FYI: 354-gary-skip-installed-ltdl-tests-with-distcheck.patch
Date: Sat, 1 Mar 2008 17:44:01 -0500 (EST)
User-agent: mailnotify/0.9

Applied to HEAD as obvious.

Just a little cornercase tweak to help distcheck complete...

  Index: ChangeLog
  from  Gary V. Vaughan <address@hidden>
  
        * 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.
  
  Index: tests/lt_dladvise.at
  ===================================================================
  RCS file: /sources/libtool/libtool/tests/lt_dladvise.at,v
  retrieving revision 1.4
  diff -u -u -r1.4 lt_dladvise.at
  --- tests/lt_dladvise.at 12 Jan 2008 14:07:02 -0000 1.4
  +++ tests/lt_dladvise.at 1 Mar 2008 22:41:21 -0000
  @@ -267,6 +267,12 @@
   : ${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: tests/lt_dlexit.at
  ===================================================================
  RCS file: /sources/libtool/libtool/tests/lt_dlexit.at,v
  retrieving revision 1.9
  diff -u -u -r1.9 lt_dlexit.at
  --- tests/lt_dlexit.at 12 Jan 2008 14:07:02 -0000 1.9
  +++ tests/lt_dlexit.at 1 Mar 2008 22:41:21 -0000
  @@ -116,9 +116,16 @@
   #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: tests/need_lib_prefix.at
  ===================================================================
  RCS file: /sources/libtool/libtool/tests/need_lib_prefix.at,v
  retrieving revision 1.2
  diff -u -u -r1.2 need_lib_prefix.at
  --- tests/need_lib_prefix.at 12 Jan 2008 11:25:03 -0000 1.2
  +++ tests/need_lib_prefix.at 1 Mar 2008 22:41:21 -0000
  @@ -139,6 +139,12 @@
   : ${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"
   
-- 
  ())_.              Email me: address@hidden
  ( '/           Read my blog: http://blog.azazil.net
  / )=         ...and my book: http://sources.redhat.com/autobook
`(_~)_ 
_________________________________________________________
This patch notification generated by vcsapply version 1.0
http://savannah.gnu.org/projects/cvs-utils

Attachment: pgpG2l5f8frMA.pgp
Description: PGP signature


reply via email to

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