From b59009b28fe23afa33c9ad127b7004396758b9bb Mon Sep 17 00:00:00 2001 From: Michael Haubenwallner Date: Tue, 28 Oct 2008 20:47:44 +0100 Subject: [PATCH] Fix checks for unsupported allow_undefined_flag. * tests/tagdemo-undef.test: Match allow_undefined_flag correctly, for SKIPping. * tests/cdemo-undef.test: Likewise. Signed-off-by: Ralf Wildenhues --- ChangeLog | 7 +++++++ tests/cdemo-undef.test | 4 ++-- tests/tagdemo-undef.test | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1f4598663..38abe8002 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-10-28 Michael Haubenwallner (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 * tests/testsuite.at (_LTDL_PROJECT_FILES): Fix dependencies for diff --git a/tests/cdemo-undef.test b/tests/cdemo-undef.test index f38da0d9e..7d5cd9bf4 100755 --- a/tests/cdemo-undef.test +++ b/tests/cdemo-undef.test @@ -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 diff --git a/tests/tagdemo-undef.test b/tests/tagdemo-undef.test index e67e4cc3d..e1f966dbb 100755 --- a/tests/tagdemo-undef.test +++ b/tests/tagdemo-undef.test @@ -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 -- 2.47.3