From: Ralf Wildenhues Date: Tue, 11 Oct 2005 06:23:29 +0000 (+0000) Subject: * tests/stresstest.at: Use `allow_undefined_flag' instead of X-Git-Tag: release-2-1b~465 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8b1c9b919024bd29abce6c0eefa5755d01afd1aa;p=thirdparty%2Flibtool.git * tests/stresstest.at: Use `allow_undefined_flag' instead of host_os setting. --- diff --git a/ChangeLog b/ChangeLog index e7252eff2..e491b92e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-11 Ralf Wildenhues + + * tests/stresstest.at: Use `allow_undefined_flag' instead of + host_os setting. + 2005-10-10 Gary V. Vaughan * libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Remove bogus extra diff --git a/tests/stresstest.at b/tests/stresstest.at index 5491b45f6..b3c8fbbf0 100644 --- a/tests/stresstest.at +++ b/tests/stresstest.at @@ -23,7 +23,7 @@ AT_BANNER([Libtool stress test.]) AT_SETUP([Link option thorough search test]) -eval `$LIBTOOL --config | $EGREP '^(CC|objdir)='` +eval `$LIBTOOL --config | $EGREP '^(CC|objdir|allow_undefined_flag)='` mkdir sub sub2 sub3 2>/dev/null @@ -170,11 +170,9 @@ AT_CHECK([$LIBTOOL --mode=compile $CC $CFLAGS -c b.c -o sub/b.lo],[0],[ignore],[ AT_CHECK([$LIBTOOL --mode=compile $CC $CFLAGS -c main.c],[0],[ignore],[ignore]) AT_CHECK([$LIBTOOL --mode=compile $CC $CFLAGS -c dlself.c -o sub3/dlself.lo],[0],[ignore],[ignore]) -case $host_os in - aix3* | beos* | cygwin* | mingw* | os2* | pw32*) - undef_opts=-no-undefined ;; - *) - undef_opts='"" -no-undefined' ;; +case $allow_undefined_flag in + unsupported) undef_opts=-no-undefined ;; + *) undef_opts='"" -no-undefined' ;; esac for l1 in $undef_opts