From 1fbc0eb1148e871c20c68d6349cbf11c6e4bc175 Mon Sep 17 00:00:00 2001 From: Thomas Jahns Date: Fri, 4 Sep 2009 11:48:44 +0200 Subject: [PATCH] Fix illegal tab character in Fortran source. * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Change TAB back to multiple spaces; regression introduced 2008-10-23. * NEWS: Mention this. * THANKS: Update. Signed-off-by: Eric Blake --- ChangeLog | 8 ++++++++ NEWS | 4 ++++ THANKS | 1 + lib/autoconf/fortran.m4 | 3 ++- 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b4683233a..1ff51b479 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-09-04 Thomas Jahns (tiny change) + + Fix illegal tab character in Fortran source. + * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Change TAB back to + multiple spaces; regression introduced 2008-10-23. + * NEWS: Mention this. + * THANKS: Update. + 2009-08-22 Romain Lenglet Fix AT_CHECK_EUNIT for versions of Erlang/OTP without init:stop/1. diff --git a/NEWS b/NEWS index 8df44f13b..3d24b8fc0 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,10 @@ GNU Autoconf NEWS - User visible changes. These macros are present only for backwards compatibility purposes. +** The AC_FC_FREEFORM macro no longer suffers from a whitespace bug that + made it fail with some Fortran compilers (regression introduced in + 2.64). + ** The following documented autotest macros are new: AT_CHECK_EUNIT diff --git a/THANKS b/THANKS index 1c10fe438..c9237e07e 100644 --- a/THANKS +++ b/THANKS @@ -351,6 +351,7 @@ T.E. Dickey dickey@clark.net Ted Bullock tbullock@canada.com Theodore Ts'o tytso@mit.edu Thien-Thi Nguyen ttn@gnu.org +Thomas Jahns jahns@dkrz.de Thomas Winder tom@vlsivie.tuwien.ac.at Tim Freeman tim@fungible.com Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index 93b5f9db7..a46036629 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -1200,11 +1200,12 @@ for ac_flag in none -ffree-form -FR -free -qfree -Mfree -Mfreeform \ -freeform "-f free" do test "x$ac_flag" != xnone && FCFLAGS="$ac_fc_freeform_FCFLAGS_save $ac_flag" +dnl Use @&t@ below to ensure that editors don't turn 8+ spaces into tab. AC_COMPILE_IFELSE([ program freeform ! FIXME: how to best confuse non-freeform compilers? print *, 'Hello ', & - 'world.' + @&t@ 'world.' end], [ac_cv_fc_freeform=$ac_flag; break]) done -- 2.47.3