[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Avoid testsuite failures due to Autoconf Fortran change
From: |
Ralf Wildenhues |
Subject: |
Avoid testsuite failures due to Autoconf Fortran change |
Date: |
Thu, 13 Jan 2011 20:24:33 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
My recent Autoconf change provoked some testsuite failures in Automake,
see <http://hydra.nixos.org/build/856303/log/raw>. I'm pushing the fix
below to maint and merging to branch-1.11 and master.
Cheers,
Ralf
Avoid testsuite failures due to Autoconf Fortran change.
Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
require computing the canonical host name. Ensure config.guess
and config.sub files are present for respective checks.
* tests/compile_f_c_cxx.test: Add stub files.
* tests/flibs.test: Likewise.
* tests/fort4.test: Use $AUTOMAKE -a for installing files.
diff --git a/tests/compile_f_c_cxx.test b/tests/compile_f_c_cxx.test
index a995527..d1836fb 100755
--- a/tests/compile_f_c_cxx.test
+++ b/tests/compile_f_c_cxx.test
@@ -39,6 +39,8 @@ END
: > foo.f
: > bar.c
: > baz.cc
+: > config.guess
+: > config.sub
$ACLOCAL
$AUTOMAKE
diff --git a/tests/flibs.test b/tests/flibs.test
index b9fe541..d35c4c6 100755
--- a/tests/flibs.test
+++ b/tests/flibs.test
@@ -48,6 +48,8 @@ zardoz_LDADD = @FLIBS@
END
: > zardoz.f
+: > config.guess
+: > config.sub
$ACLOCAL
$AUTOMAKE
diff --git a/tests/fort4.test b/tests/fort4.test
index b928a61..84df399 100755
--- a/tests/fort4.test
+++ b/tests/fort4.test
@@ -67,7 +67,7 @@ LDADD = $(FCLIBS)
END
$ACLOCAL
-$AUTOMAKE
+$AUTOMAKE -a
# The Fortran 77 linker should be preferred:
grep '.\$(FCLINK)' Makefile.in && Exit 1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Avoid testsuite failures due to Autoconf Fortran change,
Ralf Wildenhues <=