]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/defs (func_configure): cdemo, demo and mdemo are shows
authorGary V. Vaughan <gary@gnu.org>
Mon, 24 Nov 2003 15:26:56 +0000 (15:26 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 24 Nov 2003 15:26:56 +0000 (15:26 +0000)
signs of indeterminacy for some users.  Be more verbose during
failure to help track down the cause.

ChangeLog
tests/defs

index 3779eab3e1b0b0d74114cb89b27a27bf3ab908a9..ba2263fe7475dd179de280d6294437c9502bf5f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-11-24  Gary V. Vaughan  <gary@gnu.org>
+
+       * 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  <peter@pogma.com>
 
        * 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  <gary@gnu.org>
 
        * configure.ac (LASTRELEASE): Calculate it as best as we can from
index 3ad5d6c8cc5d686f148dea4a9d390accb1bc6b9e..8de9c3acc7b1d1e237bbc6d7e9d0f9df9b1a8ded 100644 (file)
@@ -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