Commit Graph

381 Commits

Author SHA1 Message Date
Ben Elliston
eda5fc6b7a 1999-10-31 Ben Elliston <bje@cygnus.com>
* testsuite/autoconf.s/defines.exp: Changed `fail' and `pass' in
	`xfail' and `xpass'. The testsuite checks that acconfig.h
	templates the AC_DEFINEs. Since we no longer rely on acconfig.h,
	the test is obsolete.
	* acspecific.m4 (AC_PROG_BINSH, AC_PROG_SED): Don't quote the name
	of the macro defined; the testsuite does not recognize this
	syntax. From Akim Demaille <akim@epita.fr>.
1999-10-31 00:03:45 +00:00
Ben Elliston
7e49021235 * Merged from the experimental branch. 1999-10-30 14:17:20 +00:00
Ben Elliston
d9409a1c3c 1999-10-16 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_PROG_CXX): gcc is not a C++ compiler.
1999-10-15 23:06:31 +00:00
Ben Elliston
d366f0548b 1999-10-02 Akim Demaille <demaille@inf.enst.fr>
* acgeneral.m4: Instead of just undefining eval, format, include
	and shift, rename them to m4_eval, etc.
1999-10-05 04:55:15 +00:00
Ben Elliston
ccaec82d1f 1999-09-29 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_FUNC_GETLOADAVG): Check for the kstat_open()
	function in libkstat (on systems such as Solaris). This family of
	functions is preferred since they don't require setgid permissions
	to use them. Fix for autoconf/65.
1999-09-29 01:03:25 +00:00
Ben Elliston
84b5651c91 1999-09-26 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_OUTPUT_LINKS): Eliminate gratuitous spaces from
	$ac_sources if this variable is otherwise empty. Fix for
	autoconf/30.
1999-09-25 23:59:00 +00:00
Ben Elliston
61389970b0 1999-09-25 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_LINK_FILES): Emit an error if an incorrect
	number of arguments are collected. Fix for autoconf/10.
1999-09-25 02:09:46 +00:00
Ben Elliston
f229e6327e 1999-09-24 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_HEADER_STDC): Define ISLOWER and ISUPPER
	macros correctly on EBCDIC systems. Contributed by Kurt D.
	Zeilenga <kurt@openldap.org>. Fix for autoconf/6.
1999-09-24 12:50:14 +00:00
Ben Elliston
c6fc36753a 1999-09-24 Jim Blandy <jimb@zwingli.cygnus.com>
* acspecific.m4 (AC_C_VOLATILE): New test.
	* acconfig.h: Add new entry for `volatile'.
	* autoconf.texi (C Compiler Characteristics): Document it.
1999-09-24 05:30:05 +00:00
Ben Elliston
26d35b5f5a 1999-09-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Fix for autoconf/28.
	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't assume LF is \012, use
	`echo` followed by a non-blank, within quotes.
	* autoheader.sh (syms): Likewise.
	* configure: Rebuilt.
1999-09-15 04:23:15 +00:00
Ben Elliston
88c156c78f 1999-09-07 Jim Meyering <meyering@ascend.com>
* acgeneral.m4 (AC_SEARCH_LIBS): Use $ac_lib as the index, not $i.
1999-09-07 12:52:42 +00:00
Ben Elliston
c8006eedca 1999-09-06 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_FUNC_ALLOCA): Rename cache variable to avoid
	name clashes with AC_CHECK_HEADER(alloca.h).
1999-09-06 02:08:58 +00:00
Ben Elliston
2b5c3cf4e9 1999-09-05 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (CONFIG_AUX_DIRS): Try running `shtool install'.
	Contributed by Ralf S. Engelschall <rse@engelschall.com>.
1999-09-04 15:01:04 +00:00
Ben Elliston
11e0cb7021 1999-09-04 Pavel Roskin <pavel_roskin@geocities.com>
* acgeneral.m4 (AC_OUTPUT_FILES): Output comment to not only
	`Makefile', but also `makefile'.
1999-09-04 12:20:02 +00:00
Ben Elliston
141a4cd467 1999-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* acgeneral.m4 (AC_CHECK_TYPE): Add optional third argument
	INCLUDES, which specifies the headers in which to search for the
	type in question. Also, pass a "description" argument to
	AC_DEFINE_UNQUOTED.
	* acconfig.h (mode_t, off_t, pid_t, size_t): Remove definitions.
	* autoconf.texi (AC_CHECK_TYPE): Document optional third argument.
1999-09-04 07:26:22 +00:00
Ben Elliston
bcdc1ba13e 1999-08-28 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_C_INLINE): Qualify the return type of the
	dummy inlined function to satisfy newer C++ compilers. Fix for
	autoconf/49.
1999-08-27 14:54:40 +00:00
Ben Elliston
3c733d23f7 1999-07-04 Mark Elbrecht <snowball3@bigfoot.com>
* acspecific.m4 (AC_PROG_CXX): Look for gpp after g++. gpp is the
	DJGPP C++ compiler, since `g++' is not a valid DOS filename.
1999-07-03 17:54:27 +00:00
Ben Elliston
fcdb3e71c6 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:25: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
Tom Tromey
74f02f339e 1999-04-17 Paul Eggert <eggert@twinsun.com>
* autoconf.texi, acspecific.m4 (AC_FUNC_MKTIME): New macro.
	taken from automake's AM_FUNC_MKTIME.
	* acfunctions: mktime now belongs to AC_FUNC_MKTIME.
1999-04-22 21:38:24 +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
c88dd52454 1999-01-28 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
* acspecific.m4 (AC_PROG_INSTALL): set INSTALL_SCRIPT to
	${INSTALL} so that automake doesn't propogate install time flags
	for INSTALL_PROGRAM into INSTALL_SCRIPT.
1999-04-10 20:23:05 +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
830e0c916a 1999-04-08 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_PROG_CC): Try using the `cl' C compiler under
	Cygwin. Contributed by Scott Stanton <stanton@scriptics.com>.
1999-04-07 23:59:09 +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
34c8b4cad2 1999-04-05 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_CYGWIN): Do not remove conftest*; let
	AC_TRY_COMPILE clean up after itself.
	(AC_MINGW32): Likewise.
	(AC_EMXOS2): Likewise.
1999-04-04 23:00:07 +00:00
Ben Elliston
3be228c166 1999-04-05 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_PROG_CC_WORKS): Show $CPPFLAGS when
	running the compiler.
	(AC_PROG_CXX_WORKS): Likewise.
1999-04-04 21:24:26 +00:00
Ben Elliston
2c371a8609 1999-04-05 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_EMXOS2): New macro. Contributed by Ryuji Abe
	<raeva@t3.rim.or.jp>.
	(AC_EXEEXT): Handle case for OS/2.
	* autoconf.texi (AC_EMXOS2): Document.
	(AC_EXEEXT): Mention OS/2.
	(AC_MINGW32): Move.
	(UPDATED): Update.
1999-04-04 20:32:09 +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
a46d446b9c 1999-04-01 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_EXEEXT): Do not consider `.xcoff' as a
	possible executable filename extension. Contributed by Robert
	S. Maier <rsm@math.arizona.edu>.
1999-03-31 08:42:11 +00:00
Ben Elliston
861872d328 1999-04-01 Ben Elliston <bje@cygnus.com>
* standards.texi: Update from FSF.
	* acspecific.m4 (AC_PROG_INSTALL): Avoid using the installation
	script belonging to HP `pwplus' when running the install
	program. Contributed by Steven G. Johnson <stevenj@alum.mit.edu>
	and Dave Adams <adams@hpesdwa.fc.hp.com>.
1999-03-31 08:16:10 +00:00
Ben Elliston
283795f039 1999-02-28 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_FUNC_VFORK): Allow test to behave correctly
	when $ac_cv_func_vfork_works is the empty string. Contributed by
	<red@nym.alias.net>.
1999-02-28 14:41:03 +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
376c50b1fb 1999-01-29 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_EXEEXT): Ignore C++ source files.
1999-01-29 05:22:29 +00:00
Ben Elliston
0f84fcb2f8 1999-01-19 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_PROG_CXXCPP): Substitute @CXXCPP@ correctly
	when $CXXCPP is overridden in the supervisory shell. Contributed
	by Michael Schoene <mrs@mlc.de>.
1999-01-19 06:42:35 +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
9c71e5b8ef 1998-10-24 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_FUNC_SELECT_ARGTYPES): New macro. Detects the
	types of formal arguments to select(). Contributed by Lars Hecking
	<lhecking@nmrc.ucc.ie>.
	* acconfig.h (SELECT_TYPE_ARG1): Add.
	(SELECT_TYPE_ARG234): Likewise.
	(SELECT_TYPE_ARG5): Likewise.
1998-10-23 18:02:19 +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