Commit Graph

90 Commits

Author SHA1 Message Date
David MacKenzie
18c8136a84 use AC_DEFUN, alphabetize manual 1994-08-13 02:19:11 +00:00
David MacKenzie
db6c43083e fix messages and library checking 1994-08-10 23:54:30 +00:00
David MacKenzie
53b55a54e2 rework test results printing 1994-08-10 16:47:42 +00:00
David MacKenzie
5047ea80b4 support alternate input file names 1994-08-09 18:35:50 +00:00
David MacKenzie
53255065f1 reinforce m4 compilation order 1994-08-09 16:21:46 +00:00
David MacKenzie
105ce08b51 various fixes 1994-08-09 14:46:16 +00:00
David MacKenzie
cf879be04c fix up dir header check 1994-08-09 13:44:55 +00:00
David MacKenzie
fff7008edd great renaming. gratuitous spacing changes 1994-08-01 13:44:22 +00:00
David MacKenzie
1e2e2ad503 update version numbers 1994-07-22 13:00:29 +00:00
David MacKenzie
1369a20a4a make it work again 1994-07-19 22:14:03 +00:00
David MacKenzie
851b441b35 add new utilities, cache specific macros, document new stuff 1994-07-19 14:44:16 +00:00
David MacKenzie
c62b221691 new stuff 1994-06-22 18:22:34 +00:00
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