]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/stresstest.at: Use `allow_undefined_flag' instead of
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 11 Oct 2005 06:23:29 +0000 (06:23 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 11 Oct 2005 06:23:29 +0000 (06:23 +0000)
host_os setting.

ChangeLog
tests/stresstest.at

index e7252eff2b723eb127b56b1c4529ae1b408f056e..e491b92e568e3bac2a2300055e967dfa911554e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * tests/stresstest.at: Use `allow_undefined_flag' instead of
+       host_os setting.
+
 2005-10-10  Gary V. Vaughan  <gary@gnu.org>
 
        * libltdl/m4/ltdl.m4 (_LT_ENABLE_INSTALL): Remove bogus extra
index 5491b45f68d04235748659e7f2c439ad8bdd1a78..b3c8fbbf051f84ea597a884c44e70f66c7903cf8 100644 (file)
@@ -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