From MAILER-DAEMON Fri Mar 04 15:47:18 2011
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Pvbu9-0007TS-UX
	for mharc-autoconf-commit@gnu.org; Fri, 04 Mar 2011 15:47:17 -0500
Received: from [140.186.70.92] (port=50944 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Pvbu7-0007SI-5T
	for autoconf-commit@gnu.org; Fri, 04 Mar 2011 15:47:17 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Pvbu4-0007z5-Hs
	for autoconf-commit@gnu.org; Fri, 04 Mar 2011 15:47:14 -0500
Received: from colonialone.fsf.org ([140.186.70.51]:33090
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Pvbu4-0007z0-G3
	for autoconf-commit@gnu.org; Fri, 04 Mar 2011 15:47:12 -0500
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Pvbu4-0004MV-0K
	for autoconf-commit@gnu.org; Fri, 04 Mar 2011 20:47:12 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Pvbu3-0004HY-HA
	for autoconf-commit@gnu.org; Fri, 04 Mar 2011 20:47:11 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: autoconf-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: e143d9ce7cd79631900bb596e365a1d531aa4e82
X-Git-Newrev: 1ab552e4a8d418c3b92dc31c079454e227586dcf
Message-Id: <E1Pvbu3-0004HY-HA@vcs-noshell.in.savannah.gnu.org>
Date: Fri, 04 Mar 2011 20:47:11 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.51
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.68-49-g1ab552e
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf-commit>
List-Post: <mailto:autoconf-commit@gnu.org>
List-Help: <mailto:autoconf-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Mar 2011 20:47:17 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=1ab552e4a8d418c3b92dc31c079454e227586dcf

The branch, master has been updated
       via  1ab552e4a8d418c3b92dc31c079454e227586dcf (commit)
       via  1c78dd25cd4110301930bb36c78369c13cbeb93e (commit)
       via  0542805c543c4b1401449cf811545805c90fe2d8 (commit)
       via  4659f061468726cfdf5a69e82406efe5fb473690 (commit)
      from  e143d9ce7cd79631900bb596e365a1d531aa4e82 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1ab552e4a8d418c3b92dc31c079454e227586dcf
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Mar 4 21:26:08 2011 +0100

    Update known compiler switches for Fortran and OpenMP macros.
    
    * lib/autoconf/c.m4 (AC_OPENMP): Update for Lahey on GNU/Linux.
    * lib/autoconf/fortran.m4 (_AC_F95_FC): Also try nagfor.
    (_AC_PROG_FC_V): Update documentation for Lahey switches.
    (AC_FC_FREEFORM, AC_FC_FIXEDFORM): Add flags for Absoft, Lahey
    on GNU/Linux, document NAGWare, g95, and f2c switches.
    (AC_FC_LINE_LENGTH): Document NAGware switch.  Update Absoft,
    Lahey, NAGWare, Open Watcom, g95, and f2c switches.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 1c78dd25cd4110301930bb36c78369c13cbeb93e
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Mar 4 21:25:06 2011 +0100

    tests: accept f2c/fort77 as GNU Fortran 77.
    
    * tests/fortran.at (GNU Fortran 77): Try to detect f2c wrapper
    fort77 as GNU as well: it defines __GNUC__ too.  Fixes testsuite
    failure when f77 is fort77.
    Report from Giulio Paci.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 0542805c543c4b1401449cf811545805c90fe2d8
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Mar 4 21:24:32 2011 +0100

    docs: macro synopses document default failure cases.
    
    * doc/autoconf.texi (Fortran Compiler, Obsolete Macros):
    Document failure case for AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN,
    AC_FC_SRCEXT, AC_FC_FREEFORM, AC_FC_FIXEDFORM,
    AC_FC_LINE_LENGTH, and AC_TRY_RUN macros.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 4659f061468726cfdf5a69e82406efe5fb473690
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Fri Mar 4 21:23:49 2011 +0100

    Reword Fortran macro documentation.
    
    * doc/autoconf.texi (Fortran Compiler): Improve wording for
    AC_FC_FREEFORM, AC_FC_FIXEDFORM, and AC_FC_LINE_LENGTH macros.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |   27 +++++++++++++++++++++++++++
 doc/autoconf.texi       |   44 +++++++++++++++++++++++---------------------
 lib/autoconf/c.m4       |    4 +++-
 lib/autoconf/fortran.m4 |   36 +++++++++++++++++++++++-------------
 tests/fortran.at        |   12 +++++++-----
 5 files changed, 83 insertions(+), 40 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index bf72bd1..fa0b5f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,30 @@
+2011-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Update known compiler switches for Fortran and OpenMP macros.
+	* lib/autoconf/c.m4 (AC_OPENMP): Update for Lahey on GNU/Linux.
+	* lib/autoconf/fortran.m4 (_AC_F95_FC): Also try nagfor.
+	(_AC_PROG_FC_V): Update documentation for Lahey switches.
+	(AC_FC_FREEFORM, AC_FC_FIXEDFORM): Add flags for Absoft, Lahey
+	on GNU/Linux, document NAGWare, g95, and f2c switches.
+	(AC_FC_LINE_LENGTH): Document NAGware switch.  Update Absoft,
+	Lahey, NAGWare, Open Watcom, g95, and f2c switches.
+
+	tests: accept f2c/fort77 as GNU Fortran 77.
+	* tests/fortran.at (GNU Fortran 77): Try to detect f2c wrapper
+	fort77 as GNU as well: it defines __GNUC__ too.  Fixes testsuite
+	failure when f77 is fort77.
+	Report from Giulio Paci.
+
+	docs: macro synopses document default failure cases.
+	* doc/autoconf.texi (Fortran Compiler, Obsolete Macros):
+	Document failure case for AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN,
+	AC_FC_SRCEXT, AC_FC_FREEFORM, AC_FC_FIXEDFORM,
+	AC_FC_LINE_LENGTH, and AC_TRY_RUN macros.
+
+	Reword Fortran macro documentation.
+	* doc/autoconf.texi (Fortran Compiler): Improve wording for
+	AC_FC_FREEFORM, AC_FC_FIXEDFORM, and AC_FC_LINE_LENGTH macros.
+
 2011-02-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	config.status: do not quote $SHELL when rerunning configure.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index b011316..5fc9ffe 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -7969,8 +7969,10 @@ because the complex defines that the function wrapper macros create
 may not work with C/C++ compiler drivers.
 @end defmac
 
-@defmac AC_F77_DUMMY_MAIN (@ovar{action-if-found}, @ovar{action-if-not-found})
-@defmacx AC_FC_DUMMY_MAIN (@ovar{action-if-found}, @ovar{action-if-not-found})
+@defmac AC_F77_DUMMY_MAIN (@ovar{action-if-found}, @dvar{action-if-not-found, @
+  AC_MSG_FAILURE})
+@defmacx AC_FC_DUMMY_MAIN (@ovar{action-if-found}, @dvar{action-if-not-found, @
+  AC_MSG_FAILURE})
 @acindex{F77_DUMMY_MAIN}
 @cvindex F77_DUMMY_MAIN
 @acindex{FC_DUMMY_MAIN}
@@ -8140,7 +8142,7 @@ to call Fortran routines from some language other than C/C++.
 @end defmac
 
 @defmac AC_FC_SRCEXT (@var{ext}, @ovar{action-if-success}, @
-  @ovar{action-if-failure})
+  @dvar{action-if-failure, AC_MSG_FAILURE})
 @acindex{FC_SRCEXT}
 By default, the @code{FC} macros perform their tests using a @file{.f}
 extension for source-code files.  Some compilers, however, only enable
@@ -8184,13 +8186,13 @@ error message).
 
 @end defmac
 
-@defmac AC_FC_FREEFORM (@ovar{action-if-success}, @ovar{action-if-failure})
+@defmac AC_FC_FREEFORM (@ovar{action-if-success}, @dvar{action-if-failure, @
+  AC_MSG_FAILURE})
 @acindex{FC_FREEFORM}
 
-The @code{AC_FC_FREEFORM} tries to ensure that the Fortran compiler
-(@code{$FC}) allows free-format source code (as opposed to the older
-fixed-format style from Fortran 77).  If necessary, it may add some
-additional flags to @code{FCFLAGS}.
+Try to ensure that the Fortran compiler (@code{$FC}) allows free-format
+source code (as opposed to the older fixed-format style from Fortran
+77).  If necessary, it may add some additional flags to @code{FCFLAGS}.
 
 This macro is most important if you are using the default @file{.f}
 extension, since many compilers interpret this extension as indicating
@@ -8207,13 +8209,13 @@ calls @var{action-if-failure} (defaults to exiting with an error
 message).
 @end defmac
 
-@defmac AC_FC_FIXEDFORM (@ovar{action-if-success}, @ovar{action-if-failure})
+@defmac AC_FC_FIXEDFORM (@ovar{action-if-success}, @dvar{action-if-failure, @
+  AC_MSG_FAILURE})
 @acindex{FC_FIXEDFORM}
 
-The @code{AC_FC_FIXEDFORM} tries to ensure that the Fortran compiler
-(@code{$FC}) allows the old fixed-format source code (as opposed to
-free-format style).  If necessary, it may add some additional flags to
-@code{FCFLAGS}.
+Try to ensure that the Fortran compiler (@code{$FC}) allows the old
+fixed-format source code (as opposed to free-format style).  If
+necessary, it may add some additional flags to @code{FCFLAGS}.
 
 This macro is needed for some compilers alias names like @command{xlf95}
 which assume free-form source code by default, and in case you want to
@@ -8230,15 +8232,15 @@ message).
 @end defmac
 
 @defmac AC_FC_LINE_LENGTH (@ovar{length}, @ovar{action-if-success}, @
-  @ovar{action-if-failure})
+  @dvar{action-if-failure, AC_MSG_FAILURE})
 @acindex{FC_LINE_LENGTH}
 
-The @code{AC_FC_LINE_LENGTH} macro tries to ensure that the Fortran compiler
-(@code{$FC}) accepts long source code lines.  The @var{length} argument
-may be given as 80, 132, or unlimited, and defaults to 132.  Note that
-line lengths above 254 columns are not portable, and some compilers
-do not accept more than 132 columns at least for fixed format source.
-If necessary, it may add some additional flags to @code{FCFLAGS}.
+Try to ensure that the Fortran compiler (@code{$FC}) accepts long source
+code lines.  The @var{length} argument may be given as 80, 132, or
+unlimited, and defaults to 132.  Note that line lengths above 254
+columns are not portable, and some compilers do not accept more than 132
+columns at least for fixed format source.  If necessary, it may add some
+additional flags to @code{FCFLAGS}.
 
 If @code{AC_FC_LINE_LENGTH} succeeds in compiling fixed-form source, it
 calls @var{action-if-success} (defaults to nothing).  If it fails, it
@@ -23283,7 +23285,7 @@ AC_LINK_IFELSE([AC_LANG_CALL([], [@var{function}])],
 @end defmac
 
 @defmac AC_TRY_RUN (@var{program}, @ovar{action-if-true}, @
-  @ovar{action-if-false}, @ovar{action-if-cross-compiling})
+  @ovar{action-if-false}, @dvar{action-if-cross-compiling, AC_MSG_FAILURE})
 @acindex{TRY_RUN}
 Same as:
 
diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4
index 89e6b49..e4b807b 100644
--- a/lib/autoconf/c.m4
+++ b/lib/autoconf/c.m4
@@ -2001,12 +2001,14 @@ AC_DEFUN([AC_OPENMP],
 	  dnl   IBM C (AIX, Linux)   -qsmp=omp
           dnl   Cray CCE             -homp
           dnl   NEC SX               -Popenmp
+          dnl   Lahey Fortran (Linux)  --openmp
 	  dnl If in this loop a compiler is passed an option that it doesn't
 	  dnl understand or that it misinterprets, the AC_LINK_IFELSE test
 	  dnl will fail (since we know that it failed without the option),
 	  dnl therefore the loop will continue searching for an option, and
 	  dnl no output file called 'penmp' or 'mp' is created.
-	  for ac_option in -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp -homp -Popenmp; do
+	  for ac_option in -fopenmp -xopenmp -openmp -mp -omp -qsmp=omp -homp \
+                           -Popenmp --openmp; do
 	    ac_save_[]_AC_LANG_PREFIX[]FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
 	    _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $ac_option"
 	    AC_LINK_IFELSE([_AC_LANG_OPENMP],
diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4
index d5afbb9..30544c4 100644
--- a/lib/autoconf/fortran.m4
+++ b/lib/autoconf/fortran.m4
@@ -316,7 +316,8 @@ AC_DEFUN([_AC_FC_DIALECT_YEAR],
 #  fort: Compaq (now HP) Fortran 90/95 compiler for Tru64 and Linux/Alpha
 #  ifort, previously ifc: Intel Fortran 95 compiler for Linux/x86
 #  efc: Intel Fortran 95 compiler for IA64
-m4_define([_AC_F95_FC], [gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn])
+#  nagfor: NAGWare Fortran 77/90/95 compiler
+m4_define([_AC_F95_FC], [gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor])
 m4_define([_AC_F90_FC], [xlf90 f90 pgf90 pghpf epcf90])
 m4_define([_AC_F77_FC], [g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77])
 AC_DEFUN([_AC_PROG_FC],
@@ -564,7 +565,7 @@ esac
 # Determine the flag that causes the Fortran compiler to print
 # information of library and object files (normally -v)
 # Needed for _AC_FC_LIBRARY_FLAGS
-# Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
+# Some compilers don't accept -v (Lahey: (-)-verbose, xlf: -V, Fujitsu: -###)
 AC_DEFUN([_AC_PROG_FC_V],
 [_AC_FORTRAN_ASSERT()dnl
 AC_CACHE_CHECK([how to get verbose linking output from $[]_AC_FC[]],
@@ -1179,15 +1180,17 @@ AC_LANG_POP(Fortran)dnl
 # prevent flag from being added to FCFLAGS multiple times.)
 #
 # The known flags are:
-#        -ffree-form: GNU g77, gfortran
+#        -ffree-form: GNU g77, gfortran, g95
 #         -FR, -free: Intel compiler (icc, ecc, ifort)
 #              -free: Compaq compiler (fort), Sun compiler (f95)
 #             -qfree: IBM compiler (xlf)
 # -Mfree, -Mfreeform: Portland Group compiler
 #          -freeform: SGI compiler
-#            -f free: Absoft Fortran
+#        -8, -f free: Absoft Fortran
 #       +source=free: HP Fortran
-#              -nfix: Lahey/Fujitsu Fortran
+#    (-)-nfix, -Free: Lahey/Fujitsu Fortran
+#              -free: NAGWare
+#         -f, -Wf,-f: f2c (but only a weak form of "free-form" and long lines)
 # We try to test the "more popular" flags first, by some prejudiced
 # notion of popularity.
 AC_DEFUN_ONCE([AC_FC_FREEFORM],
@@ -1197,7 +1200,7 @@ AC_CACHE_CHECK([for Fortran flag needed to accept free-form source],
 [ac_cv_fc_freeform=unknown
 ac_fc_freeform_FCFLAGS_save=$FCFLAGS
 for ac_flag in none -ffree-form -FR -free -qfree -Mfree -Mfreeform \
-	       -freeform "-f free" +source=free -nfix
+	       -freeform "-f free" -8 +source=free -nfix --nfix -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.
@@ -1235,14 +1238,15 @@ AC_LANG_POP([Fortran])dnl
 # prevent flag from being added to FCFLAGS multiple times.)
 #
 # The known flags are:
-#       -ffixed-form: GNU g77, gfortran
+#       -ffixed-form: GNU g77, gfortran, g95
 #             -fixed: Intel compiler (ifort), Sun compiler (f95)
 #            -qfixed: IBM compiler (xlf*)
 #            -Mfixed: Portland Group compiler
 #         -fixedform: SGI compiler
 #           -f fixed: Absoft Fortran
 #      +source=fixed: HP Fortran
-#              -fix: Lahey/Fujitsu Fortran
+#    (-)-fix, -Fixed: Lahey/Fujitsu Fortran
+#             -fixed: NAGWare
 # Since compilers may accept fixed form based on file name extension,
 # but users may want to use it with others as well, call AC_FC_SRCEXT
 # with the respective source extension before calling this macro.
@@ -1253,7 +1257,7 @@ AC_CACHE_CHECK([for Fortran flag needed to accept fixed-form source],
 [ac_cv_fc_fixedform=unknown
 ac_fc_fixedform_FCFLAGS_save=$FCFLAGS
 for ac_flag in none -ffixed-form -fixed -qfixed -Mfixed -fixedform "-f fixed" \
-	       +source=fixed -fix
+	       +source=fixed -fix --fix -Fixed
 do
   test "x$ac_flag" != xnone && FCFLAGS="$ac_fc_fixedform_FCFLAGS_save $ac_flag"
   AC_COMPILE_IFELSE([[
@@ -1296,6 +1300,7 @@ AC_LANG_POP([Fortran])dnl
 # The known flags are:
 # -f{free,fixed}-line-length-N with N 72, 80, 132, or 0 or none for none.
 # -ffree-line-length-none: GNU gfortran
+# -ffree-line-length-huge: g95 (also -ffixed-line-length-N as above)
 #       -qfixed=132 80 72: IBM compiler (xlf)
 #                -Mextend: Cray
 #            -132 -80 -72: Intel compiler (ifort)
@@ -1303,11 +1308,14 @@ AC_LANG_POP([Fortran])dnl
 #                          accepts that as well with an optional parameter and
 #                          doesn't fail but only warns about unknown arguments.
 #          -extend_source: SGI compiler
-#     -W NN (132, 80, 72): Absoft Fortran
-#          +extend_source: HP Fortran (254 in either form, default is 72 fixed,
+#  -W, -WNN (132, 80, 72): Absoft Fortran
+#     +es, +extend_source: HP Fortran (254 in either form, default is 72 fixed,
 #			   132 free)
-#                   -wide: Lahey/Fujitsu Fortran (255 cols in fixed form)
+#            -w, (-)-wide: Lahey/Fujitsu Fortran (255 cols in fixed form)
 #                      -e: Sun Fortran compiler (132 characters)
+#                    -132: NAGWare
+#         -72, -f, -Wf,-f: f2c (a weak form of "free-form" and long lines).
+#                  /XLine: Open Watcom
 AC_DEFUN_ONCE([AC_FC_LINE_LENGTH],
 [AC_LANG_PUSH([Fortran])dnl
 m4_case(m4_default([$1], [132]),
@@ -1332,11 +1340,13 @@ AC_CACHE_CHECK(
 ac_fc_line_length_FCFLAGS_save=$FCFLAGS
 for ac_flag in none \
 	       -ffree-line-length-none -ffixed-line-length-none \
+	       -ffree-line-length-huge \
 	       -ffree-line-length-$ac_fc_line_len \
 	       -ffixed-line-length-$ac_fc_line_len \
 	       -qfixed=$ac_fc_line_len -Mextend \
 	       -$ac_fc_line_len -extend_source \
-	       "-W $ac_fc_line_len" +extend_source -wide -e
+	       -W$ac_fc_line_len -W +extend_source +es -wide --wide -w -e \
+               -f -Wf,-f -xline
 do
   test "x$ac_flag" != xnone && FCFLAGS="$ac_fc_line_length_FCFLAGS_save $ac_flag"
   AC_COMPILE_IFELSE([[$ac_fc_line_length_test
diff --git a/tests/fortran.at b/tests/fortran.at
index f0fec7c..87403a7 100644
--- a/tests/fortran.at
+++ b/tests/fortran.at
@@ -32,17 +32,19 @@ AT_CHECK_MACRO([GNU Fortran 77],
 [[AC_LANG(Fortran 77)
 AC_LANG_COMPILER
 
-if AC_TRY_COMMAND([$F77 --version | grep GNU >&2]); then
+: > conftest.f
+if AC_TRY_COMMAND([$F77 --version | grep GNU >&2]) \
+   || AC_TRY_COMMAND([$F77 -v -c conftest.f 2>&1 | grep "f2c " >&2]); then
   # Be sure to remove files which might be created by compilers that
-  # don't support --version.
-  rm -f a.exe a.out
+  # don't support --version, or by the second compile.
+  rm -f a.exe a.out conftest.f conftest.$ac_objext
   # Has GNU in --version.
   test "$G77" != yes &&
     AC_MSG_ERROR([failed to recognize GNU Fortran 77 compiler])
 else
   # Be sure to remove files which might be created by compilers that
-  # don't support --version.
-  rm -f a.exe a.out
+  # don't support --version, or by the second compile.
+  rm -f a.exe a.out conftest.f conftest.$ac_objext
   # Has not.
   test "$G77" = yes &&
     AC_MSG_ERROR([incorrectly recognized a GNU Fortran 77 compiler])


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Sat Mar 05 03:47:30 2011
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Pvn98-0003Fh-Kl
	for mharc-autoconf-commit@gnu.org; Sat, 05 Mar 2011 03:47:30 -0500
Received: from [140.186.70.92] (port=56292 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Pvn95-0003DK-Az
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 03:47:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Pvn93-00014g-EJ
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 03:47:27 -0500
Received: from colonialone.fsf.org ([140.186.70.51]:35534
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Pvn93-00014W-CK
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 03:47:25 -0500
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Pvn92-0004A4-UX
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 08:47:25 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Pvn92-0003dZ-IT
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 08:47:24 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: autoconf-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 1ab552e4a8d418c3b92dc31c079454e227586dcf
X-Git-Newrev: 4c79761f40980100834f19147f1d1d4ec03742b0
Message-Id: <E1Pvn92-0003dZ-IT@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 05 Mar 2011 08:47:24 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.51
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.68-52-g4c79761
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf-commit>
List-Post: <mailto:autoconf-commit@gnu.org>
List-Help: <mailto:autoconf-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Mar 2011 08:47:29 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=4c79761f40980100834f19147f1d1d4ec03742b0

The branch, master has been updated
       via  4c79761f40980100834f19147f1d1d4ec03742b0 (commit)
       via  5f11bce4563d94fd2a675f83909066d12f6243ef (commit)
       via  8476731b831de939182261f9f67fd656cd1242ba (commit)
      from  1ab552e4a8d418c3b92dc31c079454e227586dcf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4c79761f40980100834f19147f1d1d4ec03742b0
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Mar 5 07:56:21 2011 +0100

    AC_FC_SRCEXT: allow gfortran to compile .f77 files.
    
    * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Try '-x f77' for .f77
    files, '-x f95' for others, for gfortran.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 5f11bce4563d94fd2a675f83909066d12f6243ef
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Mar 5 07:55:51 2011 +0100

    New macros AC_{F77,FC}_IMPLICIT_NONE to disable Fortran implicit int.
    
    * lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): New internal
    macro.
    (AC_F77_IMPLICIT_NONE, AC_FC_IMPLICIT_NONE): New macros.
    * doc/autoconf.texi (Fortran Compiler): Document them.
    * NEWS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 8476731b831de939182261f9f67fd656cd1242ba
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Mar 5 07:55:14 2011 +0100

    New macro AC_FC_CHECK_BOUNDS to enable Fortran array bounds checking.
    
    * lib/autoconf/fortran.m4 (AC_FC_CHECK_BOUNDS): New macro.
    * doc/autoconf.texi (Fortran Compiler): Document it.
    * tests/fortran.at (AC_FC_CHECK_BOUNDS): New test.
    * NEWS: Update.
    Prompted by report from Eve-Marie Devaliere.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |   20 ++++++
 NEWS                    |    5 ++
 doc/autoconf.texi       |   31 +++++++++
 lib/autoconf/fortran.m4 |  159 ++++++++++++++++++++++++++++++++++++++++++++++-
 tests/fortran.at        |   59 +++++++++++++++++
 5 files changed, 273 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fa0b5f7..ff84c50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2011-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	AC_FC_SRCEXT: allow gfortran to compile .f77 files.
+	* lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Try '-x f77' for .f77
+	files, '-x f95' for others, for gfortran.
+
+	New macros AC_{F77,FC}_IMPLICIT_NONE to disable Fortran implicit int.
+	* lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): New internal
+	macro.
+	(AC_F77_IMPLICIT_NONE, AC_FC_IMPLICIT_NONE): New macros.
+	* doc/autoconf.texi (Fortran Compiler): Document them.
+	* NEWS: Update.
+
+	New macro AC_FC_CHECK_BOUNDS to enable Fortran array bounds checking.
+	* lib/autoconf/fortran.m4 (AC_FC_CHECK_BOUNDS): New macro.
+	* doc/autoconf.texi (Fortran Compiler): Document it.
+	* tests/fortran.at (AC_FC_CHECK_BOUNDS): New test.
+	* NEWS: Update.
+	Prompted by report from Eve-Marie Devaliere.
+
 2011-03-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Update known compiler switches for Fortran and OpenMP macros.
diff --git a/NEWS b/NEWS
index 3edebd8..6a1771d 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,11 @@ GNU Autoconf NEWS - User visible changes.
 
 - New macro AC_HEADER_CHECK_STDBOOL.
 
+- New and updated macros for Fortran support:
+
+    AC_FC_CHECK_BOUNDS to enable array bounds checking
+    AC_F77_IMPLICIT_NONE and AC_FC_IMPLICIT_NONE to disable implicit integer
+
 * Noteworthy changes in release 2.68 (2010-09-22) [stable]
   Released by Eric Blake, based on git versions 2.67.*.
 
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 5fc9ffe..29c6d2c 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -8248,6 +8248,37 @@ calls @var{action-if-failure} (defaults to exiting with an error
 message).
 @end defmac
 
+@defmac AC_FC_CHECK_BOUNDS (@ovar{action-if-success}, @
+  @dvar{action-if-failure, AC_MSG_FAILURE})
+@acindex{FC_CHECK_BOUNDS}
+
+The @code{AC_FC_CHECK_BOUNDS} macro tries to enable array bounds checking
+in the Fortran compiler.  If successful, the @var{action-if-success}
+is called and any needed flags are added to @code{FCFLAGS}.  Otherwise,
+@var{action-if-failure} is called, which defaults to failing with an error
+message.  The macro currently requires Fortran 90 or a newer dialect.
+
+The result of the macro is cached in the @code{ac_cv_fc_check_bounds}
+variable.
+@end defmac
+
+@defmac AC_F77_IMPLICIT_NONE (@ovar{action-if-success}, @
+  @dvar{action-if-failure, AC_MSG_FAILURE})
+@defmacx AC_FC_IMPLICIT_NONE (@ovar{action-if-success}, @
+  @dvar{action-if-failure, AC_MSG_FAILURE})
+@acindex{F77_IMPLICIT_NONE}
+@acindex{FC_IMPLICIT_NONE}
+
+Try to disallow implicit declarations in the Fortran compiler.  If
+successful, the @var{action-if-success} is called and any needed flags
+are added to @code{FCFLAGS}.  Otherwise, @var{action-if-failure} is
+called, which defaults to failing with an error message.
+
+The result of these macros are cached in the
+@code{ac_cv_f77_implicit_none} and @code{ac_cv_fc_implicit_none}
+variables, respectively.
+@end defmac
+
 
 @node Go Compiler
 @subsection Go Compiler Characteristics
diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4
index 30544c4..237cdd9 100644
--- a/lib/autoconf/fortran.m4
+++ b/lib/autoconf/fortran.m4
@@ -1137,6 +1137,8 @@ AC_LANG_POP(Fortran)dnl
 # Also, for Intel's ifc compiler (which does not accept .f95 by default in
 # some versions), the $FCFLAGS_<EXT> variable *must* go immediately before
 # the source file on the command line, unlike other $FCFLAGS.  Ugh.
+#
+# gfortran requires '-x f77' in order to recognize .f77 files.
 AC_DEFUN([AC_FC_SRCEXT],
 [AC_LANG_PUSH(Fortran)dnl
 AC_CACHE_CHECK([for Fortran flag to compile .$1 files],
@@ -1145,7 +1147,11 @@ AC_CACHE_CHECK([for Fortran flag to compile .$1 files],
 ac_fcflags_srcext_save=$ac_fcflags_srcext
 ac_fcflags_srcext=
 ac_cv_fc_srcext_$1=unknown
-for ac_flag in none -qsuffix=f=$1 -Tf; do
+case $ac_ext in #(
+  [[fF]]77) ac_try=f77;; #(
+  *) ac_try=f95;;
+esac
+for ac_flag in none -qsuffix=f=$1 -Tf "-x $ac_try"; do
   test "x$ac_flag" != xnone && ac_fcflags_srcext="$ac_flag"
   AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [ac_cv_fc_srcext_$1=$ac_flag; break])
 done
@@ -1367,3 +1373,154 @@ else
 fi
 AC_LANG_POP([Fortran])dnl
 ])# AC_FC_LINE_LENGTH
+
+
+# AC_FC_CHECK_BOUNDS([ACTION-IF-SUCCESS], [ACTION-IF-FAILURE = FAILURE])
+# ----------------------------------------------------------------------
+# Look for a compiler flag to turn on array bounds checking for the
+# Fortran (FC) compiler, and adds it to FCFLAGS.  Call
+# ACTION-IF-SUCCESS (defaults to nothing) if successful (i.e. can
+# compile code using new extension) and ACTION-IF-FAILURE (defaults to
+# failing with an error message) if not.  (Defined via DEFUN_ONCE to
+# prevent flag from being added to FCFLAGS multiple times.)
+#
+# The known flags are:
+# -fcheck=all, -fbounds-check: gfortran
+#     -fbounds-check: g77, g95
+# -CB, -check bounds: Intel compiler (icc, ecc, ifort)
+#                 -C: Sun/Oracle compiler (f95)
+#        -C, -qcheck: IBM compiler (xlf)
+#           -Mbounds: Portland Group compiler
+#       -C ,-Mbounds: Cray
+#  -C, -check_bounds: SGI compiler
+# -check_bounds, +check=all: HP Fortran
+#        -C, -Rb -Rc: Absoft (-Rb: array boundaries, -Rc: array conformance)
+# --chk e,s -chk (e,s): Lahey
+#          -C -C=all: NAGWare
+# -C, -ffortran-bounds-check: PathScale pathf90
+#                 -C: f2c
+#            -BOunds: Open Watcom
+AC_DEFUN_ONCE([AC_FC_CHECK_BOUNDS],
+[AC_LANG_PUSH([Fortran])dnl
+AC_CACHE_CHECK([for Fortran flag to enable array-bounds checking],
+               [ac_cv_fc_check_bounds],
+[ac_cv_fc_check_bounds=unknown
+ac_fc_check_bounds_FCFLAGS_save=$FCFLAGS
+for ac_flag in -fcheck=bounds -fbounds-check -check_bounds -Mbounds -qcheck \
+               '-check bounds' +check=all --check '-Rb -Rc' -CB -C=all -C \
+               -ffortran-bounds-check "--chk e,s" "-chk e -chk s" -bounds
+do
+  FCFLAGS="$ac_fc_check_bounds_FCFLAGS_save $ac_flag"
+  # We should be able to link a correct program.
+  AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
+    [AC_LINK_IFELSE([[
+      subroutine sub(a)
+      integer a(:)
+      a(8) = 0
+      end subroutine
+
+      program main
+      integer a(1:7)
+      interface
+         subroutine sub(a)
+         integer a(:)
+         end subroutine
+      end interface
+
+      call sub(a)
+      end program]],
+       [# If we can run the program, require failure at run time.
+	# In cross-compiling mode, we rely on the compiler not accepting
+	# unknown options.
+	AS_IF([test "$cross_compiling" = yes],
+	  [ac_cv_fc_check_bounds=$ac_flag; break],
+	  [AS_IF([_AC_DO_TOKENS(./conftest$ac_exeext)],
+	     [],
+	     [ac_cv_fc_check_bounds=$ac_flag; break])])])])
+done
+rm -f conftest$ac_exeext conftest.err conftest.$ac_objext conftest.$ac_ext
+FCFLAGS=$ac_fc_check_bounds_FCFLAGS_save
+])
+if test "x$ac_cv_fc_check_bounds" = xunknown; then
+  m4_default([$2],
+             [AC_MSG_ERROR([no Fortran flag for bounds checking found], 77)])
+else
+  if test "x$ac_cv_fc_check_bounds" != xnone; then
+    FCFLAGS="$FCFLAGS $ac_cv_fc_check_bounds"
+  fi
+  $1
+fi
+AC_LANG_POP([Fortran])dnl
+])# AC_FC_CHECK_BOUNDS
+
+
+# _AC_FC_IMPLICIT_NONE([ACTION-IF-SUCCESS], [ACTION-IF-FAILURE = FAILURE])
+# ------------------------------------------------------------------------
+# Look for a flag to disallow implicit declarations, and add it to FCFLAGS.
+# Call ACTION-IF-SUCCESS (defaults to nothing) if successful and
+# ACTION-IF-FAILURE (defaults to failing with an error message) if not.
+#
+# Known flags:
+# GNU gfortran, g95: -fimplicit-none, g77: -Wimplicit
+# Intel: -u, -implicitnone; might also need '-warn errors' to turn into error.
+# Sun/Oracle: -u
+# HP: +implicit_none
+# IBM: -u, -qundef
+# SGI: -u
+# Compaq: -u, -warn declarations
+# NAGWare: -u
+# Lahey: -in, --in, -AT
+# Cray: -Mdclchk -d i
+# PGI: -Mcdlchk
+# f2c: -u
+AC_DEFUN([_AC_FC_IMPLICIT_NONE],
+[_AC_FORTRAN_ASSERT()dnl
+AC_CACHE_CHECK([for flag to disallow _AC_LANG implicit declarations],
+               [ac_cv_[]_AC_LANG_ABBREV[]_implicit_none],
+[ac_cv_[]_AC_LANG_ABBREV[]_implicit_none=unknown
+ac_fc_implicit_none_[]_AC_LANG_PREFIX[]FLAGS_save=$[]_AC_LANG_PREFIX[]FLAGS
+for ac_flag in none -fimplicit-none -u -Wimplicit -implicitnone +implicit_none \
+               -qundef "-warn declarations" -in --in -AT "-d i" -Mdclchk \
+               "-u -warn errors"
+do
+  if test "x$ac_flag" != xnone; then
+    _AC_LANG_PREFIX[]FLAGS="$ac_fc_implicit_none_[]_AC_LANG_PREFIX[]FLAGS_save $ac_flag"
+  fi
+  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [])],
+    [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[
+      i = 0
+      print *, i]])],
+       [],
+       [ac_cv_[]_AC_LANG_ABBREV[]_implicit_none=$ac_flag; break])])
+done
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+_AC_LANG_PREFIX[]FLAGS=$ac_fc_implicit_none_[]_AC_LANG_PREFIX[]FLAGS_save
+])
+if test "x$ac_cv_[]_AC_LANG_ABBREV[]_implicit_none" = xunknown; then
+  m4_default([$3],
+    [AC_MSG_ERROR([no Fortran flag to disallow implicit declarations found], 77)])
+else
+  if test "x$ac_cv_[]_AC_LANG_ABBREV[]_implicit_none" != xnone; then
+    _AC_LANG_PREFIX[]FLAGS="$_AC_LANG_PREFIX[]FLAGS $ac_cv_[]_AC_LANG_ABBREV[]_implicit_none"
+  fi
+  $2
+fi
+])# _AC_FC_IMPLICIT_NONE
+
+
+# AC_F77_IMPLICIT_NONE([ACTION-IF-SUCCESS], [ACTION-IF-FAILURE = FAILURE])
+# ------------------------------------------------------------------------
+AC_DEFUN([AC_F77_IMPLICIT_NONE],
+[AC_LANG_PUSH([Fortran 77])dnl
+_AC_FC_IMPLICIT_NONE($@)
+AC_LANG_POP([Fortran 77])dnl
+])# AC_F77_IMPLICIT_NONE
+
+
+# AC_FC_IMPLICIT_NONE([ACTION-IF-SUCCESS], [ACTION-IF-FAILURE = FAILURE])
+# -----------------------------------------------------------------------
+AC_DEFUN([AC_FC_IMPLICIT_NONE],
+[AC_LANG_PUSH([Fortran])dnl
+_AC_FC_IMPLICIT_NONE($@)
+AC_LANG_POP([Fortran])dnl
+])# AC_FC_IMPLICIT_NONE
diff --git a/tests/fortran.at b/tests/fortran.at
index 87403a7..4986ee4 100644
--- a/tests/fortran.at
+++ b/tests/fortran.at
@@ -932,3 +932,62 @@ EOF
 done
 
 AT_CLEANUP
+
+
+## ------------------- ##
+## AC_FC_CHECK_BOUNDS. ##
+## ------------------- ##
+
+AT_SETUP([AC_FC_CHECK_BOUNDS])
+
+AT_DATA([Makefile.in],
+[[prog@EXEEXT@: prog.@OBJEXT@
+	@FC@ @FCFLAGS@ -o $@ prog.@OBJEXT@ @LIBS@
+
+.SUFFIXES: .f .@OBJEXT@
+.f.@OBJEXT@:
+	@FC@ @FCFLAGS@ -c @FCFLAGS_f@ $<
+
+clean:
+	rm -f *.@OBJEXT@ prog@EEXEXT@
+]])
+
+cat >configure.ac <<EOF
+AC_INIT
+AC_PROG_FC
+AC_FC_SRCEXT([f])
+AC_FC_CHECK_BOUNDS
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+EOF
+
+AT_DATA([prog.f],
+[[
+      subroutine copy(a,b,n)
+      integer a(:), b(:), n, i
+      do i = 1, n
+         a(i) = b(i)
+      end do
+      end subroutine
+
+      program main
+      integer, parameter :: n = 20
+      integer a(1:n), b(1:n-1), i
+      interface
+         subroutine copy(a,b,n)
+         integer a(:), b(:), i
+         end subroutine
+      end interface
+
+      call copy(a,b,n)
+      end program
+]])
+
+AT_CHECK_AUTOCONF
+AT_CHECK_CONFIGURE
+: "${MAKE=make}"
+AT_CHECK([$MAKE], [], [ignore], [ignore])
+AT_CHECK([./prog || exit 1], [1], [ignore], [ignore])
+AT_CHECK([$MAKE clean], [], [ignore], [ignore])
+
+AT_CLEANUP


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Sat Mar 05 06:35:57 2011
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Pvpm9-0007hq-Oe
	for mharc-autoconf-commit@gnu.org; Sat, 05 Mar 2011 06:35:57 -0500
Received: from [140.186.70.92] (port=58714 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Pvpm3-0007fD-DQ
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 06:35:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Pvply-00087E-BQ
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 06:35:51 -0500
Received: from colonialone.fsf.org ([140.186.70.51]:51123
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Pvply-000879-9O
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 06:35:46 -0500
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Pvply-00068z-0c
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 11:35:46 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Pvplw-00028q-0X
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 11:35:45 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: autoconf-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 4c79761f40980100834f19147f1d1d4ec03742b0
X-Git-Newrev: c9cbf626a186371287476a523a0233d219cf181e
Message-Id: <E1Pvplw-00028q-0X@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 05 Mar 2011 11:35:44 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.51
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.68-53-gc9cbf62
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf-commit>
List-Post: <mailto:autoconf-commit@gnu.org>
List-Help: <mailto:autoconf-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Mar 2011 11:35:56 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=c9cbf626a186371287476a523a0233d219cf181e

The branch, master has been updated
       via  c9cbf626a186371287476a523a0233d219cf181e (commit)
      from  4c79761f40980100834f19147f1d1d4ec03742b0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c9cbf626a186371287476a523a0233d219cf181e
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Mar 5 11:41:37 2011 +0100

    docs: fix description of AC_F77_IMPLICIT_NONE.
    
    * doc/autoconf.texi (Fortran Compiler) [AC_F77_IMPLICIT_NONE]:
    This macro modifies FFLAGS, not FCFLAGS.  Fix grammar nit.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    4 ++++
 doc/autoconf.texi |    7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ff84c50..bb6cd46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2011-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+	docs: fix description of AC_F77_IMPLICIT_NONE.
+	* doc/autoconf.texi (Fortran Compiler) [AC_F77_IMPLICIT_NONE]:
+	This macro modifies FFLAGS, not FCFLAGS.
+
 	AC_FC_SRCEXT: allow gfortran to compile .f77 files.
 	* lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Try '-x f77' for .f77
 	files, '-x f95' for others, for gfortran.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 29c6d2c..1cd246b 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -8270,9 +8270,10 @@ variable.
 @acindex{FC_IMPLICIT_NONE}
 
 Try to disallow implicit declarations in the Fortran compiler.  If
-successful, the @var{action-if-success} is called and any needed flags
-are added to @code{FCFLAGS}.  Otherwise, @var{action-if-failure} is
-called, which defaults to failing with an error message.
+successful, @var{action-if-success} is called and any needed flags
+are added to @code{FFLAGS} or @code{FCFLAGS}, respectively.  Otherwise,
+@var{action-if-failure} is called, which defaults to failing with an error
+message.
 
 The result of these macros are cached in the
 @code{ac_cv_f77_implicit_none} and @code{ac_cv_fc_implicit_none}


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Sat Mar 05 09:20:21 2011
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1PvsLE-0007no-Qx
	for mharc-autoconf-commit@gnu.org; Sat, 05 Mar 2011 09:20:20 -0500
Received: from [140.186.70.92] (port=52852 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PvsL8-0007m0-JT
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 09:20:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PvsL3-0007xQ-N8
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 09:20:14 -0500
Received: from colonialone.fsf.org ([140.186.70.51]:50231
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PvsL3-0007xL-H9
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 09:20:09 -0500
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PvsL2-00086N-A3
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 14:20:08 +0000
Received: from ericb by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PvsL1-0002rO-LZ
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 14:20:08 +0000
From: "Eric Blake" <eblake@redhat.com>
To: autoconf-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: c9cbf626a186371287476a523a0233d219cf181e
X-Git-Newrev: d641a367f95f8b1fae788c45ab549057a4dc2fc6
Message-Id: <E1PvsL1-0002rO-LZ@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 05 Mar 2011 14:20:07 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.51
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.68-54-gd641a36
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf-commit>
List-Post: <mailto:autoconf-commit@gnu.org>
List-Help: <mailto:autoconf-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Mar 2011 14:20:19 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=d641a367f95f8b1fae788c45ab549057a4dc2fc6

The branch, master has been updated
       via  d641a367f95f8b1fae788c45ab549057a4dc2fc6 (commit)
      from  c9cbf626a186371287476a523a0233d219cf181e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d641a367f95f8b1fae788c45ab549057a4dc2fc6
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Mar 5 08:16:41 2011 +0100

    build: exclude M4 with buggy strstr
    
    * m4/m4.m4 (AC_PROG_GNU_M4): When searching PATH, do not accept
    an m4 that has either the gnulib strstr bug, or the glibc/gnulib
    strstr bug.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |    8 ++++++++
 m4/m4.m4  |   14 ++++++++++++--
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index bb6cd46..45ee69a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,12 @@
 2011-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+	and Eric Blake  <eblake@redhat.com>
+
+	build: exclude M4 with buggy strstr
+	* m4/m4.m4 (AC_PROG_GNU_M4): When searching PATH, do not accept
+	an m4 that has either the gnulib strstr bug, or the glibc/gnulib
+	strstr bug.
+
+2011-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	docs: fix description of AC_F77_IMPLICIT_NONE.
 	* doc/autoconf.texi (Fortran Compiler) [AC_F77_IMPLICIT_NONE]:
diff --git a/m4/m4.m4 b/m4/m4.m4
index a11fe0d..dfc2c12 100644
--- a/m4/m4.m4
+++ b/m4/m4.m4
@@ -1,4 +1,4 @@
-# m4.m4 serial 11
+# m4.m4 serial 12
 
 # Copyright (C) 2000, 2006-2011 Free Software Foundation, Inc.
 
@@ -15,6 +15,7 @@
 # http://lists.gnu.org/archive/html/bug-autoconf/2009-07/msg00023.html
 # Also, check whether --error-output (through 1.4.x) or --debugfile (2.0)
 # is supported, and AC_SUBST M4_DEBUGFILE accordingly.
+# Also avoid versions of m4 that trigger strstr bugs.
 AC_DEFUN([AC_PROG_GNU_M4],
   [AC_ARG_VAR([M4], [Location of GNU M4 1.4.6 or later.  Defaults to the first
     program of `m4', `gm4', or `gnum4' on PATH that meets Autoconf needs.])
@@ -25,15 +26,24 @@ AS_UNSET([POSIXLY_CORRECT])
 AC_PATH_PROGS_FEATURE_CHECK([M4], [m4 gm4 gnum4],
       [dnl Creative quoting here to avoid raw dnl and ifdef in configure.
       # Root out GNU M4 1.4.5, as well as non-GNU m4 that ignore -t, -F.
+      # Root out GNU M4 1.4.15 with buggy false negative replacement strstr.
+      # Root out Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 with buggy
+      # false positive strstr.
       ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)'
       ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl
+      ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(..wi.d.,.d.),-1,bug)'
+      ac_snippet=${ac_snippet}${as_nl}if'else(in''dex(dnl
+;:11-:12-:12-:12-:12-:12-:12-:12-:12.:12.:12.:12.:12.:12.:12.:12.:12-,dnl
+:12-:12-:12-:12-:12-:12-:12-:12-),-1,,strstr-bug2)'
       test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
       && test -z "`AS_ECHO([$ac_snippet]) | $ac_path_M4 --trace=mac 2>&1`" \
       && test -f conftest.m4f \
       && ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
       rm -f conftest.m4f],
       [AC_MSG_ERROR([no acceptable m4 could be found in \$PATH.
-GNU M4 1.4.6 or later is required; 1.4.14 is recommended])])])
+GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.
+GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
+Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.])])])
   M4=$ac_cv_path_M4
   AC_CACHE_CHECK([whether $ac_cv_path_M4 accepts --gnu],
     [ac_cv_prog_gnu_m4_gnu],


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Sat Mar 05 11:35:29 2011
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1PvuS1-0002DJ-7q
	for mharc-autoconf-commit@gnu.org; Sat, 05 Mar 2011 11:35:29 -0500
Received: from [140.186.70.92] (port=40264 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PvuRx-0002D4-Tb
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 11:35:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PvuRw-00050X-0M
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 11:35:25 -0500
Received: from colonialone.fsf.org ([140.186.70.51]:40909
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PvuRv-00050L-UR
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 11:35:23 -0500
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PvuRv-0001FG-IX
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 16:35:23 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1PvuRu-0003CX-4H
	for autoconf-commit@gnu.org; Sat, 05 Mar 2011 16:35:23 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: autoconf-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: d641a367f95f8b1fae788c45ab549057a4dc2fc6
X-Git-Newrev: 63aaea5ecd84c39de578c85dd9eda3bf642322f9
Message-Id: <E1PvuRu-0003CX-4H@vcs-noshell.in.savannah.gnu.org>
Date: Sat, 05 Mar 2011 16:35:22 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.51
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.68-56-g63aaea5e
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf-commit>
List-Post: <mailto:autoconf-commit@gnu.org>
List-Help: <mailto:autoconf-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Mar 2011 16:35:27 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=63aaea5ecd84c39de578c85dd9eda3bf642322f9

The branch, master has been updated
       via  63aaea5ecd84c39de578c85dd9eda3bf642322f9 (commit)
       via  1fb4fba330d0614f77b2254d1b3df1c5075cc7e7 (commit)
      from  d641a367f95f8b1fae788c45ab549057a4dc2fc6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 63aaea5ecd84c39de578c85dd9eda3bf642322f9
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Mar 5 15:27:08 2011 +0100

    Fix Cray Fortran flag for AC_FC_IMPLICIT_NONE.
    
    * lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): Use -e I
    not -d i, for Cray ftn.
    * THANKS: Update.
    Thanks to Tobias Burnus for feedback and testing.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit 1fb4fba330d0614f77b2254d1b3df1c5075cc7e7
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Mar 5 14:39:10 2011 +0100

    docs: document several Fortran and OpenMP cache variables.
    
    * doc/autoconf.texi (Generic Compiler Characteristics)
    [AC_OPENMP]: Document associated cache variables.
    (Fortran Compiler) [AC_PROG_F77, AC_PROG_FC, AC_PROG_F77_C_O]
    [AC_PROG_FC_C_O, AC_F77_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS]
    [AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN, AC_F77_MAIN, AC_FC_MAIN]
    [AC_F77_WRAPPERS, AC_FC_WRAPPERS, AC_FC_FREEFORM]
    [AC_FC_FIXEDFORM, AC_FC_LINE_LENGTH, AC_FC_CHECK_BOUNDS]
    [AC_F77_IMPLICIT_NONE, AC_FC_IMPLICIT_NONE]: Document and/or
    index the cache variables used by these macros.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |   19 +++++++++++++
 THANKS                  |    1 +
 doc/autoconf.texi       |   65 +++++++++++++++++++++++++++++++++++++++++++++++
 lib/autoconf/fortran.m4 |    4 +-
 4 files changed, 87 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 45ee69a..ed4c467 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,23 @@
 2011-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Fix Cray Fortran flag for AC_FC_IMPLICIT_NONE.
+	* lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): Use -e I
+	not -d i, for Cray ftn.
+	* THANKS: Update.
+	Thanks to Tobias Burnus for feedback and testing.
+
+	docs: document several Fortran and OpenMP cache variables.
+	* doc/autoconf.texi (Generic Compiler Characteristics)
+	[AC_OPENMP]: Document associated cache variables.
+	(Fortran Compiler) [AC_PROG_F77, AC_PROG_FC, AC_PROG_F77_C_O]
+	[AC_PROG_FC_C_O, AC_F77_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS]
+	[AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN, AC_F77_MAIN, AC_FC_MAIN]
+	[AC_F77_WRAPPERS, AC_FC_WRAPPERS, AC_FC_FREEFORM]
+	[AC_FC_FIXEDFORM, AC_FC_LINE_LENGTH, AC_FC_CHECK_BOUNDS]
+	[AC_F77_IMPLICIT_NONE, AC_FC_IMPLICIT_NONE]: Document and/or
+	index the cache variables used by these macros.
+
+2011-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 	and Eric Blake  <eblake@redhat.com>
 
 	build: exclude M4 with buggy strstr
diff --git a/THANKS b/THANKS
index d397327..648a501 100644
--- a/THANKS
+++ b/THANKS
@@ -399,6 +399,7 @@ Tim Freeman                 tim@fungible.com
 Tim Mooney                  mooney@dogbert.cc.ndsu.NoDak.edu
 Tim Rice                    tim@multitalents.net
 Tim Van Holder              tim.van.holder@pandora.be
+Tobias Burnus               burnus@net-b.de
 Tom Browder                 tom.browder@gmail.com
 Tom Epperly                 tepperly@llnl.gov
 Tom Lane                    tgl@sss.pgh.pa.us
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 1cd246b..b552883 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -7112,6 +7112,10 @@ etc.).
 @ovindex OPENMP_CXXFLAGS
 @ovindex OPENMP_FFLAGS
 @ovindex OPENMP_FCFLAGS
+@caindex prog_c_openmp
+@caindex prog_cxx_openmp
+@caindex prog_f77_openmp
+@caindex prog_fc_openmp
 @uref{http://@/www.openmp.org/, OpenMP} specifies extensions of C, C++,
 and Fortran that simplify optimization of shared memory parallelism,
 which is a common problem on multicore CPUs.
@@ -7149,6 +7153,10 @@ For portability, it is best to avoid spaces between @samp{#} and
 @samp{pragma omp}.  That is, write @samp{#pragma omp}, not
 @samp{# pragma omp}.  The Sun WorkShop 6.2 C compiler chokes on the
 latter.
+
+This macro caches its result in the @code{ac_cv_prog_c_openmp},
+@code{ac_cv_prog_cxx_openmp}, @code{ac_cv_prog_f77_openmp}, or
+@code{ac_cv_prog_fc_openmp} variable, depending on the current language.
 @end defmac
 
 @node C Compiler
@@ -7858,6 +7866,8 @@ are documented together in this section.
 @evindex FFLAGS
 @ovindex F77
 @ovindex FFLAGS
+@caindex f77_compiler_gnu
+@caindex prog_f77_g
 Determine a Fortran 77 compiler to use.  If @code{F77} is not already
 set in the environment, then check for @code{g77} and @code{f77}, and
 then some other names.  Set the output variable @code{F77} to the name
@@ -7880,6 +7890,10 @@ If the output variable @code{FFLAGS} was not already set in the
 environment, then set it to @option{-g -02} for @code{g77} (or @option{-O2}
 where @code{g77} does not accept @option{-g}).  Otherwise, set
 @code{FFLAGS} to @option{-g} for all other Fortran 77 compilers.
+
+The result of the GNU test is cached in the
+@code{ac_cv_f77_compiler_gnu} variable, acceptance of @option{-g} in the
+@code{ac_cv_prog_f77_g} variable.
 @end defmac
 
 @defmac AC_PROG_FC (@ovar{compiler-search-list}, @ovar{dialect})
@@ -7888,6 +7902,8 @@ where @code{g77} does not accept @option{-g}).  Otherwise, set
 @evindex FCFLAGS
 @ovindex FC
 @ovindex FCFLAGS
+@caindex fc_compiler_gnu
+@caindex prog_fc_g
 Determine a Fortran compiler to use.  If @code{FC} is not already set in
 the environment, then @code{dialect} is a hint to indicate what Fortran
 dialect to search for; the default is to search for the newest available
@@ -7912,6 +7928,10 @@ If the output variable @code{FCFLAGS} was not already set in the
 environment, then set it to @option{-g -02} for GNU @code{g77} (or
 @option{-O2} where @code{g77} does not accept @option{-g}).  Otherwise,
 set @code{FCFLAGS} to @option{-g} for all other Fortran compilers.
+
+The result of the GNU test is cached in the @code{ac_cv_fc_compiler_gnu}
+variable, acceptance of @option{-g} in the @code{ac_cv_prog_fc_g}
+variable.
 @end defmac
 
 @defmac AC_PROG_F77_C_O
@@ -7920,9 +7940,14 @@ set @code{FCFLAGS} to @option{-g} for all other Fortran compilers.
 @acindex{PROG_FC_C_O}
 @cvindex F77_NO_MINUS_C_MINUS_O
 @cvindex FC_NO_MINUS_C_MINUS_O
+@caindex prog_f77_c_o
+@caindex prog_fc_c_o
 Test whether the Fortran compiler accepts the options @option{-c} and
 @option{-o} simultaneously, and define @code{F77_NO_MINUS_C_MINUS_O} or
 @code{FC_NO_MINUS_C_MINUS_O}, respectively, if it does not.
+
+The result of the test is cached in the @code{ac_cv_prog_f77_c_o} or
+@code{ac_cv_prog_fc_c_o} variable, respectively.
 @end defmac
 
 The following macros check for Fortran compiler characteristics.
@@ -7939,6 +7964,10 @@ or @code{AC_LANG(Fortran)} (@pxref{Language Choice}).
 @ovindex FLIBS
 @acindex{FC_LIBRARY_LDFLAGS}
 @ovindex FCLIBS
+@caindex prog_f77_v
+@caindex prog_fc_v
+@caindex f77_libs
+@caindex fc_libs
 Determine the linker flags (e.g., @option{-L} and @option{-l}) for the
 @dfn{Fortran intrinsic and runtime libraries} that are required to
 successfully link a Fortran program or shared library.  The output
@@ -7967,6 +7996,11 @@ link C/C++ with Fortran; see below.  Further, it is highly recommended
 that you use @code{AC_CONFIG_HEADERS} (@pxref{Configuration Headers})
 because the complex defines that the function wrapper macros create
 may not work with C/C++ compiler drivers.
+
+These macros internally compute the flag needed to verbose linking
+output and cache it in @code{ac_cv_prog_f77_v} or @code{ac_cv_prog_fc_v}
+variables, respectively.  The computed linker flags are cached in
+@code{ac_cv_f77_libs} or @code{ac_cv_fc_libs}, respectively.
 @end defmac
 
 @defmac AC_F77_DUMMY_MAIN (@ovar{action-if-found}, @dvar{action-if-not-found, @
@@ -7977,6 +8011,8 @@ may not work with C/C++ compiler drivers.
 @cvindex F77_DUMMY_MAIN
 @acindex{FC_DUMMY_MAIN}
 @cvindex FC_DUMMY_MAIN
+@caindex f77_dummy_main
+@caindex fc_dummy_main
 With many compilers, the Fortran libraries detected by
 @code{AC_F77_LIBRARY_LDFLAGS} or @code{AC_FC_LIBRARY_LDFLAGS} provide
 their own @code{main} entry function that initializes things like
@@ -8020,6 +8056,9 @@ needed:
 Note that this macro is called automatically from @code{AC_F77_WRAPPERS}
 or @code{AC_FC_WRAPPERS}; there is generally no need to call it
 explicitly unless one wants to change the default actions.
+
+The result of this macro is cached in the @code{ac_cv_f77_dummy_main} or
+@code{ac_cv_fc_dummy_main} variable, respectively.
 @end defmac
 
 @defmac AC_F77_MAIN
@@ -8028,6 +8067,8 @@ explicitly unless one wants to change the default actions.
 @cvindex F77_MAIN
 @acindex{FC_MAIN}
 @cvindex FC_MAIN
+@caindex f77_main
+@caindex fc_main
 As discussed above, many Fortran libraries allow you to provide an entry
 point called (say) @code{MAIN__} instead of the usual @code{main}, which
 is then called by a @code{main} function in the Fortran libraries that
@@ -8050,6 +8091,9 @@ int F77_MAIN (int argc, char *argv[]);
 @end example
 
 (Again, replace @code{F77} with @code{FC} for Fortran instead of Fortran 77.)
+
+The result of this macro is cached in the @code{ac_cv_f77_main} or
+@code{ac_cv_fc_main} variable, respectively.
 @end defmac
 
 @defmac AC_F77_WRAPPERS
@@ -8060,6 +8104,8 @@ int F77_MAIN (int argc, char *argv[]);
 @acindex{FC_WRAPPERS}
 @cvindex FC_FUNC
 @cvindex FC_FUNC_
+@caindex f77_mangling
+@caindex fc_mangling
 Defines C macros @code{F77_FUNC (name, NAME)}, @code{FC_FUNC (name, NAME)},
 @code{F77_FUNC_(name, NAME)}, and @code{FC_FUNC_(name, NAME)} to properly
 mangle the names of C/C++ identifiers, and identifiers with underscores,
@@ -8125,6 +8171,10 @@ you should use @code{F77_FUNC_} or @code{FC_FUNC_} instead of
 @code{F77_FUNC} or @code{FC_FUNC} (with the same arguments).  This is
 because some Fortran compilers mangle names differently if they contain
 an underscore.
+
+The name mangling scheme is encoded in the @code{ac_cv_f77_mangling} or
+@code{ac_cv_fc_mangling} cache variable, respectively, and also used for
+the @code{AC_F77_FUNC} and @code{AC_FC_FUNC} macros described below.
 @end defmac
 
 @defmac AC_F77_FUNC (@var{name}, @ovar{shellvar})
@@ -8189,6 +8239,7 @@ error message).
 @defmac AC_FC_FREEFORM (@ovar{action-if-success}, @dvar{action-if-failure, @
   AC_MSG_FAILURE})
 @acindex{FC_FREEFORM}
+@caindex fc_freeform
 
 Try to ensure that the Fortran compiler (@code{$FC}) allows free-format
 source code (as opposed to the older fixed-format style from Fortran
@@ -8207,11 +8258,15 @@ If @code{AC_FC_FREEFORM} succeeds in compiling free-form source, it
 calls @var{action-if-success} (defaults to nothing).  If it fails, it
 calls @var{action-if-failure} (defaults to exiting with an error
 message).
+
+The result of this test, or @samp{none} or @samp{unknown}, is cached in
+the @code{ac_cv_fc_freeform} variable.
 @end defmac
 
 @defmac AC_FC_FIXEDFORM (@ovar{action-if-success}, @dvar{action-if-failure, @
   AC_MSG_FAILURE})
 @acindex{FC_FIXEDFORM}
+@caindex fc_fixedform
 
 Try to ensure that the Fortran compiler (@code{$FC}) allows the old
 fixed-format source code (as opposed to free-format style).  If
@@ -8229,11 +8284,15 @@ If @code{AC_FC_FIXEDFORM} succeeds in compiling fixed-form source, it
 calls @var{action-if-success} (defaults to nothing).  If it fails, it
 calls @var{action-if-failure} (defaults to exiting with an error
 message).
+
+The result of this test, or @samp{none} or @samp{unknown}, is cached in
+the @code{ac_cv_fc_fixedform} variable.
 @end defmac
 
 @defmac AC_FC_LINE_LENGTH (@ovar{length}, @ovar{action-if-success}, @
   @dvar{action-if-failure, AC_MSG_FAILURE})
 @acindex{FC_LINE_LENGTH}
+@caindex fc_line_length
 
 Try to ensure that the Fortran compiler (@code{$FC}) accepts long source
 code lines.  The @var{length} argument may be given as 80, 132, or
@@ -8246,11 +8305,15 @@ If @code{AC_FC_LINE_LENGTH} succeeds in compiling fixed-form source, it
 calls @var{action-if-success} (defaults to nothing).  If it fails, it
 calls @var{action-if-failure} (defaults to exiting with an error
 message).
+
+The result of this test, or @samp{none} or @samp{unknown}, is cached in
+the @code{ac_cv_fc_line_length} variable.
 @end defmac
 
 @defmac AC_FC_CHECK_BOUNDS (@ovar{action-if-success}, @
   @dvar{action-if-failure, AC_MSG_FAILURE})
 @acindex{FC_CHECK_BOUNDS}
+@caindex fc_check_bounds
 
 The @code{AC_FC_CHECK_BOUNDS} macro tries to enable array bounds checking
 in the Fortran compiler.  If successful, the @var{action-if-success}
@@ -8268,6 +8331,8 @@ variable.
   @dvar{action-if-failure, AC_MSG_FAILURE})
 @acindex{F77_IMPLICIT_NONE}
 @acindex{FC_IMPLICIT_NONE}
+@caindex f77_implicit_none
+@caindex fc_implicit_none
 
 Try to disallow implicit declarations in the Fortran compiler.  If
 successful, @var{action-if-success} is called and any needed flags
diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4
index 237cdd9..84f3162 100644
--- a/lib/autoconf/fortran.m4
+++ b/lib/autoconf/fortran.m4
@@ -1470,7 +1470,7 @@ AC_LANG_POP([Fortran])dnl
 # Compaq: -u, -warn declarations
 # NAGWare: -u
 # Lahey: -in, --in, -AT
-# Cray: -Mdclchk -d i
+# Cray: -Mdclchk -e I
 # PGI: -Mcdlchk
 # f2c: -u
 AC_DEFUN([_AC_FC_IMPLICIT_NONE],
@@ -1480,7 +1480,7 @@ AC_CACHE_CHECK([for flag to disallow _AC_LANG implicit declarations],
 [ac_cv_[]_AC_LANG_ABBREV[]_implicit_none=unknown
 ac_fc_implicit_none_[]_AC_LANG_PREFIX[]FLAGS_save=$[]_AC_LANG_PREFIX[]FLAGS
 for ac_flag in none -fimplicit-none -u -Wimplicit -implicitnone +implicit_none \
-               -qundef "-warn declarations" -in --in -AT "-d i" -Mdclchk \
+               -qundef "-warn declarations" -in --in -AT "-e I" -Mdclchk \
                "-u -warn errors"
 do
   if test "x$ac_flag" != xnone; then


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Tue Mar 08 14:50:00 2011
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Px2uu-0000gP-Ew
	for mharc-autoconf-commit@gnu.org; Tue, 08 Mar 2011 14:50:00 -0500
Received: from [140.186.70.92] (port=49163 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Px2us-0000gK-Ux
	for autoconf-commit@gnu.org; Tue, 08 Mar 2011 14:49:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Px2ur-0000HW-NJ
	for autoconf-commit@gnu.org; Tue, 08 Mar 2011 14:49:58 -0500
Received: from colonialone.fsf.org ([140.186.70.51]:46806
	helo=internal.in.savannah.gnu.org)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Px2ur-0000HJ-Fn
	for autoconf-commit@gnu.org; Tue, 08 Mar 2011 14:49:57 -0500
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by internal.in.savannah.gnu.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Px2uq-00037U-Rt
	for autoconf-commit@gnu.org; Tue, 08 Mar 2011 19:49:56 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Px2uq-0004uI-7D
	for autoconf-commit@gnu.org; Tue, 08 Mar 2011 19:49:56 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: autoconf-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 63aaea5ecd84c39de578c85dd9eda3bf642322f9
X-Git-Newrev: f3c183d084bd8bcdf2a0960f20ab83136c15bc4b
Message-Id: <E1Px2uq-0004uI-7D@vcs-noshell.in.savannah.gnu.org>
Date: Tue, 08 Mar 2011 19:49:56 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.51
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.68-58-gf3c183d
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf-commit>
List-Post: <mailto:autoconf-commit@gnu.org>
List-Help: <mailto:autoconf-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Mar 2011 19:50:00 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=f3c183d084bd8bcdf2a0960f20ab83136c15bc4b

The branch, master has been updated
       via  f3c183d084bd8bcdf2a0960f20ab83136c15bc4b (commit)
       via  fd0e10b3f3173b43d7ecc644f6f9db34fcc74811 (commit)
      from  63aaea5ecd84c39de578c85dd9eda3bf642322f9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f3c183d084bd8bcdf2a0960f20ab83136c15bc4b
Author: Colin Watson <cjwatson@debian.org>
Date:   Fri Mar 4 21:55:03 2011 +0100

    docs: Document AC_FUNC_FORK cache variables.
    
    * doc/autoconf.texi (Particular Functions): Document AC_FUNC_FORK
    cache variables.
    * THANKS: Update.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

commit fd0e10b3f3173b43d7ecc644f6f9db34fcc74811
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Mar 6 13:28:42 2011 +0100

    docs: BSD and Solaris make trailing space macro issue.
    
    * doc/autoconf.texi (Trailing whitespace in Make Macros):
    Document issue with trailing whitespace in macro settings.
    
    Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |   13 +++++++++++++
 THANKS            |    1 +
 doc/autoconf.texi |   18 ++++++++++++++++++
 3 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ed4c467..30dfced 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2011-03-08  Colin Watson  <cjwatson@debian.org>  (tiny change)
+	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* doc/autoconf.texi (Particular Functions): Document AC_FUNC_FORK
+	cache variables.
+	* THANKS: Update.
+
+2011-03-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	docs: BSD and Solaris make trailing space macro issue.
+	* doc/autoconf.texi (Trailing whitespace in Make Macros):
+	Document issue with trailing whitespace in macro settings.
+
 2011-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Fix Cray Fortran flag for AC_FC_IMPLICIT_NONE.
diff --git a/THANKS b/THANKS
index 648a501..887405f 100644
--- a/THANKS
+++ b/THANKS
@@ -83,6 +83,7 @@ Christian Rössel            christian.roessel@gmx.de
 Christopher Hulbert         cchgroupmail@gmail.com
 Christopher Lee             chrislee@ri.cmu.edu
 Clinton Roy                 clinton.roy@gmail.com
+Colin Watson                cjwatson@debian.org
 Corinna Vinschen            corinna-cygwin@cygwin.com
 Cort Dougan                 cort@cs.nmt.edu
 D'Arcy A MacIsaac           ?
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index b552883..ea9e560 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -5004,6 +5004,11 @@ yourself in new code:
 #endif
 @end group
 @end example
+
+The results of this macro are cached in the @code{ac_cv_func_fork_works}
+and @code{ac_cv_func_vfork_works} variables.  In order to override the
+test, you also need to set the @code{ac_cv_func_fork} and
+@code{ac_cv_func_vfork} variables.
 @end defmac
 
 @defmac AC_FUNC_FSEEKO
@@ -19853,6 +19858,19 @@ print: ; @@echo $(foo:=.test)
 @noindent
 prints @samp{bar.test .test}.
 
+BSD and Solaris @command{make} implementations do not honor trailing
+whitespace in macro definitions as Posix requires:
+
+@example
+foo = bar # Note the space after "bar".
+print: ; @@echo $(foo)t
+@end example
+
+@noindent
+prints @samp{bart} instead of @samp{bar t}.  To work around this, you
+can use a helper macro as in the previous example.
+
+
 @node Command-line Macros and whitespace
 @section Command-line Macros and whitespace
 @cindex whitespace in command-line macros


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Sun Mar 27 13:26:59 2011
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Q3tjv-000136-6a
	for mharc-autoconf-commit@gnu.org; Sun, 27 Mar 2011 13:26:59 -0400
Received: from [140.186.70.92] (port=38702 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Q3tjt-0000xS-0Z
	for autoconf-commit@gnu.org; Sun, 27 Mar 2011 13:26:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Q3tjr-0002Is-QX
	for autoconf-commit@gnu.org; Sun, 27 Mar 2011 13:26:56 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:46190)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Q3tjr-0002Io-MU
	for autoconf-commit@gnu.org; Sun, 27 Mar 2011 13:26:55 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by colonialone.fsf.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Q3tjr-0006lG-FZ
	for autoconf-commit@gnu.org; Sun, 27 Mar 2011 17:26:55 +0000
Received: from rwild by vcs-noshell.in.savannah.gnu.org with local (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1Q3tjq-00065f-TO
	for autoconf-commit@gnu.org; Sun, 27 Mar 2011 17:26:55 +0000
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
To: autoconf-commit@gnu.org
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: f3c183d084bd8bcdf2a0960f20ab83136c15bc4b
X-Git-Newrev: bc9e46833ee0aaf3dc47880494c2695b651a07f8
Message-Id: <E1Q3tjq-00065f-TO@vcs-noshell.in.savannah.gnu.org>
Date: Sun, 27 Mar 2011 17:26:55 +0000
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.51
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.68-59-gbc9e468
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf-commit>
List-Post: <mailto:autoconf-commit@gnu.org>
List-Help: <mailto:autoconf-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Mar 2011 17:26:58 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=bc9e46833ee0aaf3dc47880494c2695b651a07f8

The branch, master has been updated
       via  bc9e46833ee0aaf3dc47880494c2695b651a07f8 (commit)
      from  f3c183d084bd8bcdf2a0960f20ab83136c15bc4b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bc9e46833ee0aaf3dc47880494c2695b651a07f8
Author: Jim Meyering <meyering@redhat.com>
Date:   Sat Mar 26 21:50:43 2011 +0100

    README-hacking: fix typo
    
    * README-hacking: s/just build/just built/.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog      |    5 +++++
 README-hacking |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 30dfced..e741276 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-26  Jim Meyering  <meyering@redhat.com>
+
+	README-hacking: fix typo
+	* README-hacking: s/just build/just built/.
+
 2011-03-08  Colin Watson  <cjwatson@debian.org>  (tiny change)
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/README-hacking b/README-hacking
index e8d51a0..a15e7d8 100644
--- a/README-hacking
+++ b/README-hacking
@@ -75,7 +75,7 @@ The next step is to generate files like configure and Makefile.in:
 
 Since we're building autoconf itself, and its tests are picky, the
 following procedure includes an extra step to ensure that some
-generated files are regenerated using the tools just build by "make"
+generated files are regenerated using the tools just built by "make"
 (if you use GNU make, the file GNUmakefile sets PATH for you):
 
   $ ./configure


hooks/post-receive
-- 
GNU Autoconf source repository


