* tests/testsuite.at (host_os): Pull from `libtool --config'.

* tests/stresstest.at [ cygwin, mingw, pw32 ]: Use it to fix
setting of `-no-undefined'.
This commit is contained in:
Peter Ekberg 2005-09-12 12:48:38 +00:00 committed by Ralf Wildenhues
parent d0963c53c2
commit ff60e2f202
3 changed files with 9 additions and 2 deletions

View File

@ -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)

View 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

View 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])