Commit Graph

393 Commits

Author SHA1 Message Date
Ben Elliston
c74175fb82 1999-02-19 Felix Lee <flee@cygnus.com>
* acgeneral.m4 (AC_CACHE_VAL): Don't need backticks. This is a
	performance enhancement for about a 5% reduction in the runtime of
	the generated configure script.
1999-02-18 16:15:41 +00:00
Ben Elliston
8dfb6e5356 1999-01-16 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_ACVERSION): Bump to 2.14.1 for prereleases.
1999-01-15 07:21:57 +00:00
Ben Elliston
827c1ce67d 1999-01-11 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_ACVERSION): Increment to 2.14.
	* autoconf.texi (EDITION): Likewise.
	(VERSION): Likewise.
1999-01-10 05:53:55 +00:00
Ben Elliston
ce576cb180 1999-01-09 J"orn Rennecke <amylaar@cygnus.co.uk>
* acgeneral.m4 (AC_CHECK_FUNC): Don't actually call the function.
1999-01-08 06:31:59 +00:00
Ben Elliston
df646e7699 Merge from autoconf-2-13-rc1. 1999-01-05 03:18:40 +00:00
Ben Elliston
7a2c894092 1998-10-24 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* acgeneral.m4 (AC_LANG_FORTRAN77): Remove [] (i.e. the m4 quotes)
	since it was confusing the testsuite.  Also make `f77' the default
	for FC, otherwise the testsuite fails.
	* autoconf.texi (Fortran 77 Compiler Characteristics): Added new
	node documenting the new AC_F77_LIBRARY_LDFLAGS macro.
	* acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): New macro to determine
	the linker flags (e.g. `-L' and `-l') for the Fortran 77 intrinsic
	and run-time libraries.
1998-10-23 19:03:23 +00:00
Ben Elliston
196f406923 1998-10-20 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_LANG_RESTORE): Fix a typo spotted by Noah
	Elliott <elliott@hera.llnl.gov>.
1998-10-19 18:09:57 +00:00
Ben Elliston
013957a4ce Sun Oct 4 21:57:20 1998 Tom Tromey <tromey@cygnus.com>
* autoconf.texi (Defining Symbols): Documented third argument to
	AC_DEFINE.
	* autoheader.m4 (AC_DEFINE_UNQUOTED): Generate `verbatim'
	assignment if third argument given.
	(AC_DEFINE): Likewise.
	* acgeneral.m4 (AC_DEFINE): Handle case where $# is 3.
	(AC_DEFINE_UNQUOTED): Likewise.
	* autoheader.sh: Echo $verbatim if not empty.
1998-10-09 07:44:10 +00:00
Ben Elliston
40720b3f45 1998-10-08 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_TRY_LINK_FUNC): Fix macro ordering.
1998-10-07 07:57:41 +00:00
Ben Elliston
f98edc0d07 1998-10-03 Ben Elliston <bje@cygnus.com>
* acconfig.h (FC_NO_MINUS_C_MINUS_O): Add to complete the Fortran
	77 support.
Tue Sep  8 14:06:04 1998  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
	* acgeneral.m4: Make the following macros Fortran 77 aware
	(i.e. conditionalize whether to `#include "confdefs.h"', etc.):
	(AC_TRY_COMPILE)
	(AC_TRY_LINK)
	(AC_CHECK_LIB)
	* acgeneral.m4 (AC_LANG_FORTRAN77): Rename `AC_LANG_FORTRAN' to
	`AC_LANG_FORTRAN77'.  Change the Fortran 77 language macro from
	`FORTRAN' to `FORTRAN77'.
	(AC_LANG_RESTORE): Change the Fortran 77 language macro from
	`FORTRAN' to `FORTRAN77'
	* autoconf.texi: Updated Fortran 77 documentation, particularly
	for `AC_TRY_COMPILE', `AC_TRY_LINK' and `AC_CHECK_LIB'.
Thu Sep  3 09:34:39 1998  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
	* autoconf.texi: Added Fortran 77 documentation.
	* acspecific.m4 (AC_PROG_FC): New macro.  Determine a Fortran
	compiler to use.
	(AC_PROG_FC_WORKS): New macro.
	(AC_PROG_FC_GNU): New macro.
	(AC_PROG_FC_G): New macro.
	(AC_PROG_FC_C_O): New macro.
	* acgeneral.m4: Add FFLAGS (Fortran 77 flags).
	(AC_LANG_FORTRAN): New macro.
	(AC_LANG_RESTORE): Make Fortran 77 aware.
	(AC_TRY_COMPILER): Make Fortran 77 aware (i.e. conditionalize
	whether to `#include "confdefs.h"').
1998-10-02 21:25:58 +00:00
Ben Elliston
c0eac0c360 1998-10-02 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_VALIDATE_CACHED_SYSTEM_TUPLE): New macro. This
	macro can be used to ensure that a configure script will not run
	on a second system without removing the cache and re-running
	configure. Contributed by Alexandre Oliva <oliva@dcc.unicamp.br>.
1998-10-01 07:35:22 +00:00
Ben Elliston
735534e4d8 1998-09-29 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_SEARCH_LIBS): New macro. Searches a series of
	libraries for a given function. Contributed by Jim Blandy
	<jimb@cygnus.com>.
	(AC_TRY_LINK_FUNC): New macro. Again, from Jim.
1998-09-29 03:05:56 +00:00
Ben Elliston
312ed465b0 1998-09-28 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_CHECK_PROG): Fix a bug if the supplied path
	contains colons. This was observed with some versions of NetBSD
	`sh' and some versions of `bash'.
	(AC_PATH_PROG): Likewise. Contributed by Tom Yu <tlyu@mit.edu>.
1998-09-27 07:05:06 +00:00
Ben Elliston
beefa4266b 1998-09-26 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_CHECK_FILE): New macro. Checks for the
	existence of a file in the file system (native only).
	Contributed by Theodore Y. Ts'o <tytso@mit.edu>.
	(AC_CHECK_FILES): Likewise.
1998-09-26 00:41:55 +00:00
Ben Elliston
637c4a3263 Sat Sep 12 16:25:00 1998 Aaron Crane <aaronc@pobox.com>
* acgeneral.m4 (AC_CHECK_TYPE): Changed the egrep regex to avoid
	incorrectly assuming that if foobar_t is defined, then so is
	bar_t.
1998-09-25 20:12:47 +00:00
Ben Elliston
0d3cb8ba2e Mon Jun 1 12:30:39 1998 Ian Lance Taylor <ian@cygnus.com>
* acgeneral.m4 (AC_CHECK_PROG): Set IFS to just ":" when searching
        through PATH.
        (AC_PATH_PROG): Likewise.
Thu May 28 18:37:36 1998  Ian Lance Taylor  <ian@cygnus.com>
        * acgeneral.m4 (AC_ACVERSION): Bump to 2.12.2.
        Add support for Visual C++:
        * acgeneral.m4 (ac_exeext, ac_objext): New variables.
        (ac_link): Use ac_exeext.
        (AC_TRY_COMPILER, AC_TRY_LINK, AC_TRY_RUN_NATIVE): Likewise.
        (AC_TRY_CPP): Remove lines from stderr which contain only the name
        of the file.
        (AC_REPLACE_FUNCS): Use ac_objext.
Fri Oct  3 18:10:39 1997  Ian Lance Taylor  <ian@cygnus.com>
        * acgeneral.m4 (AC_CACHE_SAVE): Add a grep when checking whether
        set quotes correctly, to avoid a cache overflow on HP-UX 9.
Wed Sep 11 15:35:19 1997  Chris Provenzano  <proven@cygnus.com>
        * acgeneral.m4 : Always set SHELL and substitute SHELL.
        When looking for a path for an executable allow the
        user to override with an DOS path.
Tue Aug  5 23:00:05 1997  Ian Lance Taylor  <ian@cygnus.com>
        * acgeneral.m4 (AC_VERSION): Set to 2.12.1.
        (AC_CANONICAL_HOST): Use CONFIG_SHELL to run $ac_config_sub and
        $ac_config_guess.
        (AC_CANONICAL_TARGET, AC_CANONICAL_BUILD): Likewise.
1998-09-15 01:21:08 +00:00
David MacKenzie
660963952f fix a couple of bugs 1996-12-11 00:49:47 +00:00
David MacKenzie
7047600b1b more fixups 1996-11-20 22:59:48 +00:00
David MacKenzie
65bcd04475 more fixups 1996-11-20 22:53:55 +00:00
David MacKenzie
85669bdcb1 more cleanups 1996-11-20 22:16:05 +00:00
David MacKenzie
8801bfce14 cleanups 1996-11-20 21:27:29 +00:00
David MacKenzie
f989a49ded bug fixes for quoting and locales 1996-11-20 19:13:42 +00:00
David MacKenzie
670670f0c4 lots of new ways to create stuff 1996-11-20 05:09:56 +00:00
David MacKenzie
27baa892d9 rewhack the compiler checking and fix some minor bugs 1996-11-20 00:21:34 +00:00
David MacKenzie
091c6ec533 Version 2.11 released 1996-11-18 15:28:02 +00:00
David MacKenzie
b1e18dbda8 more tweaks 1996-11-15 00:04:39 +00:00
David MacKenzie
4ecef17a07 tweaks; test release 2.10.3 1996-11-13 17:24:58 +00:00
David MacKenzie
5840bd7f6b fix typos in last changes 1996-11-13 06:20:54 +00:00
David MacKenzie
bfa15ba91d split up sed substitution commands 1996-11-13 05:18:44 +00:00
David MacKenzie
49ce2554a6 cosmetic tweaks 1996-11-12 18:51:28 +00:00
David MacKenzie
618b5d14d1 more improvements from the net 1996-11-12 07:17:30 +00:00
David MacKenzie
8fb56d8ec4 more bug fixes 1996-11-12 04:48:04 +00:00
David MacKenzie
e579d06b61 many bug fixes and a few additions, mostly derived from bug-gnu-utils 1996-11-09 22:19:24 +00:00
David MacKenzie
19f8338d7e various bug fixes and small improvements 1996-11-09 00:44:49 +00:00
David MacKenzie
2158de5023 support dashes in os from config.sub 1996-10-11 02:30:20 +00:00
Roland McGrath
48368ab783 Fri Jul 19 16:59:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_TYPE): Add dnl so regexp doesn't have a
	leading newline.
1996-07-19 20:59:39 +00:00
David MacKenzie
c5af7ecf98 remove extraneous paren 1996-06-12 18:45:21 +00:00
David MacKenzie
148902c9c6 update street address 1996-06-12 17:55:25 +00:00
Roland McGrath
84bd02fb77 Sun Jun 9 17:54:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Add missing \ in last change.
1996-06-09 21:54:52 +00:00
Roland McGrath
6ba7194c08 Fri Jun 7 11:54:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Identifierize lib name in $ac_tr_lib.
1996-06-07 15:58:19 +00:00
Roland McGrath
52826d6b12 Mon May 27 13:49:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_PREREQ): Prepend "FATAL ERROR: " to msg.
1996-05-27 17:49:57 +00:00
Roland McGrath
0a405e5396 Sun May 26 19:07:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_TYPE): Tighten regexp so ulong doesn't match
	ulong_t.
1996-05-26 23:43:43 +00:00
Roland McGrath
b3123dd520 Tue May 7 13:20:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acgeneral.m4: Verion 2.10 released.
1996-05-07 17:21:45 +00:00
Roland McGrath
fddd83bcb5 Tue Mar 26 13:03:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_OUTPUT_HEADER): Make subdir if necessary.
1996-04-18 23:33:59 +00:00
Roland McGrath
3bb878df86 Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Use \055 for -; leading and trailing
	both lose with some tr.
1996-03-20 21:27:48 +00:00
Roland McGrath
b92bb3cea5 Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Put - last in tr set so it is not
	considered a range.
1996-03-20 20:16:42 +00:00
Roland McGrath
50e966964f Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Put - first in tr set so it is not
	consiedered a range.
1996-03-20 19:12:57 +00:00
Roland McGrath
1207bb2529 Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_CHECK_LIB): Omit `char $2' decl when $2 is `main'.
1996-03-20 15:08:48 +00:00
Roland McGrath
b0a426ade5 Wed Mar 13 22:10:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* acgeneral.m4 (AC_CHECK_LIB): Put quotes around _ when
	constructing cache variable name, to separate it from preceding
	text.
1996-03-20 14:32:02 +00:00
Roland McGrath
268f92001b (AC_ACVERSION): Updated to 2.9. 1996-03-16 20:53:06 +00:00
Roland McGrath
da7638173c Wed Mar 13 12:49:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acgeneral.m4 (AC_OUTPUT_HEADER): Undo last change to $ac_dB,
	and instead change the code written into conftest.hdr.
1996-03-14 09:41:54 +00:00
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
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
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
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
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
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
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
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
David MacKenzie
f5cee52491 various bug fixes 1995-02-06 23:31:34 +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
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
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
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
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
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
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
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
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
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
68a5c238ce make AC_CANONICAL_HOST independent. 1994-08-26 04:59:03 +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
f7371685eb rewrite AC_DEFINE 1994-08-24 06:41:01 +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
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
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