From MAILER-DAEMON Thu May 03 12:55:48 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPzJk-0006bU-GU
	for mharc-autoconf-commit@gnu.org; Thu, 03 May 2012 12:55:48 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40204)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SPzJc-0006an-4J
	for autoconf-commit@gnu.org; Thu, 03 May 2012 12:55:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SPzJU-0002Fs-R0
	for autoconf-commit@gnu.org; Thu, 03 May 2012 12:55:39 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:56661)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SPzJU-0002Fg-NS
	for autoconf-commit@gnu.org; Thu, 03 May 2012 12:55:32 -0400
Received: from ericb by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SPzJT-0004r7-Q6
	for autoconf-commit@gnu.org; Thu, 03 May 2012 16:55:32 +0000
Date: Thu, 03 May 2012 16:55:31 +0000
Message-Id: <E1SPzJT-0004r7-Q6@vcs.savannah.gnu.org>
From: "Eric Blake" <eblake@redhat.com>
To: autoconf-commit@gnu.org
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.69-3-g7fbb553
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 2d4eb959325a8c7af0c03c9ed580c563b04d77cb
X-Git-Newrev: 7fbb553727ed7e0e689a17594b58559ecf3ea6e9
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/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: <https://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 16:55:46 -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=7fbb553727ed7e0e689a17594b58559ecf3ea6e9

The branch, master has been updated
       via  7fbb553727ed7e0e689a17594b58559ecf3ea6e9 (commit)
       via  926a43c86d0c6c896079fd0f1363f943075e43b7 (commit)
      from  2d4eb959325a8c7af0c03c9ed580c563b04d77cb (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 7fbb553727ed7e0e689a17594b58559ecf3ea6e9
Author: Bruno Haible <bruno@clisp.org>
Date:   Wed May 2 23:02:49 2012 +0200

    functions: improve cross-compilation guesses for glibc system hosts
    
    Paul and Eric suggested that improving the cross-compilation guesses
    for targets that are glibc systems would be welcome here [1][2].
    
    This patch modifies the cross-compilation behaviour of
      AC_FUNC_CHOWN
      AC_FUNC_GETGROUPS
      AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
      AC_FUNC_MALLOC
      AC_FUNC_MMAP
      AC_FUNC_REALLOC
      AC_FUNC_STRCOLL
    so that when the target is a glibc system (or, in case of AC_FUNC_MALLOC
    and AC_FUNC_REALLOC, any known "good" Unix system), the guess is
    "yes it works" rather than "guessing no".
    
    This is important because some of these macros are used in Gnulib, and
    in case of "guessing no" Gnulib provides extra workaround code, and
      1) Generally, when targetting embedded systems, code size should be
         minimized,
      2) In [3], unnecessary workaround code will look like a Glibc bug.
    
    This patch also changes the configure output to "guessing yes" or
    "guessing no" in a case where the ac_cv_* variable is undocumented.
    
    [1] http://lists.gnu.org/archive/html/bug-gnulib/2012-05/msg00010.html
    [2] http://lists.gnu.org/archive/html/bug-gnulib/2012-05/msg00013.html
    [3] http://sourceware.org/glibc/wiki/Testing/Gnulib
    
    This patch was tested with the simple configure.ac file
    =============== configure.ac ==================
    AC_INIT([dummy], [0])
    AC_FUNC_CHOWN
    AC_FUNC_GETGROUPS
    AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
    AC_FUNC_MALLOC
    AC_FUNC_MMAP
    AC_FUNC_REALLOC
    AC_FUNC_STRCOLL
    AC_OUTPUT
    ===============================================
    
    * lib/autoconf/functions.m4 (AC_FUNC_CHOWN): Require AC_CANONICAL_HOST.
    When cross-compiling to a glibc system, guess yes.
    (AC_FUNC_GETGROUPS): Likewise.
    (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Likewise.
    (AC_FUNC_STRCOLL): Likewise.
    (_AC_FUNC_MALLOC_IF): Require AC_CANONICAL_HOST. When cross-compiling
    to a know Unix system other than AIX and OSF/1, guess yes.
    (_AC_FUNC_REALLOC_IF): Likewise.
    (AC_FUNC_MMAP): Require AC_CANONICAL_HOST. When cross-compiling to a
    system with a Linux kernel, guess yes.

commit 926a43c86d0c6c896079fd0f1363f943075e43b7
Author: Eric Blake <eblake@redhat.com>
Date:   Thu May 3 09:28:20 2012 -0600

    doc: fix another bad @xref
    
    Obviously, I didn't fully test commit f35498d.
    
    * doc/autoconf.texi (Limitations of Builtins): Add a comma.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>

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

Summary of changes:
 doc/autoconf.texi         |    2 +-
 lib/autoconf/functions.m4 |   76 ++++++++++++++++++++++++++++++++++++--------
 2 files changed, 63 insertions(+), 15 deletions(-)

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 34ca213..393e38f 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -17874,7 +17874,7 @@ for an @command{echo} that does not interpret @samp{\} or leading
 @samp{-}. With Solaris @command{ksh}, it is possible to use @code{print
 -r --} for this role instead.
 
-@xref{echo, , Limitations of Shell Builtins} for a discussion of
+@xref{echo, , Limitations of Shell Builtins}, for a discussion of
 portable alternatives to both @command{printf} and @command{echo}.
 
 
diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4
index 6f21fd5..97cb7b9 100644
--- a/lib/autoconf/functions.m4
+++ b/lib/autoconf/functions.m4
@@ -423,6 +423,7 @@ AU_ALIAS([AC_ALLOCA], [AC_FUNC_ALLOCA])
 AN_FUNCTION([chown], [AC_FUNC_CHOWN])
 AC_DEFUN([AC_FUNC_CHOWN],
 [AC_REQUIRE([AC_TYPE_UID_T])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles
 AC_CHECK_HEADERS(unistd.h)
 AC_CACHE_CHECK([for working chown], ac_cv_func_chown_works,
 [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
@@ -443,7 +444,12 @@ AC_CACHE_CHECK([for working chown], ac_cv_func_chown_works,
 ]])],
 	       [ac_cv_func_chown_works=yes],
 	       [ac_cv_func_chown_works=no],
-	       [ac_cv_func_chown_works=no])
+	       [case "$host_os" in # ((
+			  # Guess yes on glibc systems.
+		  *-gnu*) ac_cv_func_chown_works=yes ;;
+			  # If we don't know, assume the worst.
+		  *)      ac_cv_func_chown_works=no ;;
+		esac])
 rm -f conftest.chown
 ])
 if test $ac_cv_func_chown_works = yes; then
@@ -625,6 +631,7 @@ AN_FUNCTION([getgroups], [AC_FUNC_GETGROUPS])
 AC_DEFUN([AC_FUNC_GETGROUPS],
 [AC_REQUIRE([AC_TYPE_GETGROUPS])dnl
 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles
 AC_CHECK_FUNC(getgroups)
 
 # If we don't yet have getgroups, see if it's in -lbsd.
@@ -643,15 +650,22 @@ if test $ac_cv_func_getgroups = yes; then
        return getgroups (0, 0) == -1;]])],
 		  [ac_cv_func_getgroups_works=yes],
 		  [ac_cv_func_getgroups_works=no],
-		  [ac_cv_func_getgroups_works=no])
+		  [case "$host_os" in # ((
+			     # Guess yes on glibc systems.
+		     *-gnu*) ac_cv_func_getgroups_works="guessing yes" ;;
+			     # If we don't know, assume the worst.
+		     *)      ac_cv_func_getgroups_works="guessing no" ;;
+		   esac])
    ])
 else
   ac_cv_func_getgroups_works=no
 fi
-if test $ac_cv_func_getgroups_works = yes; then
-  AC_DEFINE(HAVE_GETGROUPS, 1,
-	    [Define to 1 if your system has a working `getgroups' function.])
-fi
+case "$ac_cv_func_getgroups_works" in
+  *yes)
+    AC_DEFINE(HAVE_GETGROUPS, 1,
+	      [Define to 1 if your system has a working `getgroups' function.])
+    ;;
+esac
 LIBS=$ac_save_LIBS
 ])# AC_FUNC_GETGROUPS
 
@@ -847,7 +861,8 @@ fi
 # calls lstat a second time when necessary.
 AN_FUNCTION([lstat], [AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
 AC_DEFUN([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK],
-[AC_CACHE_CHECK(
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles
+AC_CACHE_CHECK(
        [whether lstat correctly handles trailing slash],
        [ac_cv_func_lstat_dereferences_slashed_symlink],
 [rm -f conftest.sym conftest.file
@@ -861,7 +876,12 @@ if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
      return lstat ("conftest.sym/", &sbuf) == 0;])],
 		[ac_cv_func_lstat_dereferences_slashed_symlink=yes],
 		[ac_cv_func_lstat_dereferences_slashed_symlink=no],
-		[ac_cv_func_lstat_dereferences_slashed_symlink=no])
+		[case "$host_os" in # ((
+			   # Guess yes on glibc systems.
+		   *-gnu*) ac_cv_func_lstat_dereferences_slashed_symlink=yes ;;
+			   # If we don't know, assume the worst.
+		   *)      ac_cv_func_lstat_dereferences_slashed_symlink=no ;;
+		 esac])
 else
   # If the `ln -s' command failed, then we probably don't even
   # have an lstat function.
@@ -886,6 +906,7 @@ fi
 # If `malloc (0)' properly handled, run IF-WORKS, otherwise, IF-NOT.
 AC_DEFUN([_AC_FUNC_MALLOC_IF],
 [AC_REQUIRE([AC_HEADER_STDC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles
 AC_CHECK_HEADERS(stdlib.h)
 AC_CACHE_CHECK([for GNU libc compatible malloc], ac_cv_func_malloc_0_nonnull,
 [AC_RUN_IFELSE(
@@ -899,7 +920,14 @@ char *malloc ();
 		 [return ! malloc (0);])],
 	       [ac_cv_func_malloc_0_nonnull=yes],
 	       [ac_cv_func_malloc_0_nonnull=no],
-	       [ac_cv_func_malloc_0_nonnull=no])])
+	       [case "$host_os" in # ((
+		  # Guess yes on platforms where we know the result.
+		  *-gnu* | freebsd* | netbsd* | openbsd* \
+		  | hpux* | solaris* | cygwin* | mingw*)
+		    ac_cv_func_malloc_0_nonnull=yes ;;
+		  # If we don't know, assume the worst.
+		  *) ac_cv_func_malloc_0_nonnull=no ;;
+		esac])])
 AS_IF([test $ac_cv_func_malloc_0_nonnull = yes], [$1], [$2])
 ])# _AC_FUNC_MALLOC_IF
 
@@ -1199,7 +1227,8 @@ AU_ALIAS([AM_FUNC_MKTIME], [AC_FUNC_MKTIME])
 # ------------
 AN_FUNCTION([mmap], [AC_FUNC_MMAP])
 AC_DEFUN([AC_FUNC_MMAP],
-[AC_CHECK_HEADERS_ONCE([stdlib.h unistd.h sys/param.h])
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles
+AC_CHECK_HEADERS_ONCE([stdlib.h unistd.h sys/param.h])
 AC_CHECK_FUNCS([getpagesize])
 AC_CACHE_CHECK([for working mmap], [ac_cv_func_mmap_fixed_mapped],
 [AC_RUN_IFELSE([AC_LANG_SOURCE([AC_INCLUDES_DEFAULT]
@@ -1340,7 +1369,12 @@ main ()
 }]])],
 	       [ac_cv_func_mmap_fixed_mapped=yes],
 	       [ac_cv_func_mmap_fixed_mapped=no],
-	       [ac_cv_func_mmap_fixed_mapped=no])])
+	       [case "$host_os" in # ((
+			  # Guess yes on platforms where we know the result.
+		  linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
+			  # If we don't know, assume the worst.
+		  *)      ac_cv_func_mmap_fixed_mapped=no ;;
+		esac])])
 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   AC_DEFINE([HAVE_MMAP], [1],
 	    [Define to 1 if you have a working `mmap' system call.])
@@ -1391,6 +1425,7 @@ AU_ALIAS([AM_FUNC_OBSTACK], [AC_FUNC_OBSTACK])
 # If `realloc (0, 0)' is properly handled, run IF-WORKS, otherwise, IF-NOT.
 AC_DEFUN([_AC_FUNC_REALLOC_IF],
 [AC_REQUIRE([AC_HEADER_STDC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles
 AC_CHECK_HEADERS(stdlib.h)
 AC_CACHE_CHECK([for GNU libc compatible realloc], ac_cv_func_realloc_0_nonnull,
 [AC_RUN_IFELSE(
@@ -1404,7 +1439,14 @@ char *realloc ();
 		 [return ! realloc (0, 0);])],
 	       [ac_cv_func_realloc_0_nonnull=yes],
 	       [ac_cv_func_realloc_0_nonnull=no],
-	       [ac_cv_func_realloc_0_nonnull=no])])
+	       [case "$host_os" in # ((
+		  # Guess yes on platforms where we know the result.
+		  *-gnu* | freebsd* | netbsd* | openbsd* \
+		  | hpux* | solaris* | cygwin* | mingw*)
+		    ac_cv_func_realloc_0_nonnull=yes ;;
+		  # If we don't know, assume the worst.
+		  *) ac_cv_func_realloc_0_nonnull=no ;;
+		esac])])
 AS_IF([test $ac_cv_func_realloc_0_nonnull = yes], [$1], [$2])
 ])# AC_FUNC_REALLOC
 
@@ -1723,14 +1765,20 @@ AU_ALIAS([AC_SETVBUF_REVERSED], [AC_FUNC_SETVBUF_REVERSED])
 # ---------------
 AN_FUNCTION([strcoll], [AC_FUNC_STRCOLL])
 AC_DEFUN([AC_FUNC_STRCOLL],
-[AC_CACHE_CHECK(for working strcoll, ac_cv_func_strcoll_works,
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles
+AC_CACHE_CHECK(for working strcoll, ac_cv_func_strcoll_works,
 [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
   [[return (strcoll ("abc", "def") >= 0 ||
 	 strcoll ("ABC", "DEF") >= 0 ||
 	 strcoll ("123", "456") >= 0)]])],
 	       ac_cv_func_strcoll_works=yes,
 	       ac_cv_func_strcoll_works=no,
-	       ac_cv_func_strcoll_works=no)])
+	       [case "$host_os" in # ((
+			  # Guess yes on glibc systems.
+		  *-gnu*) ac_cv_func_strcoll_works=yes ;;
+			  # If we don't know, assume the worst.
+		  *)      ac_cv_func_strcoll_works=no ;;
+		esac])])
 if test $ac_cv_func_strcoll_works = yes; then
   AC_DEFINE(HAVE_STRCOLL, 1,
 	    [Define to 1 if you have the `strcoll' function and it is properly


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Tue May 22 18:13:52 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SWxKy-0001Ka-Na
	for mharc-autoconf-commit@gnu.org; Tue, 22 May 2012 18:13:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39230)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SWxKv-0001KD-E2
	for autoconf-commit@gnu.org; Tue, 22 May 2012 18:13:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SWxKs-0000Yx-OY
	for autoconf-commit@gnu.org; Tue, 22 May 2012 18:13:49 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:49458)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SWxKs-0000Yp-L3
	for autoconf-commit@gnu.org; Tue, 22 May 2012 18:13:46 -0400
Received: from slattarini by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SWxKr-0001IY-Ov
	for autoconf-commit@gnu.org; Tue, 22 May 2012 22:13:46 +0000
Date: Tue, 22 May 2012 22:13:45 +0000
Message-Id: <E1SWxKr-0001IY-Ov@vcs.savannah.gnu.org>
From: "Stefano Lattarini" <stefano.lattarini@gmail.com>
To: autoconf-commit@gnu.org
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.69-4-g560f16b
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 7fbb553727ed7e0e689a17594b58559ecf3ea6e9
X-Git-Newrev: 560f16b52d3d3db1536d9ca5b863ce9b1a5c9e35
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/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: <https://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 May 2012 22:13:51 -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=560f16b52d3d3db1536d9ca5b863ce9b1a5c9e35

The branch, master has been updated
       via  560f16b52d3d3db1536d9ca5b863ce9b1a5c9e35 (commit)
      from  7fbb553727ed7e0e689a17594b58559ecf3ea6e9 (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 560f16b52d3d3db1536d9ca5b863ce9b1a5c9e35
Author: Stefano Lattarini <stefano.lattarini@gmail.com>
Date:   Sun May 6 10:38:01 2012 +0200

    general: deprecate 'configure.in' as autoconf input
    
    It has been years since that has been deprecated in the documentation,
    in favour of 'configure.ac':
    
      Previous versions of Autoconf promoted the name configure.in, which
      is somewhat ambiguous (the tool needed to process this file is not
      described by its extension), and introduces a slight confusion with
      config.h.in and so on (for which '.in' means "to be processed by
      configure"). Using configure.ac is now preferred.
    
    It's now time to start giving runtime warning about the use of
    'configure.in', so that support for it can be removed in future
    versions of autoconf/automake.
    
    * lib/Autom4te/Configure_ac.pm: Issue a warning in the 'obsolete'
    category if 'configure.in' is detected.  Since this module is synced
    from Automake, this change is to be backported there (and will be
    soon).
    * doc/autoconf.texi: Update.
    * tests/tools.at: Adjust to avoid spurious failures.
    
    Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>

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

Summary of changes:
 NEWS                         |    2 ++
 doc/autoconf.texi            |    9 +++++----
 lib/Autom4te/Configure_ac.pm |   19 ++++++++++---------
 tests/tools.at               |   28 ++++++++++++++--------------
 4 files changed, 31 insertions(+), 27 deletions(-)

diff --git a/NEWS b/NEWS
index 61e3bd2..5429698 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@ GNU Autoconf NEWS - User visible changes.
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** The use of the long-deprecated name 'configure.in' for the autoconf
+   input file now elicits a warning in the 'obsolete' category.
 
 * Noteworthy changes in release 2.69 (2012-04-24) [stable]
 
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 393e38f..3457f12 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -1004,10 +1004,9 @@ a file called @file{config.log} containing any messages produced by
 compilers, to help debugging if @command{configure} makes a mistake.
 @end itemize
 
-@cindex @file{configure.in}
 @cindex @file{configure.ac}
-To create a @command{configure} script with Autoconf, you need to write an
-Autoconf input file @file{configure.ac} (or @file{configure.in}) and run
+To create a @command{configure} script with Autoconf, you need
+to write an Autoconf input file @file{configure.ac} and run
 @command{autoconf} on it.  If you write your own feature tests to
 supplement those that come with Autoconf, you might also write files
 called @file{aclocal.m4} and @file{acsite.m4}.  If you use a C header
@@ -1095,12 +1094,14 @@ Programming}.  The @command{autoscan} program can give you a good start
 in writing @file{configure.ac} (@pxref{autoscan Invocation}, for more
 information).
 
+@cindex @file{configure.in}
 Previous versions of Autoconf promoted the name @file{configure.in},
 which is somewhat ambiguous (the tool needed to process this file is not
 described by its extension), and introduces a slight confusion with
 @file{config.h.in} and so on (for which @samp{.in} means ``to be
 processed by @command{configure}'').  Using @file{configure.ac} is now
-preferred.
+preferred, while the use of @file{configure.in} will cause warnings
+from @command{autoconf}.
 
 @menu
 * Shell Script Compiler::       Autoconf as solution of a problem
diff --git a/lib/Autom4te/Configure_ac.pm b/lib/Autom4te/Configure_ac.pm
index 924b23c..854ee0d 100644
--- a/lib/Autom4te/Configure_ac.pm
+++ b/lib/Autom4te/Configure_ac.pm
@@ -75,19 +75,21 @@ sub find_configure_ac (;@)
   my $configure_in =
     File::Spec->canonpath (File::Spec->catfile ($directory, 'configure.in'));
 
-  if (-f $configure_ac)
+  if (-f $configure_in)
     {
-      if (-f $configure_in)
+      msg ('obsolete', "autoconf input should be named 'configure.ac'," .
+                       " not 'configure.in'");
+      if (-f $configure_ac)
 	{
 	  msg ('unsupported',
 	       "'$configure_ac' and '$configure_in' both present.\n"
 	       . "proceeding with '$configure_ac'");
+          return $configure_ac
 	}
-      return $configure_ac
-    }
-  elsif (-f $configure_in)
-    {
-      return $configure_in;
+      else
+        {
+          return $configure_in;
+        }
     }
   return $configure_ac;
 }
@@ -102,8 +104,7 @@ Like C<find_configure_ac>, but fail if neither is present.
 sub require_configure_ac (;$)
 {
   my $res = find_configure_ac (@_);
-  fatal "'configure.ac' or 'configure.in' is required"
-    unless -f $res;
+  fatal "'configure.ac' is required" unless -f $res;
   return $res
 }
 
diff --git a/tests/tools.at b/tests/tools.at
index 31d4aad..5a9ee63 100644
--- a/tests/tools.at
+++ b/tests/tools.at
@@ -1135,7 +1135,7 @@ AT_SETUP([autoupdating with aclocal and m4@&t@_include])
 AT_CHECK([aclocal --version || exit 77], [], [ignore], [ignore])
 
 mkdir m4 aclocal
-AT_DATA([configure.in],
+AT_DATA([configure.ac],
 [[AC_INIT(x,0)
 AC_UNCHANGED_MACRO
 AC_OLD_MACRO
@@ -1169,7 +1169,7 @@ AT_CHECK([automake --version || exit 77], [], [stdout], [ignore])
 AT_CHECK([[grep '[1-9]\.[0-9]' stdout || exit 77]], [], [ignore])
 AT_CHECK([test ! -f $HOME/.autom4te.cfg || exit 77], [], [ignore], [ignore])
 
-AT_DATA([configure.in],
+AT_DATA([configure.ac],
 [[AC_INIT(GNU foo, 1.0)
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([Makefile])
@@ -1294,9 +1294,9 @@ do
   export TMPDIR
 
   # skip if we cannot create such a file or directory
-  AT_CHECK([mkdir "$dir" "$TMPDIR" && touch "$file.in" || exit 77])
+  AT_CHECK([mkdir "$dir" "$TMPDIR" && touch "$file.ac" || exit 77])
 
-  cat >"$file.in" <<'END'
+  cat >"$file.ac" <<'END'
 [AC_INIT(x,0)
 m4@&t@_include([foo.m4])
 AC_CONFIG_HEADERS([config.h:config.hin])
@@ -1307,20 +1307,20 @@ END
 [AC_DEFUN([AC_MACRO], [echo hi])]
 END
 
-  AT_CHECK_AUTOHEADER([-B "$dir" "$file.in"])
-  AT_CHECK_AUTOHEADER([--force -I "$dir" "$file.in"])
-  AT_CHECK_AUTOUPDATE([-B "$dir" "$file.in"])
-  AT_CHECK_AUTOUPDATE([--force -I "$dir" "$file.in"])
-  AT_CHECK_AUTOUPDATE([-B "$dir" - < "$file.in"], [], [ignore])
-  AT_CHECK_AUTOCONF([-B "$dir" -o "$file" "$file.in"])
-  AT_CHECK_AUTOCONF([-I "$dir" -o "$file" "$file.in"])
+  AT_CHECK_AUTOHEADER([-B "$dir" "$file.ac"])
+  AT_CHECK_AUTOHEADER([--force -I "$dir" "$file.ac"])
+  AT_CHECK_AUTOUPDATE([-B "$dir" "$file.ac"])
+  AT_CHECK_AUTOUPDATE([--force -I "$dir" "$file.ac"])
+  AT_CHECK_AUTOUPDATE([-B "$dir" - < "$file.ac"], [], [ignore])
+  AT_CHECK_AUTOCONF([-B "$dir" -o "$file" "$file.ac"])
+  AT_CHECK_AUTOCONF([-I "$dir" -o "$file" "$file.ac"])
   # In autoconf, these exercise a slightly different code path:
-  AT_CHECK_AUTOCONF([--prepend-include="$dir" -o "$file" "$file.in"])
-  AT_CHECK_AUTOCONF([--include="$dir" -o "$file" "$file.in"])
+  AT_CHECK_AUTOCONF([--prepend-include="$dir" -o "$file" "$file.ac"])
+  AT_CHECK_AUTOCONF([--include="$dir" -o "$file" "$file.ac"])
   AT_CHECK([autoscan -B "$dir"], [], [], [ignore])
   AT_CHECK([autoscan --force -I "$dir"], [], [], [ignore])
   # autoreconf requires a sane input file name.  Also, disable aclocal.
-  mv -f "$file.in" configure.in
+  mv -f "$file.ac" configure.ac
   AT_DATA([aclocal.m4])
   AT_CHECK([autoreconf -B "$dir"])
   AT_CHECK([autoreconf --force -I "$dir"])


hooks/post-receive
-- 
GNU Autoconf source repository


From MAILER-DAEMON Tue May 29 08:31:18 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SZLa2-0003gB-6k
	for mharc-autoconf-commit@gnu.org; Tue, 29 May 2012 08:31:18 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34780)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SZLZs-0003fq-7R
	for autoconf-commit@gnu.org; Tue, 29 May 2012 08:31:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SZLZi-0001fR-9e
	for autoconf-commit@gnu.org; Tue, 29 May 2012 08:31:07 -0400
Received: from vcs.savannah.gnu.org ([140.186.70.72]:57592)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SZLZi-0001fE-68
	for autoconf-commit@gnu.org; Tue, 29 May 2012 08:30:58 -0400
Received: from meyering by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1SZLZf-00063U-JU
	for autoconf-commit@gnu.org; Tue, 29 May 2012 12:30:57 +0000
Date: Tue, 29 May 2012 12:30:55 +0000
Message-Id: <E1SZLZf-00063U-JU@vcs.savannah.gnu.org>
From: "Jim Meyering" <meyering@redhat.com>
To: autoconf-commit@gnu.org
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.69-5-gb29e5e7
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 560f16b52d3d3db1536d9ca5b863ce9b1a5c9e35
X-Git-Newrev: b29e5e79d5203400c4366c61d998bd9cdf30ef0d
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/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: <https://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 29 May 2012 12:31: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=b29e5e79d5203400c4366c61d998bd9cdf30ef0d

The branch, master has been updated
       via  b29e5e79d5203400c4366c61d998bd9cdf30ef0d (commit)
      from  560f16b52d3d3db1536d9ca5b863ce9b1a5c9e35 (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 b29e5e79d5203400c4366c61d998bd9cdf30ef0d
Author: Jim Meyering <meyering@redhat.com>
Date:   Tue May 29 12:33:46 2012 +0200

    maint: fix typos in old ChangeLog files
    
    Culprits identified and fixed automatically using these commands:
    git ls-files | misspellings -f - |grep -v '^ERROR:' |perl -pe \
    's/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/sed -i '\''${2}s!$3!$4!'\'' $1/'\
    |bash
    using http://github.com/lyda/misspell-check
    * ChangeLog.2, ChangeLog.3: Fix typos.

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

Summary of changes:
 ChangeLog.2 |    8 ++++----
 ChangeLog.3 |   14 +++++++-------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/ChangeLog.2 b/ChangeLog.2
index 30571bf..f5be7d8 100644
--- a/ChangeLog.2
+++ b/ChangeLog.2
@@ -9240,7 +9240,7 @@
 	* acgeneral.m4 (AC_CONFIG_LINKS): New macro.  Takes space
 	separated list of DEST:SOURCES arguments.
 
-	* acgeneral.m4: Rename each occurence of AC_LIST_HEADER as
+	* acgeneral.m4: Rename each occurrence of AC_LIST_HEADER as
 	AC_LIST_HEADERS for consistency.
 
 	* acgeneral.m4 (AC_OUTPUT, config.status prologue): Move the
@@ -9475,7 +9475,7 @@
 
 1999-09-25  Akim Demaille  <akim@epita.fr>
 
-	* acgeneral.m4: Rename the occurences of the variable `confstat'
+	* acgeneral.m4: Rename the occurrences of the variable `confstat'
 	as `ac_cs_root'.  The previous name was breaking the naming
 	scheme.
 
@@ -10294,7 +10294,7 @@
 
 	* acgeneral.m4 (AC_CANONICAL_SYSTEM): Explicitly require
 	AC_CANONICAL_HOST, AC_CANONICAL_TARGET and AC_CONICAL_BUILD.
-	(AC_CONFIG_AUX_DIR): Run auxillary shell scripts through $SHELL.
+	(AC_CONFIG_AUX_DIR): Run auxiliary shell scripts through $SHELL.
 	Do not rely on their magic number.
 	(AC_CANONICAL_THING): New macro. Cache results.
 	(AC_CANONICAL_HOST): Reimplement; use AC_CANONICAL_THING.
@@ -10345,7 +10345,7 @@
 1999-01-28  Gary V. Vaughan  <gvaughan@oranda.demon.co.uk>
 
 	* acspecific.m4 (AC_PROG_INSTALL): set INSTALL_SCRIPT to
-	${INSTALL} so that automake doesn't propogate install time flags
+	${INSTALL} so that automake doesn't propagate install time flags
 	for INSTALL_PROGRAM into INSTALL_SCRIPT.
 
 1999-01-25  Ben Elliston  <bje@cygnus.com>
diff --git a/ChangeLog.3 b/ChangeLog.3
index bedcba3..fd94b57 100644
--- a/ChangeLog.3
+++ b/ChangeLog.3
@@ -6682,7 +6682,7 @@
 
 2008-08-22  Peter O'Gorman  <pogma@thewrittenword.com>
 
-	Limit AC_C_BIGENDIAN univeral checks to Mac OS X.
+	Limit AC_C_BIGENDIAN universal checks to Mac OS X.
 	* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Limit the check to
 	__APPLE_CC__ with possible -arch flags.
 	* NEWS: Document it.
@@ -7212,7 +7212,7 @@
 2008-06-03  Eric Blake  <ebb9@byu.net>
 
 	Fix 'make dist' regression from 2008-05-08.
-	* Makefile.am (INSTALL): Add rule, to accomodate 'make dist' after
+	* Makefile.am (INSTALL): Add rule, to accommodate 'make dist' after
 	GNUmakefile's _autoconf rule removes INSTALL.
 
 2008-05-27  Eric Blake  <ebb9@byu.net>
@@ -7801,11 +7801,11 @@
 	Documentation improvements.
 	* doc/autoconf.texi (Looping constructs): s/recurses/repeats/.
 	(Evaluation Macros): Drop `1' suffix from metasyntax variable name
-	that preceeds @dots.  Improve wording.
+	that precedes @dots.  Improve wording.
 	(Text processing Macros): Drop `1' suffix from metasyntax variable
-	name that preceeds @dots.
+	name that precedes @dots.
 	(Number processing Macros): Drop `1' suffix from metasyntax
-	variable name that preceeds @dots.  Improve wording.
+	variable name that precedes @dots.  Improve wording.
 	* lib/m4sugar/m4sugar.m4 (m4_cmp): Comment wording fix.
 	Suggested by Ralf Wildenhues.
 
@@ -18638,7 +18638,7 @@
 
 2002-09-26  Akim Demaille  <akim@epita.fr>
 
-	Single suffix rules and seperated dependencies are not portable.
+	Single suffix rules and separated dependencies are not portable.
 
 	* doc/autoconf.texi (Installation Directory Variables): Update.
 	(Limitations of Make): Some about `Single Suffix Rules and
@@ -18915,7 +18915,7 @@
 	* doc/autoconf.texi (Invoking autom4te): End the option table,
 	fixing a bug introduced by the previous patch.
 	(Limitations of Make): Add a 'target lookup' subentry in the
-	'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
+	'VPATH' entry.  Rewrite all `make' occurrences as `@command{make}'.
 
 2002-07-29  Mark D. Roth  <roth@feep.net>
 


hooks/post-receive
-- 
GNU Autoconf source repository


