Commit Graph

480 Commits

Author SHA1 Message Date
Roland McGrath
5fff41eccb Tue Mar 12 02:51:24 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_OUTPUT_HEADER): Apply Jan 15 fix to
 	AC_OUTPUT_MAKE_DEFS here too: Match `#define foo' without trailing
 	space in confdefs.h.  Before configure would lose if all its trailing
 	whitespace got stripped, and that can happen in mail.
1996-03-12 07:59:31 +00:00
Roland McGrath
f9a27e3fed Fri Mar 8 15:06:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Declare $2 to override gcc2 internal
	prototype.
1996-03-09 00:06:32 +00:00
Roland McGrath
9dfa127d84 Fri Mar 8 15:06:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4: Version 2.8 released.
1996-03-08 20:07:15 +00:00
Roland McGrath
0508616ce8 Wed Mar 6 14:38:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Use a cache variable name containing
	both the library and function name.
1996-03-08 20:04:52 +00:00
Roland McGrath
24f1e94e0f (AC_CHECK_PROG): Take optional 6th arg, full name of program to reject if
found in search path.
1996-01-16 21:57:23 +00:00
Roland McGrath
149e6b0ae8 (AC_PROG_CC): If gcc not found use AC_CHECK_PROG for cc, rejecting /usr/ucb/cc.
Fatal configure error if no $CC found at all.
1996-01-16 21:39:04 +00:00
Roland McGrath
ca05e3b1e3 (AC_OUTPUT_MAKE_DEFS): Match `#define foo' without trailing space in
confdefs.h.
1996-01-15 20:57:15 +00:00
Roland McGrath
f42abbab26 (AC_TRY_CPP): Use "" instead of '' when setting ac_try; we need one level
of expansion there for $ac_cpp, then AC_TRY_EVAL does one more for its the
expansion of $ac_cpp.
1996-01-12 19:38:19 +00:00
Roland McGrath
c244097058 (AC_LANG_C, AC_LANG_CPLUSPLUS): Removed echo cmds from $ac_cpp,
$ac_compile, and $ac_link.
(AC_TRY_EVAL, AC_TRY_COMMAND): New macros for running tests' commands.
Always put the configure source line and command line into config.log.
(AC_TRY_CPP, AC_TRY_COMPILE, AC_TRY_LINK): Use them.
1996-01-11 15:42:38 +00:00
Roland McGrath
fe571fd9c1 Use AC_TRY_EVAL and AC_TRY_COMMAND for running all tests. 1996-01-11 15:38:04 +00:00
Roland McGrath
6691e79518 (AC_PATH_X, AC_PATH_X_XMKMF, AC_PATH_X_DIRECT): Rearrange logic: do no
tests if $with_x=no; make incl and lib tests independent, and distinguish
unset from empty.
1996-01-05 22:55:22 +00:00
Roland McGrath
59047bb80d (AC_PROG_CC_C_O): Rearrange logic to get the right answer for cc. 1995-12-12 03:12:34 +00:00
David MacKenzie
c77ff9f7d2 more bug fixes 1995-11-22 17:42:19 +00:00
David MacKenzie
673d7305df update to v2.6 1995-11-20 20:46:49 +00:00
David MacKenzie
32dcea46ac bug fixes from net 1995-11-20 20:34:22 +00:00
David MacKenzie
94bf76bcd0 fix some bugs reported by users 1995-11-17 21:19:54 +00:00
David MacKenzie
eae1e2893b fix some bugs reported by users 1995-11-17 20:31:31 +00:00
Roland McGrath
200d1f3230 (AC_ACVERSION): Update to 2.5. 1995-11-17 20:05:32 +00:00
Roland McGrath
f204b56740 Sun Oct 29 15:13:37 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_PROG): Use arg 5 as search list, not arg 4.
1995-11-17 19:59:08 +00:00
Roland McGrath
8e3ec82a13 (AC_PROG_CC_C_O): If $CC groks it and cc doesn't exist, choose yes. 1995-08-30 21:34:36 +00:00
David MacKenzie
55af85f0bf various tweaks 1995-07-26 05:30:39 +00:00
David MacKenzie
eca4244262 fix tr args 1995-07-24 21:26:04 +00:00
David MacKenzie
cc0c2bc742 accept + in lib names 1995-07-19 22:27:15 +00:00
David MacKenzie
3e669c2118 Add AC_CACHE_CHECK. 1995-06-28 20:19:08 +00:00
David MacKenzie
d3ed0f9c0c Allow empty args in --with and --enable options 1995-06-28 17:42:48 +00:00
David MacKenzie
75ac961424 add --bindir, --libdir, etc. 1995-06-27 19:09:03 +00:00
David MacKenzie
576743989d log compile commands 1995-06-27 01:04:11 +00:00
David MacKenzie
52da270341 Small improvements from TODO. 1995-06-23 03:39:38 +00:00
David MacKenzie
f0558c8a36 version 2.4. 1995-06-15 03:07:56 +00:00
David MacKenzie
4fbb7a7771 (AC_PATH_X_XMKMF): Check for libX11.{so,sl} as well as .a when
seeing whether LIBDIR or USRLIBDIR is right.
1995-05-07 12:08:56 +00:00
David MacKenzie
efeba5c38f (AC_PROG_CPP): If CPP is already set, use that as
the value and set the cache variable to it.
1995-05-06 21:29:00 +00:00
David MacKenzie
b130aaa8db version 2.3 1995-03-27 23:29:35 +00:00
David MacKenzie
d0c29464c3 (AC_OUTPUT): Add quotes around the echo arguments
in the trap, so backslashes aren't required for multiline input.
	From G.Wilford@ee.surrey.ac.uk.
	Also use the sed trick when not using a config header file.
1995-03-27 23:24:01 +00:00
David MacKenzie
55b13dbaa4 put -c and -o right after compiler name 1995-03-24 04:13:32 +00:00
David MacKenzie
0c29fe2579 fix little nits 1995-03-23 23:49:35 +00:00
David MacKenzie
8cf3e847b3 version 2.2 1995-03-08 22:06:48 +00:00
David MacKenzie
33a8beee8f fix newly added problems in AC_FUNC_ALLOCA 1995-03-07 17:08:30 +00:00
David MacKenzie
58939f46e8 replace nested macro calls with a loop 1995-03-07 01:27:46 +00:00
David MacKenzie
e71f08e5ba fix bug in John's code with cache file /dev/null 1995-03-07 00:38:46 +00:00
David MacKenzie
0f53fcad1b various little patches 1995-03-07 00:19:27 +00:00
Roland McGrath
52521243f1 (AC_C_BIGENDIAN): Check for BYTE_ORDER macro from sys/param.h before
trying the test program which cannot be cross-compiled.
1995-02-25 06:56:47 +00:00
Roland McGrath
d0c84d4f0a (AC_CHECK_FUNC): Remove quotes in comment in test program. 1995-02-25 06:46:06 +00:00
Roland McGrath
efeec7fbdd (AC_CHECK_FUNC): Include errno.h instead of ctype.h in test program. 1995-02-25 01:02:00 +00:00
David MacKenzie
555069628e more little bug fixes 1995-02-21 20:39:40 +00:00
Roland McGrath
6cf21148f7 (AC_PROG_CC_C_O): Use sed filter to make sure ${ac_cc} is always a valid
shell variable name.
(AC_PROG_MAKE_SET): Remove gratuitous backslashes in checking message.
1995-02-13 23:13:02 +00:00
Roland McGrath
4915f99aae (AC_CHECK_TOOL_PREFIX): Require AC_CANONICAL_BUILD, so both $build and
$host are definitely set before we compare them.
1995-02-12 23:42:30 +00:00
Roland McGrath
894f765564 (AC_CHECK_TOOL): Rewritten. Take optional third arg VALUE-IF-NOT-FOUND.
Check for ${ac_tool_prefix}PROG-TO-CHECK-FOR first.  If not found and third
arg given, and ${ac_tool_prefix} is nonempty, check for unadorned
PROG-TO-CHECK-FOR as well.  Last choice use VALUE-IF-NOT-FOUND.
1995-02-11 09:37:18 +00:00
Roland McGrath
1e18f6fe7e (AC_CONFIG_SUBDIRS): Fix sed command to produce $ac_dots. 1995-02-10 22:45:47 +00:00
David MacKenzie
bb41a196e7 various bug fixes 1995-02-09 22:44:35 +00:00
David MacKenzie
f3c1eec704 more -l order frobbing 1995-02-08 14:58:30 +00:00
David MacKenzie
77caa43c94 various bug fixes 1995-02-07 22:41:14 +00:00
Roland McGrath
d2af471598 (AC_FUNC_GETLOADAVG): Check for -lkvm before -lutil; if we have -lkvm, put
it after -lutil in $LIBS.
1995-02-07 05:23:22 +00:00
David MacKenzie
f5cee52491 various bug fixes 1995-02-06 23:31:34 +00:00
Roland McGrath
5b8c553322 (AC_FUNC_GETLOADAVG): Use elf_begin in -lelf check, not elf_read. 1994-12-07 00:07:00 +00:00
Roland McGrath
14c00b0249 (AC_PROG_MAKE_SET): Fix msg; $MAKE is not useful Make syntax. 1994-11-07 23:17:49 +00:00
David MacKenzie
c6a5d9a45b version 2.1 1994-11-04 04:19:54 +00:00
David MacKenzie
7beb4df22f reword warning 1994-11-04 04:12:52 +00:00
David MacKenzie
4ba0d9c68c fix up c++ 1994-11-03 19:52:24 +00:00
David MacKenzie
17ba39486a more tweaks 1994-11-03 18:20:07 +00:00
David MacKenzie
7c20472d09 fix misc little bugs 1994-11-03 15:49:58 +00:00
David MacKenzie
f4be3b0db2 (AC_CHECK_HEADERS_DIRENT): Use define, not AC_DEFUN, so the testsuite
doesn't call it with no arguments, leading to a syntax error in the
real Bourne shell.
1994-10-28 15:23:25 +00:00
David MacKenzie
00b26ca110 translate - in header names 1994-10-26 22:42:11 +00:00
David MacKenzie
8b9cd57886 add AC_TRY_COMPILE 1994-10-23 02:08:04 +00:00
David MacKenzie
3ff5738fb7 ignore site. fix version comparisons. 1994-10-20 12:52:36 +00:00
David MacKenzie
55cc1d3f7f fix typos 1994-10-19 05:42:23 +00:00
David MacKenzie
50ff2cb9ed add copyright 1994-10-19 00:30:44 +00:00
David MacKenzie
69b43d60cf fix typos in copyright 1994-10-19 00:30:26 +00:00
David MacKenzie
79679cf2ae make default prefix settable 1994-10-19 00:29:13 +00:00
David MacKenzie
0fc02e8f12 update copyright notice and --build default 1994-10-18 16:52:59 +00:00
David MacKenzie
619b0c0457 update copyright notice 1994-10-18 16:52:41 +00:00
David MacKenzie
9183b3acda recognize NeXT cpp as GNU C 1994-10-18 04:19:58 +00:00
David MacKenzie
674213673c (AC_PROG_CPP): Use assert.h (comes with gcc), not
stdio.h (loses for new cross-compilers).  From Roland McGrath.
1994-10-17 22:27:03 +00:00
David MacKenzie
52166746b3 assume -lSM if -lICE 1994-10-11 17:23:26 +00:00
David MacKenzie
cb2e4ecb90 find another const bug 1994-10-02 04:34:40 +00:00
David MacKenzie
85715008c6 undo typedef rename; add macro from paul eggert 1994-10-01 23:13:28 +00:00
David MacKenzie
0bf8d59c76 rename AC_CHECK_TYPE to AC_CHECK_TYPEDEF 1994-09-28 13:04:57 +00:00
David MacKenzie
7185c6faea various little cleanups 1994-09-27 22:05:22 +00:00
David MacKenzie
74cc3753fc remove extra slashes from end of srcdir 1994-09-26 03:02:30 +00:00
David MacKenzie
fd64c83071 version 1.120 1994-09-20 00:59:29 +00:00
David MacKenzie
61b48351ea make transform_name always work 1994-09-19 21:17:16 +00:00
David MacKenzie
3c16e51820 default for getgruops 1994-09-17 02:09:38 +00:00
David MacKenzie
bf85b76df9 minor tweaks 1994-09-16 15:40:36 +00:00
David MacKenzie
95571a4492 change wording 1994-09-16 02:15:06 +00:00
David MacKenzie
361a0d0fa8 misc little cleanups 1994-09-16 02:03:51 +00:00
David MacKenzie
680f86975a fix makefile targets and recursive generation 1994-09-15 18:34:35 +00:00
David MacKenzie
ca572e0282 put back Makefile comment 1994-09-15 00:58:48 +00:00
David MacKenzie
69db95fa74 fix making links and add configure_input 1994-09-13 15:20:48 +00:00
David MacKenzie
2350e2eb97 fix character class for option quoting 1994-09-13 05:22:02 +00:00
David MacKenzie
e39713c070 more quoting work 1994-09-13 04:28:30 +00:00
David MacKenzie
bdb9e9a1d1 misc little fixes 1994-09-12 04:40:56 +00:00
David MacKenzie
fccf840837 install-sh, quote cmd line options 1994-09-11 06:20:58 +00:00
David MacKenzie
86dc14e8f7 add blank line 1994-09-09 20:22:01 +00:00
David MacKenzie
5370f3bb89 add blank line 1994-09-09 20:16:17 +00:00
David MacKenzie
4b515ebbeb misc little fixes 1994-09-09 20:13:30 +00:00
David MacKenzie
01cddb594a new macros to reduce kludges 1994-09-08 20:42:23 +00:00
David MacKenzie
8547b8c4a2 rel 1.112 1994-09-07 15:35:40 +00:00
David MacKenzie
95733787c6 rename output var index 1994-09-07 15:07:09 +00:00
David MacKenzie
3785192749 remove comments from sed program 1994-09-07 06:21:38 +00:00
David MacKenzie
9c9aca2992 make default CONFIG_SITE work 1994-09-07 05:45:16 +00:00
David MacKenzie
ff339e13bf use define for echo macros 1994-09-07 05:45:04 +00:00
David MacKenzie
d79cd8cb53 Initial revision 1994-09-07 05:44:28 +00:00
David MacKenzie
c6ce56db69 support --program* options 1994-09-07 03:06:34 +00:00
David MacKenzie
f46c1ab38b replace some AC_DEFUN calls with define for speed 1994-09-06 14:36:45 +00:00
David MacKenzie
159b632c3e fix warning in AC_C_CROSS 1994-09-05 21:40:18 +00:00
David MacKenzie
5be1a80cca various little fixes 1994-09-05 20:12:21 +00:00
Roland McGrath
91afa15ab1 (AC_TRY_RUN): Always warn if no cross-compile default is given. [by djm]
(AC_OUTPUT_FILES): Write CONFIG_FILES defn unquoted, so $1 can contain
references to shell variables in configure.
1994-09-03 23:46:58 +00:00
David MacKenzie
7a6a0d2993 removed dnls, fixed bugs, added autoheader.m4f 1994-09-01 04:59:32 +00:00
David MacKenzie
5863774fc7 add freezing to autoheader 1994-08-30 20:24:50 +00:00
David MacKenzie
9e9ace2ce5 diversions revision, 1.109 1994-08-30 18:42:54 +00:00
David MacKenzie
611bda3d8b quoting change 1994-08-30 01:30:23 +00:00
David MacKenzie
3adf655388 new revisions 1994-08-29 01:49:51 +00:00
David MacKenzie
e74bd5f17a eliminate spurious requires 1994-08-29 00:08:38 +00:00
David MacKenzie
c626536cd9 add __line__ and __file__ to errors 1994-08-28 23:50:02 +00:00
David MacKenzie
e02ead7e08 more doc reordering, links bug fix 1994-08-28 22:40:40 +00:00
David MacKenzie
697fe9e8d9 doc cleanups 1994-08-28 00:24:09 +00:00
David MacKenzie
e7552c2a63 minor stuff 1994-08-27 07:01:13 +00:00
David MacKenzie
479d6ceeb0 tweaks for error handling 1994-08-27 01:27:32 +00:00
David MacKenzie
933fd18705 various fixes 1994-08-26 22:27:25 +00:00
David MacKenzie
f26976e87a remove exit 0 1994-08-26 07:08:24 +00:00
David MacKenzie
642b5b87a2 bump version number 1994-08-26 06:17:48 +00:00
David MacKenzie
84230722a9 CPP safety test 1994-08-26 04:59:56 +00:00
David MacKenzie
68a5c238ce make AC_CANONICAL_HOST independent. 1994-08-26 04:59:03 +00:00
David MacKenzie
ff2272751c whitespace frobbing 1994-08-26 02:47:25 +00:00
David MacKenzie
c489918832 fix AC_SYS_INTERPRETER 1994-08-26 02:08:08 +00:00
David MacKenzie
db5d3a6e73 add notes to manual 1994-08-26 01:15:45 +00:00
David MacKenzie
7ec5a7d5f8 fix c++, remove NO_ARG_ARRAY, check for more X libs 1994-08-25 21:55:22 +00:00
David MacKenzie
01b6c57e7b add CPPFLAGS 1994-08-25 19:29:53 +00:00
David MacKenzie
8c1f9ceb4f rework diversions and substitutions 1994-08-25 18:05:45 +00:00
David MacKenzie
d3f2d21c67 add #line, fix AC_SUBST_FILE 1994-08-25 03:45:07 +00:00
David MacKenzie
7179e90edc fix up indexes, remove an old macro 1994-08-24 18:28:20 +00:00
David MacKenzie
e9ca63c0cd rename AC_HAVE_POUNDGANG, misc other cleanups 1994-08-24 14:09:18 +00:00
David MacKenzie
f7371685eb rewrite AC_DEFINE 1994-08-24 06:41:01 +00:00
David MacKenzie
d5c63cb83e fix x, add history 1994-08-23 20:24:36 +00:00
David MacKenzie
69a53ee988 new version 1994-08-23 18:07:04 +00:00
David MacKenzie
8aaede57a9 various small adjustments 1994-08-23 15:04:53 +00:00
David MacKenzie
7abc8f75fd Initial revision 1994-08-23 15:04:22 +00:00
David MacKenzie
a30c1ef188 clean up substitutions and bugs 1994-08-23 06:01:14 +00:00
David MacKenzie
0aae456f31 fix dir headers, extend have_funcs,headers 1994-08-13 03:28:38 +00:00
David MacKenzie
18c8136a84 use AC_DEFUN, alphabetize manual 1994-08-13 02:19:11 +00:00
David MacKenzie
5c92299e4a fix unsigned char check for gcc 1994-08-11 00:36:21 +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
8bf06aec5b small bug fixes 1994-07-25 03:33:46 +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
5b9773c660 (AC_MINUS_C_MINUS_O): If $CC=cc, don't duplicate
the check.  From Jim Meyering.
1994-05-25 01:21:46 +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
dc1143d39a (AC_STRUCT_TM): Fixed checking message to be less confusing. 1994-05-19 10:04:58 +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
3ac444e113 Cleanup some comments. 1994-05-17 19:25:23 +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
0400b4df49 (AC_PROG_INSTALL): set the _path_ cache variable,
not the _program_ one.
1994-05-10 15:04:08 +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
1227224ce1 (AC_AIX, AC_MINIX, AC_ISC_POSIX): Don't call
AC_BEFORE for AC_HEADER_EGREP, to avoid require loops.
1994-05-08 05:16:24 +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
f0d5389b23 (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.
1994-05-08 02:29:55 +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
163898abcf (AC_PROG_INSTALL): Print "checking" messages even if
using cached values.  Use AC_TEST_LINK instead of AC_COMPILE_CHECK.
1994-05-06 11:17:47 +00:00
David MacKenzie
27779228a3 (AC_PROG_INSTALL): Fix nesting in
cache use.
1994-05-06 05:30:23 +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
a66ae0596f Use "yes" and "no" or "" uniformly for boolean
variables' values.  Don't assume default values.
	(AC_STDC_HEADERS, AC_ALLOCA): Untangle nested tests.
1994-05-05 12:48:28 +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
7c2991eeff AC_CACHE_USE -> AC_CACHE_VAL. 1994-05-05 00:27:10 +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
ad9e489a73 (AC_PROG_INSTALL): Use AC_CACHE_USE.
(AC_SETVBUF_REVERSED): Print "checking" message.
1994-05-04 22:03:43 +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
beccc23392 (AC_SET_MAKE): Add AC_CHECKING call. 1994-05-04 17:40:18 +00:00
David MacKenzie
0d30d0638c Make the NLS
nuisance test actually do something.
1994-05-04 14:44:23 +00:00
David MacKenzie
8d490d2ab2 (AC_GCC_TRADITIONAL, AC_SET_MAKE, AC_RSH,
AC_GETLOADAVG, AC_CROSS_CHECK): Print results verbosely.
	(AC_GETLOADAVG): Namespace cleanup.
1994-05-04 14:44:23 +00:00
David MacKenzie
ef0ba7a9d0 (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.
1994-05-02 23:45:11 +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
43282c6850 (AC_PROG_INSTALL): Use install.sh from ac_aux_dir.
(AC_LN_S): Add verbose messages.
(AC_MMAP): If NBPC is not defined, use PAGESIZE.
	From "Kaveh R. Ghazi" <ghazi@eden.rutgers.edu>.
1994-04-30 01:45:26 +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
cdf79c42ed Initial revision 1994-04-30 01:42: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
dc22e491cb Fix AC_SIZEOF_TYPE AC_OBSOLETE texts. 1994-04-22 11:56:38 +00:00
David MacKenzie
572c46460e (AC_FIND_XTRA): Reorder AC_REQUIREs. 1994-04-22 00:02:25 +00:00
David MacKenzie
eb290f398f (AC_FIND_X): AC_REQUIRE_CPP. 1994-04-21 23:51:44 +00:00
David MacKenzie
d9cf372ee6 Version 1.9. 1994-04-21 23:45:11 +00:00
David MacKenzie
2104a052f2 (AC_PROG_LEX): Say what we set LEXLIB to. 1994-04-21 23:43:14 +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
ba8d7786ae (AC_YYTEXT_POINTER): New macro, replacing AC_DECLARE_YYTEXT.
(AC_FIND_X): Assume no X if --without-x was given.
(AC_FIND_XTRA): Quotes AC_REQUIRE args.  Run uname in a subshell in
case it's missing.  Put -l options in X_EXTRA_LIBS.  Print values of
the variables we set if verbose.
1994-04-20 17:17:01 +00:00
David MacKenzie
53143bd4ff (AC_FIND_X_XMKMF): Set variables correctly. 1994-04-19 19:15:17 +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
4f27449210 (AC_PROG_INSTALL): Only filter out "install" containing "dspmsg".
(AC_FIND_X_XMKMF): Fix variable names to not conflict with grep -v.
1994-04-19 02:24:21 +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
6df95ed43b (AC_SET_MAKE): Use $MAKE if defined, else "make". 1994-04-14 02:59:11 +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
b59f214a9e Don't test for -lsocket on IRIX. From Karl Berry. 1994-04-08 19:41:52 +00:00
David MacKenzie
e2405f18fd Incr AC_ACVERSION. 1994-04-08 17:47:36 +00:00
David MacKenzie
0413e9b67a (AC_FIND_X): Change message. 1994-04-08 17:46:06 +00:00
David MacKenzie
b408273fe3 (AC_FIND_X_XMKMF, AC_FIND_X_DIRECT): Don't override --x-includes and
--x-libraries.  Check openwin last due to its bugs.
1994-04-08 17:27:41 +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
7c0557bd05 Add comment. 1994-04-06 12:02:16 +00:00
David MacKenzie
6f4bb88542 (AC_PROG_INSTALL): Look for install.sh in @top_srcdir@, not $srcdir. 1994-04-05 16:51:31 +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
84f652336d Change all occurrences of $(MAKE_VAR) to ${MAKE_VAR}. 1994-03-29 00:19:36 +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
David MacKenzie
f8469c9873 Initialize variables set by options.
(AC_HAVE_HEADERS): Require cpp.
1994-03-26 22:34:54 +00:00
David MacKenzie
44a33bea74 (AC_SET_MAKE): New macro.
(AC_PROG_INSTALL): Find scoinst as a good install program.
1994-03-26 22:34:32 +00:00
David MacKenzie
d9f8b82b58 Recognize all the Cygnus configure options; warn about other arguments.
Make default value for --with "yes", not "1".
AC_SUBST for prefix and exec_prefix.
(AC_ENABLE): New macro.
1994-03-26 06:32:34 +00:00
David MacKenzie
5da8a17dc0 comment fix 1994-03-24 18:54:06 +00:00
David MacKenzie
664a96a524 (AC_PREREQ): New macro, with some helper macros. 1994-03-24 18:36:13 +00:00
David MacKenzie
7cf557b099 (AC_PARSEARGS): Add --help and --version to configure.
Simplify getting option arguments.  Complain about impossible
host arguments.
(AC_OUTPUT): Add --help and --version to config.status.
1994-03-24 03:41:48 +00:00
Roland McGrath
1c3f6708c4 (AC_CHECKING): Do nothing if $ac_silent is set.
(AC_PARSEARGS): Grok -q/--quiet/--silent and set $ac_silent.
1994-03-23 05:16:11 +00:00
David MacKenzie
26451cb1a6 (AC_INT_16_BITS, AC_LONG_64_BITS): Mark obsolete with advice to use
AC_SIZEOF_TYPE instead.
1994-03-22 23:29:40 +00:00
David MacKenzie
a3959e019d (AC_SIZEOF_TYPE): New macro. 1994-03-22 23:28:24 +00:00
David MacKenzie
443c92457b Use AC_CHECKING et al. where appropriate. 1994-03-22 20:46:36 +00:00
David MacKenzie
5ec9a446a5 (AC_CHECKING, AC_VERBOSE, AC_ERROR, AC_WARN): New macros.
Use them where appropriate.
(AC_LANG_C, AC_LANG_CPLUSPLUS): Fix quoting of ac_cpp.
1994-03-22 20:45:36 +00:00
David MacKenzie
59f62dea45 (AC_PROG_CPP): Don't add $CFLAGS to CPP.
(AC_PROG_CXXCPP): Don't add $CXXFLAGS to CXXCPP.
1994-03-22 13:45:34 +00:00
David MacKenzie
c3800f9ea7 (AC_OUTPUT): Don't remove VPATH lines containing colons.
From Jim Meyering (meyering@comco.com).
(AC_LANG_C): Add CFLAGS to ac_cpp.
(AC_LANG_CPLUSPLUS): Add CXXFLAGS to ac_cpp.
1994-03-22 13:44:36 +00:00
David MacKenzie
02de1b387f (AC_LANG_RESTORE): Only emit shell code to change the current language
if it actually changed.
1994-03-20 00:39:50 +00:00
David MacKenzie
8202df5faf (AC_PROG_CXX, AC_PROG_CXXCPP, AC_REQUIRE_CPP): New macros based on
work by zoo@aggregate.com (david d zuhn).
(AC_DECLARE_YYTEXT): Use AC_REQUIRE_CPP.  Warn that it's broken.
(AC_STDC_HEADERS): Use AC_REQUIRE_CPP.
(AC_MMAP): New macro from Mike Haertel and Jim Avera.
1994-03-19 21:49:18 +00:00
David MacKenzie
c82498449c (AC_PARSEARGS): Check for missing arguments to options. Recognize
--target.  Save the original args before modifying them.
(AC_INIT): Call AC_LANG_C.
(AC_PREPARE): Don't save the original args here (too late).
(AC_LANG_C, AC_LANG_CPLUSPLUS, AC_LANG_SAVE, AC_LANG_RESTORE):
New macros based on work by zoo@aggregate.com (david d zuhn).
(AC_HEADER_EGREP, AC_PROGRAM_EGREP, AC_COMPILE_CHECK,
AC_TEST_PROGRAM, AC_TEST_CPP): Use AC_REQUIRE_CPP and ac_ext and
ac_cpp.
1994-03-19 21:46:09 +00:00
David MacKenzie
a51c9f3f57 Rename another variable. Update copyright for generated script. 1994-03-18 09:35:40 +00:00
David MacKenzie
dc53d27ed1 Shorten sed variable names. Remove bogus changequotes. 1994-03-18 08:18:08 +00:00