libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: 50-gary-report-test-config.patch


From: Gary V. Vaughan
Subject: FYI: 50-gary-report-test-config.patch
Date: Mon, 24 Nov 2003 15:59:47 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3

Applied to HEAD.

Chuck, if you still have indeterminacy problems after this patch (Since I still can't reproduce it, I'm hoping the new autoreconf step might generate a working configure for you), please send me the newly verbose output of a `VERBOSE=1 make check'. Hopefully, I'll have enough to go on at that point.

Cheers,
        Gary.
--
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://www.oranda.demon.co.uk
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
Index: ChangeLog
from  Gary V. Vaughan  <address@hidden>

        * 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.


        $Revision: 1.1343 $ $Date: 2003/11/24 15:26:54 $
Index: tests/defs
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/defs,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -u -r1.7 -r1.8
--- tests/defs 14 Oct 2003 21:46:12 -0000 1.7
+++ tests/defs 24 Nov 2003 15:26:56 -0000 1.8
@@ -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

Attachment: pgp9skt5syK4I.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]