]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fix checks for unsupported allow_undefined_flag.
authorMichael Haubenwallner <michael.haubenwallner@salomon.at>
Tue, 28 Oct 2008 19:47:44 +0000 (20:47 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 28 Oct 2008 19:47:44 +0000 (20:47 +0100)
* tests/tagdemo-undef.test: Match allow_undefined_flag
correctly, for SKIPping.
* tests/cdemo-undef.test: Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/cdemo-undef.test
tests/tagdemo-undef.test

index 1f45986638ad78b7821e458b2588bda5afc23fbe..38abe80027e31f5d2391ba3c196f9f80bbedeaa8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-10-28  Michael Haubenwallner  <michael.haubenwallner@salomon.at> (tiny change)
+
+       Fix checks for unsupported allow_undefined_flag.
+       * tests/tagdemo-undef.test: Match allow_undefined_flag
+       correctly, for SKIPping.
+       * tests/cdemo-undef.test: Likewise.
+
 2008-10-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * tests/testsuite.at (_LTDL_PROJECT_FILES): Fix dependencies for
index f38da0d9e764f1b6030ca83c3ae0add820bf2bc7..7d5cd9bf48aa43043fe833d0c89fcb2d4eda307b 100755 (executable)
@@ -1,7 +1,7 @@
 #! /bin/sh
 # cdemo-undef - test generating shared libraries with undefined symbols
 #
-#   Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+#   Copyright (C) 2003, 2004, 2008 Free Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2003
 #
 #   This file is part of GNU Libtool.
@@ -30,7 +30,7 @@ func_cd "tests/cdemo"
 func_make_distclean
 func_configure "--disable-static"
 
-grep '^allow_undefined=.?unsupported.?$' ./libtool >/dev/null 2>&1 \
+grep '^allow_undefined_flag=.\{0,1\}unsupported.\{0,1\}$' ./libtool >/dev/null 2>&1 \
     && func_skip "$host doesn't support undefined symbols in shared libs"
 
 if test -f ./libtool; then
index e67e4cc3d9e6a17a8028539c015ea7f87c4d9d5c..e1f966dbbb0ef4a1992e65f6e704d6b6d8db224f 100755 (executable)
@@ -1,7 +1,7 @@
 #! /bin/sh
 # tagdemo-undef - test generating shared libraries with undefined symbols
 #
-#   Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+#   Copyright (C) 2003, 2004, 2008 Free Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2003
 #
 #   This file is part of GNU Libtool.
@@ -31,7 +31,7 @@ func_cd "tests/tagdemo"
 func_make_distclean
 func_configure "--disable-static"
 
-grep '^allow_undefined=.?unsupported.?$' ./libtool >/dev/null 2>&1 \
+grep '^allow_undefined_flag=.\{0,1\}unsupported.\{0,1\}$' ./libtool >/dev/null 2>&1 \
     && func_skip "$host doesn't support undefined symbols in shared libs"
 
 if test -f ./libtool; then