[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool-HEAD, 20051007, cygwin
From: |
Ralf Wildenhues |
Subject: |
Re: libtool-HEAD, 20051007, cygwin |
Date: |
Tue, 11 Oct 2005 21:51:08 +0200 |
User-agent: |
Mutt/1.5.9i |
Hi Charles,
* Charles Wilson wrote on Tue, Oct 11, 2005 at 04:06:14AM CEST:
> Ralf Wildenhues wrote:
>
> >Please post tests/testsuite.log containing the failures (packed?).
> >I cannot reproduce this on GNU/Linux (and you posting should be less
> >work than me trying to reproduce it on cygwin :)
>
> attached.
Gah, what a mess!
- tests/testsuite defines $srcdir if $at_top_srcdir is defined
(and quite a few other variables typically found in a Makefile),
- $at_top_srcdir is set in $top_builddir/tests/atconfig
- `make -e' in LT_AT_MAKE overrides the Makefile macro $(srcdir)
to quite the wrong value.
- side issue: some of the settings in atconfig seem quite wrong..
You could try the workaround below to prove that my assumptions are
correct. I still need to think about how to properly fix this
portably. :-/
Thank you for your bug report, later on it would probably have been
harder to find the bug.
Cheers,
Ralf
Index: tests/testsuite.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/testsuite.at,v
retrieving revision 1.26
diff -u -r1.26 testsuite.at
--- tests/testsuite.at 11 Oct 2005 16:51:50 -0000 1.26
+++ tests/testsuite.at 11 Oct 2005 19:19:49 -0000
@@ -94,7 +94,7 @@
# --------------------------
m4_define([LT_AT_MAKE],
[( $unset LIBTOOL LIBTOOLIZE
- AT_CHECK([$2 $MAKE -e $1], [0], [ignore], [ignore]) )
+ AT_CHECK([$MAKE $1 $2], [0], [ignore], [ignore]) )
])