Hello,

with MAKE="make -j3", the new testsuite would cause spurious failure
because libtool isn't created strictly before its use.

This patch fixes it.  Pushed.  I hope that was ok.

Cheers,
Ralf

        * tests/testsuite.at (_LTDL_PROJECT_FILES): Fix dependencies for
        parallel make.

diff --git a/tests/testsuite.at b/tests/testsuite.at
index 5037d14..d5b0fe8 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -330,12 +330,14 @@ TARGETS           = ]_ARG_DIR[/libltdlc.la module.la 
ltdldemo$(EXEEXT)
 
 all: $(TARGETS)
 
-$(LIBTOOL) ]_ARG_DIR[/libltdlc.la: ]_ARG_DIR[/Makefile
+]_ARG_DIR[/libltdlc.la: $(LIBTOOL) ]_ARG_DIR[/Makefile
        MAKE='$(MAKE)'; test -n "$$MAKE" || MAKE=make; \
        cd ]_ARG_DIR[ && $$MAKE CC="$(CC)" LIBTOOLFLAGS="$(LIBTOOLFLAGS)" \
          CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
           CONFIGURE_OPTIONS="$(CONFIGURE_OPTIONS)"
 
+$(LIBTOOL): ]_ARG_DIR[/Makefile
+
 ]_ARG_DIR[/Makefile:
        cd ]_ARG_DIR[ && CONFIG_SHELL="$(SHELL)" $(SHELL) ./configure 
$(CONFIGURE_OPTIONS)
 


Reply via email to