Go to the first, previous, next, last section, table of contents.


Using autoupdate to Modernize `configure.ac'

The autoupdate program updates a `configure.ac' file that calls Autoconf macros by their old names to use the current macro names. In version 2 of Autoconf, most of the macros were renamed to use a more uniform and descriptive naming scheme. See section Macro Names, for a description of the new scheme. Although the old names still work (see section Obsolete Macros, for a list of the old macros and the corresponding new names), you can make your `configure.ac' files more readable and make it easier to use the current Autoconf documentation if you update them to use the new macro names.

If given no arguments, autoupdate updates `configure.ac', backing up the original version with the suffix `~' (or the value of the environment variable SIMPLE_BACKUP_SUFFIX, if that is set). If you give autoupdate an argument, it reads that file instead of `configure.ac' and writes the updated file to the standard output.

autoupdate accepts the following options:

@option{--help}
@option{-h}
Print a summary of the command line options and exit.
@option{--version}
@option{-V}
Print the version number of Autoconf and exit.
@option{--verbose}
@option{-v}
Report processing steps.
@option{--debug}
@option{-d}
Don't remove the temporary files.
@option{--autoconf-dir=dir}
@option{-A dir}
Override the location where the installed Autoconf data files are looked for. You can also set the AC_MACRODIR environment variable to a directory; this option overrides the environment variable. This option is rarely needed and dangerous; it is only used when one plays with different versions of Autoconf simultaneously.
@option{--localdir=dir}
@option{-l dir}
Look for the package file `aclocal.m4' in directory dir instead of in the current directory.


Go to the first, previous, next, last section, table of contents.