bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Should autoupdate s/AM_CONFIG_HEADER/AC_CONFIG_HEADER/g


From: Simon Josefsson
Subject: Should autoupdate s/AM_CONFIG_HEADER/AC_CONFIG_HEADER/g
Date: Fri, 09 Mar 2007 14:34:58 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux)

Hi!  I noted this in the manual:

,----
| Although using some of the following macros was required in past
| releases, you should not used any of them in new code.  Running
| `autoupdate' should adjust your `configure.ac' automatically (*note
| Using `autoupdate' to Modernize `configure.ac': (autoconf)autoupdate
| Invocation.).
| 
| `AM_CONFIG_HEADER'
|      Automake will generate rules to automatically regenerate the config
|      header.  This obsolete macro is a synonym of `AC_CONFIG_HEADERS'
|      today (*note Optional::).
`----

But autoupdate doesn't seem to do this:

address@hidden:~/src/libtasn1$ autoupdate --version
autoupdate (GNU Autoconf) 2.61
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
address@hidden:~/src/libtasn1$ autoupdate -f
address@hidden:~/src/libtasn1$ git-diff
diff --git a/configure.in b/configure.in
index d87f82a..f5905d3 100644
--- a/configure.in
+++ b/configure.in
@@ -18,7 +18,7 @@ dnl Process this file with autoconf to produce a configure 
script.
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

 AC_PREREQ(2.61)
-AC_INIT([libtasn1], [0.3.10], address@hidden)
+AC_INIT([libtasn1],[0.3.10],address@hidden)
 AC_CONFIG_AUX_DIR([build-aux])
 AM_CONFIG_HEADER(config.h)
 AM_INIT_AUTOMAKE([1.10 gnits])
@@ -115,8 +115,7 @@ case "${host}" in
         ;;
 esac
 AC_ARG_ENABLE([ld-version-script],
-              AC_HELP_STRING([--enable-ld-version-script],
-                             [enable/disable use of linker version script.
+              AS_HELP_STRING([--enable-ld-version-script],[enable/disable use 
of linker version script.
                               (default is system dependent)]),
               [have_ld_version_script=$enableval],
               [ : ] )
address@hidden:~/src/libtasn1$

Notice how AM_CONFIG_HEADER is still present untouched.

The workaround is obvious, but report sent for the record.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]