Commit Graph

257 Commits

Author SHA1 Message Date
Matthew D. Langston
f91f9f246b (AC_LIST_MEMBER_OF): New "private implementation macro" use by
AC_F77_LIBRARY_LDFLAGS.
(AC_LINKER_OPTION): Likewise.
1999-07-15 08:44:03 +00:00
Matthew D. Langston
edd38611d8 Fix sed regexp for handling CPP macros with args. 1999-06-09 21:05:17 +00:00
Matthew D. Langston
a59537d7f2 (AC_PREFIX_PROGRAM): Use macros of the AC_TR_ family.
(AC_HAVE_LIBRARY): Likewise.
(AC_CHECK_FUNCS): Likewise.
(AC_CHECK_FILES): Likewise.
(AC_CHECK_SIZEOF): Likewise.
(AC_TR): New macro which performs transliteration by m4 when possible,
or by `tr' at configure time.
(AC_TR_UPCASE_NAME): New macro, transliteration 'a-z' to 'A-Z'.
(AC_TR_UPCASE_FILE): New macro, transliteration 'a-z./-' to 'A-Z___'.
(AC_TR_SH): New macro, transliteration to valid sh var name.
(_AC_SH_QUOTE): New macro which protects non protected backquotes
against shell expansion.
(AC_MSG_CHECKING): Use it.
(AC_CHECKING): Use it.
(AC_MSG_RESULT): Use it.
(AC_VERBOSE): Use it.
(AC_MSG_WARN): Use it.
(AC_MSG_ERROR): Use it.
(_AC_MESSAGE): New macro to report message at m4 time.
(AC_WARNING): New macro to report warnings at m4 runtime.
(AC_FATAL): New macro, to report fatal error at m4 runtime.
(AC_VAR_IF_INDIR): New macro.
(AC_VAR_SET): Likewise.
(AC_VAR_GET): Likewise.
1999-06-02 15:15:11 +00:00
Ben Elliston
16f7dd63d9 1999-06-03 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_ACVERSION): Correct version number.
	* autoconf.texi (EDITION): Likewise.
	(VERSION): Likewise.
1999-06-02 14:44:13 +00:00
Matthew D. Langston
30146a69d3 (AC_HELP_STRING): New macro. 1999-06-02 14:33:24 +00:00
Matthew D. Langston
3bb5f4cfcc {f77-name-mangling} (AC_OUTPUT_MAKE_DEFS): Change sed regexps to
recognize CPP macros that take arguments.  Reported, and based on a
patch, by Steven G. Johnson <stevenj@alum.mit.edu>.
(AC_OUTPUT_HEADER): Likewise.
1999-06-02 12:46:59 +00:00
Matthew D. Langston
6926ab1514 Translate the ":" character to a "_", which allows checking for member
functions in C++ libraries.
1999-05-27 08:21:27 +00:00
Matthew D. Langston
19934c8916 Add support for Fortran 77. 1999-04-19 17:58:21 +00:00
Ben Elliston
f88690cc61 1999-04-11 Paul Eggert <eggert@twinsun.com>
* acgeneral.m4 (AC_CHECK_TYPE): Allow first argument to be a
	shell variable.
1999-04-10 21:31:12 +00:00
Ben Elliston
0012aaa6ec 1999-04-11 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_C_STRUCT_MEMBER): New macro.
	* acspecific.m4 (AC_STRUCT_TIMEZONE): Rewrite in terms of
	AC_C_STRUCT_MEMBER.
	(AC_STRUCT_ST_BLOCKS): Likewise.
	(AC_STRUCT_ST_BLKSIZE): Likewise.
	(AC_STRUCT_ST_RDEV): Likewise.
	* autoconf.texi (Structures): Update. Add menu for subnodes.
	(Particular Structures): New node.
	(Generic Structures): New node.
	(AC_C_STRUCT_MEMBER): Document.
1999-04-10 19:54:57 +00:00
Ben Elliston
27a222eeb8 1999-04-02 Mike Stump <mrs@wrs.com>
* acgeneral.m4 (AC_ARG_PROGRAM): Remove spaces, as there is one
	more pass through sh than you think.
1999-04-04 23:09:48 +00:00
Ben Elliston
d7993ab20d 1999-03-01 Gordon Matzigkeit <gord@trick.fig.org>
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't require that macro
	symbols be valid C identifiers.
1999-04-03 21:46:58 +00:00
Ben Elliston
67d8e848ec 1999-02-10 Tom Tromey <tromey@cygnus.com>
* acgeneral.m4 (AC_CACHE_LOAD): Avoid sourcing special files.
	Works around bug in some versions of bash.
1999-02-25 18:24:02 +00:00
Ben Elliston
030b2d717a 1999-02-22 Stu Grossman <grossman@cygnus.com>
* acgeneral.m4 (AC_CANONICAL_SYSTEM): Explicitly require
	AC_CANONICAL_HOST, AC_CANONICAL_TARGET and AC_CONICAL_BUILD.
	(AC_CONFIG_AUX_DIR): Run auxillary shell scripts through $SHELL.
	Do not rely on their magic number.
	(AC_CANONICAL_THING): New macro. Cache results.
	(AC_CANONICAL_HOST): Reimplement; use AC_CANONICAL_THING.
	(AC_CANONICAL_TARGET): Likewise.
	(AC_CANONICAL_BUILD): Likewise.
	(AC_OUTPUT): Use $SHELL.
	(AC_OUTPUT_SUBDIRS): Likewise.
1999-02-21 17:40:20 +00:00
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