libtool-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Libtool branch, master, updated. v2.4-6-g3a9fabb


From: Peter Rosin
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-6-g3a9fabb
Date: Mon, 27 Sep 2010 11:46:47 +0000

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  3a9fabb61d02d29b74cdadbd0e74b5e89defd1c7 (commit)
      from  13608ea10fe98a7418d1392526cde4c1442f2511 (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 3a9fabb61d02d29b74cdadbd0e74b5e89defd1c7
Author: Peter Rosin <address@hidden>
Date:   Mon Sep 27 13:44:48 2010 +0200

    Skip need_lib_prefix.at on systems without lib prefix on libraries.
    
    * tests/need_lib_prefix.at [MSVC, OS/2]: Skip this test on
    systems that do not have libraries prefixed with lib.
    
    Signed-off-by: Peter Rosin <address@hidden>

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

Summary of changes:
 ChangeLog                |    4 ++++
 tests/need_lib_prefix.at |   14 +++++++++++++-
 2 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a486ac3..daa84fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-09-27  Peter Rosin  <address@hidden>
 
+       Skip need_lib_prefix.at on systems without lib prefix on libraries.
+       * tests/need_lib_prefix.at [MSVC, OS/2]: Skip this test on
+       systems that do not have libraries prefixed with lib.
+
        tests: clean up importing and exporting on w32.
        Makes the touched tests pass for MSVC when DLLs are built.
        * tests/demo/Makefile.am, tests/pdemo/Makefile.am: Define
diff --git a/tests/need_lib_prefix.at b/tests/need_lib_prefix.at
index f6cfcfb..ea36da3 100644
--- a/tests/need_lib_prefix.at
+++ b/tests/need_lib_prefix.at
@@ -1,6 +1,6 @@
 # need-lib-prefix.at -- test libltdl functionality            -*- Autotest -*-
 #
-#   Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2007, 2008, 2010 Free Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2007
 #
 #   This file is part of GNU Libtool.
@@ -25,6 +25,11 @@
 AT_SETUP([enforced lib prefix])
 AT_KEYWORDS([libltdl libtool])
 
+# Originally written to simulate a failure visible on systems
+# which need a library prefix like 'lib', such as BeOS.  Currently
+# the prefix is hardcoded as 'lib', so systems that require a
+# different prefix skips the test.
+
 AT_DATA([main.c],
 [[#include <ltdl.h>
 #include <stdio.h>
@@ -148,6 +153,13 @@ esac], [], [ignore])
 CPPFLAGS="$LTDLINCL $CPPFLAGS"
 LDFLAGS="$LDFLAGS"
 
+# Skip this test when libraries are not normally prefixed with lib.
+# E.g., for MSVC and OS/2.
+eval "`$LIBTOOL --config | $EGREP '^(libname_spec)='`"
+name=
+eval libname=\"$libname_spec\"
+AT_CHECK([test "$libname" = lib || exit 77])
+
 # Create our own libtool, forcing need_lib_prefix setting
 sed 's,^\(need_lib_prefix\)=.*$,\1=unknown,' $LIBTOOL > ./libtool
 LIBTOOL="$SHELL ./libtool"


hooks/post-receive
-- 
GNU Libtool



reply via email to

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