]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/testsuite.at (host_os): Pull from `libtool --config'.
authorPeter Ekberg <peda@axentia.se>
Mon, 12 Sep 2005 12:48:38 +0000 (12:48 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 12 Sep 2005 12:48:38 +0000 (12:48 +0000)
* tests/stresstest.at [ cygwin, mingw, pw32 ]: Use it to fix
setting of `-no-undefined'.

ChangeLog
tests/stresstest.at
tests/testsuite.at

index 98e97ee485de89e27eebd1f7bfbe78d0d4afce1c..2bc3a57338fac5fed15620e8b0312465554bd93c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-09-12  Peter Ekberg  <peda@axentia.se>,
+           Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * tests/testsuite.at (host_os): Pull from `libtool --config'.
+       * tests/stresstest.at [ cygwin, mingw, pw32 ]: Use it to fix
+       setting of `-no-undefined'.
+
 2005-09-12  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
        * libltdl/m4/ltdl.m4 (LT_WITH_LTDL, LTDL_CONVENIENCE)
index 1f999699276df82eac458498c6bd5abb12d8b252..82b9ebc115667599f3c7b07627d53a661624b93b 100644 (file)
@@ -170,7 +170,7 @@ 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 in
+case $host_os in
   cygwin* | mingw* | pw32*) undef_opts=-no-undefined ;;
   *)                        undef_opts='"" -no-undefined' ;;
 esac
index eea0ee3a259d295e524ae807c80a91e608ab7372..bcdeed60b93a358a00be2820fb2a311ed1300a09 100644 (file)
@@ -25,7 +25,7 @@ m4_divert_push([PREPARE_TESTS])dnl
 : ${AUTOCONF=autoconf}
 export LIBTOOLIZE LIBTOOL ACLOCAL AUTOCONF
 eval `$LIBTOOL --config | grep ^EGREP=`
-eval `$LIBTOOL --config | $EGREP '(host|build)='`
+eval `$LIBTOOL --config | $EGREP '^(host|host_os|build)='`
 m4_divert_pop([PREPARE_TESTS])dnl
 
 # LT_AT_LIBTOOLIZE([ARGS])