CONFIG_STATUS to allow overriding the name of config.status.
(AC_TEST_PROGRAM): Add missing newline.
Always include 'fi' for cross-compiling if.
From Jim Meyering.
Make default cache file ./config.cache,
so PATH is not used by "." command. From Jim Meyering.
Rename some internal macros.
Give the diversions symbolic names.
(AC_ARG_ENABLE, AC_ARG_WITH, AC_ENABLE_INTERNAL, AC_WITH_INTERNAL):
New macros.
(AC_PARSEARGS): Print --with and --enable help strings.
(AC_ENABLE, AC_WITH): Make wrappers around _INTERNAL functions.
Mark obsolete.
(AC_PREPARE): Execute any saved up --with or --enable code.
duplicating it.
(AC_PROGRAM_CHECK, AC_PROGRAM_PATH): If the user set the variable
in the environment, cache that value.
(AC_PREPARE, AC_CHECKING, AC_VERBOSE): Use file descriptors 4 and
5 for checking and results messages. Idea from metaconfig 3.0.
cross-compiling is given, but we are cross-compiling, give an error.
(AC_PROGRAM_EGREP, AC_TEST_LINK, AC_TEST_PROGRAM, AC_TEST_CPP):
Don't add an extra blank line after the if-clause.
(AC_REVISION): Merge AC_DOREV into this macro.
Rename some macros:
AC_SYSTEM_TYPE -> AC_CANON_SYSTEM
AC_HOST_TYPE -> AC_CANON_HOST
AC_TARGET_TYPE -> AC_CANON_TARGET
AC_BUILD_TYPE -> AC_CANON_BUILD
(AC_OUTPUT): Don't do Cygnus-style magic
substitutions on prefix and exec_prefix, just initialize and
substitute them normally.
don't end top_srcdir with "/.".
(AC_SIZEOF_TYPE): Fatal error if test program fails.
(AC_OUTPUT): Run "./config.status", not "config.status".
From Kevin Gallagher <kgallagh@spd.dsccc.com>.
(AC_COMPILE_CHECK): Mark obsolete. Call AC_CHECKING and
AC_TEST_LINK.
(AC_PROGRAM_CHECK, AC_PROGRAM_PATH, AC_HAVE_LIBRARY, AC_HEADER_CHECK,
AC_FUNC_CHECK, AC_SIZEOF_TYPE): Print "checking" messages even if
using cached values. Use AC_TEST_LINK instead of AC_COMPILE_CHECK.
Rearrange general tests into 4 categories:
Checking for files - fundamental (no caching)
Checking for files - derived (caching)
Checking for C features - fundamental (no caching)
Checking for C features - derived (caching)
New macros.
(AC_PREPARE): Call AC_CACHE_LOAD.
(AC_OUTPUT): Call AC_CACHE_SAVE.
(AC_PARSEARGS): Add --cache-file=FILE option.
(AC_CONFIG_SUBDIRS): Pass --cache-file to subdirectory configures.
(AC_PROGRAM_CHECK, AC_PROGRAM_PATH): Use AC_CACHE_USE.
(AC_OUTPUT_CONFIG_SUBDIRS): Renamed from
AC_CONFIG_SUBDIRS.
(AC_CONFIG_SUBDIRS): Just define AC_SUBDIR_LIST.
(AC_OUTPUT): Call AC_OUTPUT_CONFIG_SUBDIRS if AC_SUBDIR_LIST is
defined.
Make config.status --recheck pass --norecursion to configure.
the file starts with "#!", put the "automatically generated"
comment on the second line instead of the first.
(AC_CONFIG_AUX, AC_CONFIG_AUX_DEFAULT,
AC_CONFIG_AUX_DIRS, AC_SYSTEM_TYPE, AC_HOST_TYPE, AC_TARGET_TYPE,
AC_BUILD_TYPE, AC_SUBST_FILE, AC_MAKE_LINKS, AC_OUTPUT_MAKE_LINKS,
AC_CONFIG_SUBDIRS): New macros.
(AC_OUTPUT_HEADER): For each file being created,
munge a copy of conftest.sed rather than the original.
From brook@trillium.botany.utexas.edu (Brook Milligan).