David MacKenzie [Wed, 25 May 1994 01:21:21 +0000 (01:21 +0000)]
(AC_OUTPUT, AC_OUTPUT_HEADER): Add an env var
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.
David MacKenzie [Tue, 10 May 1994 15:03:49 +0000 (15:03 +0000)]
(AC_PREFIX): Call AC_PROGRAM_PATH instead of
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.
David MacKenzie [Tue, 10 May 1994 01:55:50 +0000 (01:55 +0000)]
(AC_TEST_PROGRAM): If no default for
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.
David MacKenzie [Sun, 8 May 1994 02:30:39 +0000 (02:30 +0000)]
(AC_OUTPUT): If configuring in the source tree,
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>.
David MacKenzie [Sun, 8 May 1994 02:29:55 +0000 (02:29 +0000)]
(AC_SET_MAKE): Remove temp file.
From John Interrante <interran@uluru.stanford.edu>.
(AC_WAIT3): Sleep in the parent to avoid rm
problems on fast machines. From david d zuhn.
David MacKenzie [Fri, 6 May 1994 11:18:13 +0000 (11:18 +0000)]
(AC_TEST_LINK): New macro.
(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.
David MacKenzie [Thu, 5 May 1994 12:47:59 +0000 (12:47 +0000)]
Use "yes" and "no" or "" uniformly for boolean
variables' values. Don't assume default values.
(AC_PROGRAM_CHECK, AC_PROGRAM_PATH): Always set the cache variable
and use different ones.
David MacKenzie [Wed, 4 May 1994 23:43:10 +0000 (23:43 +0000)]
(AC_REPLACE_FUNCS): Use AC_FUNC_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)
(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.
David MacKenzie [Mon, 2 May 1994 23:48:08 +0000 (23:48 +0000)]
If M4 is an absolute file name that
no longer exists, use M4=m4.
Fix tr string for Solaris tr.
Add config.h.bot if present.
From richard@sol.kbsi.com (Richard Henderson).
David MacKenzie [Mon, 2 May 1994 23:45:11 +0000 (23:45 +0000)]
(AC_HAVE_POUNDBANG): Quote # in message.
From schwab@issan.informatik.uni-dortmund.de (Andreas Schwab).
(AC_PROG_CXX): Look for "cxx" (DEC C++ compiler) too.