Commit Graph

78 Commits

Author SHA1 Message Date
David MacKenzie
bbe8db7901 (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.
1994-05-25 01:21:21 +00:00
Roland McGrath
c7106d2e20 (AC_BINSH): New macro.
(AC_INIT, AC_REVISION): Require AC_BINSH first thing.
1994-05-19 02:11:38 +00:00
David MacKenzie
b41a3f30ad (AC_REVISION): Move quotes around to make it work
again.
Clean up some comments.
1994-05-17 19:26:10 +00:00
David MacKenzie
d889b16f11 Add usage comments before macros that take parameters. 1994-05-10 16:26:54 +00:00
David MacKenzie
9f6eee24eb remove comment 1994-05-10 15:29:16 +00:00
David MacKenzie
803b83006e (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.
1994-05-10 15:03:49 +00:00
David MacKenzie
aa134986f6 (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.
1994-05-10 01:55:50 +00:00
David MacKenzie
ea1a014480 (AC_HEADER_EGREP): Call AC_PROGRAM_EGREP instead of
duplicating most of it.
1994-05-08 05:15:49 +00:00
David MacKenzie
617d650826 (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>.
1994-05-08 02:30:39 +00:00
David MacKenzie
db2ff00887 Add dnl after AC_PROVIDE,
AC_REQUIRE, and AC_BEFORE calls.
	Use AC_CHECKING and AC_TEST_LINK instead of AC_COMPILE_CHECK.
1994-05-06 11:57:01 +00:00
David MacKenzie
e5cb896877 (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.
1994-05-06 11:18:13 +00:00
David MacKenzie
6ed71e169f (AC_PROGRAM_CHECK, AC_PROGRAM_PATH): Fix nesting in
cache use.
1994-05-06 05:29:48 +00:00
David MacKenzie
c017b4db91 (AC_OUTPUT_CONFIG_SUBDIRS): Adjust relative cache
file paths before passing them to sub-configures.  Omit existing
	--cache-file arguments.
1994-05-06 05:02:43 +00:00
David MacKenzie
08a306f521 Fix various caching problems. 1994-05-06 04:28:17 +00:00
David MacKenzie
57012075a5 (AC_HAVE_LIBRARY): Use cache var lib_foo, not libfoo. 1994-05-06 04:11:34 +00:00
David MacKenzie
07592d2739 (AC_FUNC_CHECK, AC_HEADER_CHECK): Combine redundant
code.  Use AC_CACHE_VAL.
	(AC_SIZEOF_TYPE): Use AC_CACHE_VAL.
1994-05-06 04:05:11 +00:00
David MacKenzie
66c09ddde8 Go back to old way of doing NLS nuisance test. 1994-05-05 15:49:35 +00:00
David MacKenzie
489f2aeef2 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.
1994-05-05 12:47:59 +00:00
David MacKenzie
8154936670 AC_CACHE_USE -> AC_CACHE_VAL.
(AC_HAVE_LIBRARY): Use AC_CACHE_VAL.
1994-05-05 00:33:29 +00:00
David MacKenzie
c6846da0d9 Fix typos in comments. 1994-05-05 00:05:25 +00:00
David MacKenzie
5937ebee52 (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)
1994-05-04 23:43:10 +00:00
David MacKenzie
5cd2c3c7d0 (AC_CACHE_LOAD, AC_CACHE_SAVE, AC_CACHE_USE):
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.
1994-05-04 22:03:07 +00:00
David MacKenzie
0d30d0638c Make the NLS
nuisance test actually do something.
1994-05-04 14:44:23 +00:00
David MacKenzie
397ae4425b Comment changes. 1994-05-02 23:44:20 +00:00
David MacKenzie
56b6bdcaee (AC_OUTPUT): Change >> to > in sed command. 1994-04-30 13:37:01 +00:00
David MacKenzie
4c24e837db version 1.9.2 1994-04-30 01:49:37 +00:00
David MacKenzie
90fda5b151 (AC_OUTPUT): When doing substitutions on files, if
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).
1994-04-30 01:44:39 +00:00
David MacKenzie
2e8158481e fix typo in comment 1994-04-26 04:29:06 +00:00
David MacKenzie
ce6b54c083 (AC_LANG_C, AC_LANG_CPLUSPLUS): Remove CFLAGS and CXXFLAGS from ac_cpp. 1994-04-26 04:27:14 +00:00
David MacKenzie
d9cf372ee6 Version 1.9. 1994-04-21 23:45:11 +00:00
David MacKenzie
81cbfcefbf (AC_PARSEARGS): Allow . in hostnames. Use string comparison on them.
(AC_HAVE_LIBRARY): namespace cleanup.
1994-04-20 17:27:41 +00:00
David MacKenzie
f02d8eb861 (AC_PARSEARGS): --gas and --x set with_gas and with_x to yes, not 1. 1994-04-20 17:17:47 +00:00
David MacKenzie
6b8e55867c (AC_SIZEOF_TYPE): FIx typo. 1994-04-19 18:39:41 +00:00
David MacKenzie
076b601df3 (AC_SIZEOF_TYPE): Remove second arg, and generate a symbol name automatically. 1994-04-19 03:01:11 +00:00
David MacKenzie
9ac645c96c Call AC_LANG_C in AC_PREPARE, not AC_INIT. 1994-04-16 19:05:27 +00:00
David MacKenzie
56e59c4bac Rename ac_configure_args back to configure_args, since some people
have been using it.
1994-04-15 11:00:32 +00:00
David MacKenzie
509242435d (AC_TEST_CPP): Propogate comment about Coherent lossage into configures. 1994-04-13 21:26:32 +00:00
David MacKenzie
72ba225221 (AC_PARSEARGS): Unknown option is a fatal error. 1994-04-09 22:07:23 +00:00
David MacKenzie
bb4f095526 Remove ac_ prefix from some variables set by options, for consistency
and backward compatibility.
1994-04-09 21:34:23 +00:00
David MacKenzie
e2405f18fd Incr AC_ACVERSION. 1994-04-08 17:47:36 +00:00
David MacKenzie
42531d2703 Add --x-includes, --x-libraries options. Document them and --build,
--host, --target.
1994-04-08 17:26:34 +00:00
David MacKenzie
56453d98d8 (AC_OUTPUT): AC_SUBST top_srcdir. Set it. 1994-04-05 16:45:41 +00:00
David MacKenzie
06f9e6ac0f Add back --no-create option. Make config.status --recheck use it. 1994-04-05 01:29:04 +00:00
David MacKenzie
21fc558d52 (AC_PARSEARGS): --with can take an argument again. 1994-03-31 13:22:23 +00:00
David MacKenzie
2dc83ae174 (AC_PARSEARGS): Add --disable-FEATURE; remove --site. 1994-03-31 01:02:47 +00:00
David MacKenzie
8b5723a3c3 Make multiple non-option args a fatal error. 1994-03-29 00:43:48 +00:00
David MacKenzie
8a94b65cb3 (AC_PARSEARGS): Warn about multiple non-option args. 1994-03-29 00:40:23 +00:00
David MacKenzie
a51f433e13 (AC_PARSEARGS): Rewrite again, using ideas from the GNU libc configure.in.
All options that take an argument set shell variables.
(AC_COMPILE_CHECK): Add `return' in `int' function.
1994-03-28 23:48:26 +00:00
David MacKenzie
ad1842ffb7 (AC_NOTICE): Don't save original args or initialize options here.
(AC_PARSEARGS): Do them here.
(AC_PREPARE): Save a copy of original args here, if it hasn't been
done yet.
1994-03-27 05:44:01 +00:00
David MacKenzie
95138c19d9 Omit obsolete options from usage message.
Quote args to AC_CHECKING that contain m4 variables.
1994-03-27 01:44:38 +00:00