From ff60e2f2029a1d336e16b3b72e1a2bbebc6ceb4e Mon Sep 17 00:00:00 2001 From: Peter Ekberg Date: Mon, 12 Sep 2005 12:48:38 +0000 Subject: [PATCH] * tests/testsuite.at (host_os): Pull from `libtool --config'. * tests/stresstest.at [ cygwin, mingw, pw32 ]: Use it to fix setting of `-no-undefined'. --- ChangeLog | 7 +++++++ tests/stresstest.at | 2 +- tests/testsuite.at | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 98e97ee4..2bc3a573 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-09-12 Peter Ekberg , + Ralf Wildenhues + + * 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 * libltdl/m4/ltdl.m4 (LT_WITH_LTDL, LTDL_CONVENIENCE) diff --git a/tests/stresstest.at b/tests/stresstest.at index 1f999699..82b9ebc1 100644 --- a/tests/stresstest.at +++ b/tests/stresstest.at @@ -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 diff --git a/tests/testsuite.at b/tests/testsuite.at index eea0ee3a..bcdeed60 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -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])