From c2b6ce4412f7dc1ac768819d350084a07b4ac2e6 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Mon, 24 Nov 2003 15:26:56 +0000 Subject: [PATCH] * tests/defs (func_configure): cdemo, demo and mdemo are shows signs of indeterminacy for some users. Be more verbose during failure to help track down the cause. --- ChangeLog | 8 +++++++- tests/defs | 15 ++++++++++++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3779eab3e..ba2263fe7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-11-24 Gary V. Vaughan + + * tests/defs (func_configure): cdemo, demo and mdemo are shows + signs of indeterminacy for some users. Be more verbose during + failure to help track down the cause. + 2003-11-22 Peter O'Gorman * ltmain.in: Check for module_cmds if max_cmd_len is exceeded too. @@ -7,7 +13,7 @@ * tests/demo-hardcode.test: Call ./libtool not libtool. * ltmain.in: Test $old_striplib before using it, not $striplib. - + 2003-11-22 Gary V. Vaughan * configure.ac (LASTRELEASE): Calculate it as best as we can from diff --git a/tests/defs b/tests/defs index 3ad5d6c8c..8de9c3acc 100644 --- a/tests/defs +++ b/tests/defs @@ -191,11 +191,20 @@ func_configure () my_testdir="$srcdir/$my_dir" test -n "$my_args" && my_args=" $my_args" - func_msg "Configuring in $my_dir (--prefix=$prefix$my_args)" - my_args="--srcdir="\""$my_testdir"\"" --prefix="\""$prefix"\""$my_args" - eval $SHELL "$my_testdir/configure" $my_args || exit $EXIT_FAILURE + func_msg "Configuring in $my_dir" + + test -f "$my_testdir/configure" || autoreconf --force --install $my_testdir + test -f "$my_testdir/configure" || exit $EXIT_FAILURE + + eval func_msg $SHELL "$my_testdir/configure" $my_args + eval $SHELL "$my_testdir/configure" $my_args || \ + { func_msg "FAILED: Configuring in $my_testdir" + ls -ltr $my_testdir + eval $SHELL -vx "$my_testdir/configure" $my_args; + exit $EXIT_FAILURE; + } } # func_check_static_shared staticp sharedp -- 2.47.2