From cf65e60d20f66e867af51f55426e93d1f3c6c328 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Thu, 13 Jan 2011 20:21:39 +0100 Subject: [PATCH] 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. Signed-off-by: Ralf Wildenhues --- ChangeLog | 10 ++++++++++ tests/compile_f_c_cxx.test | 2 ++ tests/flibs.test | 2 ++ tests/fort4.test | 2 +- 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b57eab743..dc0db29c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2011-01-13 Ralf Wildenhues + + 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. + 2011-01-12 Stefano Lattarini docs: clustered '-d' not recognized in YFLAGS diff --git a/tests/compile_f_c_cxx.test b/tests/compile_f_c_cxx.test index a995527c9..d1836fb9f 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 b9fe541bd..d35c4c627 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 b928a61f8..84df399f6 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 -- 2.47.2