This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  efe1cfec710dbd06987fed02ec4d70d5c6630322 (commit)
      from  f578833bb8bd54092ce74f48ab07a26fdad28727 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit efe1cfec710dbd06987fed02ec4d70d5c6630322
Author: Ralf Wildenhues <[email protected]>
Date:   Sun Jun 7 16:35:11 2009 +0200

    Fix testsuite failure of lt_dlopenadvise test on FreeMiNT.
    
    * tests/lt_dladvise.at (lt_dlopenadvise library loading): Do not
    build moddepend for systems without shared libraries.
    Report by Alan Hourihane.
    
    Signed-off-by: Ralf Wildenhues <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog            |    5 +++++
 tests/lt_dladvise.at |    9 ++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e83a2fa..596abea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-06-07  Ralf Wildenhues  <[email protected]>
 
+       Fix testsuite failure of lt_dlopenadvise test on FreeMiNT.
+       * tests/lt_dladvise.at (lt_dlopenadvise library loading): Do not
+       build moddepend for systems without shared libraries.
+       Report by Alan Hourihane.
+
        testsuite: avoid failures due to old Automake.
        * tests/configure-iface.at (installable libltdl)
        (--with-ltdl-include/lib, --with-included-ltdl):
diff --git a/tests/lt_dladvise.at b/tests/lt_dladvise.at
index 3bf9bee..cdbe91d 100644
--- a/tests/lt_dladvise.at
+++ b/tests/lt_dladvise.at
@@ -1,6 +1,6 @@
 # lt_dladvise.at -- test libltdl functionality                -*- Autotest -*-
 #
-#   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2007
 #
 #   This file is part of GNU Libtool.
@@ -318,8 +318,11 @@ dlpreloadable='preload'
 # are reporting not able to accept the global hint to lt_dlopenadvise().    #
 # ------------------------------------------------------------------------- #
 
-case $host_os in
-cygwin* | mingw* | cegcc*)
+have_shared=false
+$LIBTOOL --features | grep 'enable shared libraries' >/dev/null && 
have_shared=:
+
+case $host_os,$have_shared in
+cygwin* | mingw* | cegcc* | *,false)
   # These hosts do not support linking without -no-undefined
   CPPFLAGS="$CPPFLAGS -DHAVE_UNDEFINED_SYMBOLS=0"
   ;;


hooks/post-receive
-- 
GNU Libtool


Reply via email to