* tests/stresstest.at [ cygwin, mingw, pw32 ]: Use it to fix
setting of `-no-undefined'.
+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)
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
: ${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])