195 Commits

Author SHA1 Message Date
Ben Elliston
4ec1460c89 1999-09-21 Ben Elliston <bje@cygnus.com>
* THANKS: Update some mail addresses.
1999-09-21 07:32:11 +00:00
Akim Demaille
b48c3cd47e 1999-09-20 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT): Don't remove the CONFIG_HEADERS
 	unconditionaly: it breaks the `config.h has not changed' trick.

1999-09-20  Pavel Roskin  <pavel_roskin@geocities.com>

	* autoheader.sh: Fix the tr invocation.
1999-09-20 08:15:42 +00:00
Akim Demaille
246661b545 1999-09-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Improve configure's --help.

	* acgeneral.m4 (AC_OUTPUT): Change the root of filenames of
	config.status from $conftest to $confstat.
	The previous patch to make config.status reentrant was wrong,
 	because it changed some `conftest' that are used by configure into
 	`$conftest', while it was for config.status only.  To avoid
 	another confusion like this, all the filenames of config.status
 	should be `$confstat*', and those of configure should be
 	`conftest*'.
	(AC_OUTPUT): Rename the uses of `ac_file' for the sed fragments as
	`ac_sed_frag'.

	* acgeneral.m4 (AC_OUTPUT): This macro used to open the here
 	documents that configure uses to generate config.status, included
 	that of the submacros.  Now, it no longer handles the here
 	documents for its subroutines (it was far to hard to track).
	(AC_OUTPUT_FILES): Open and close your here documents to
	$CONFIG_STATUS.
	(AC_OUTPUT_HEADER): Likewise.
	(AC_OUTPUT_LINKS): Likewise.

	* acgeneral.m4 (AC_OUTPUT_FILES): Move $ac_vpsub and $extrasub
 	from the AC_SUBST substitutions (i.e., that of @SHELL@ etc.) to
 	the specific section (that of @srcdir@ etc.).
	Now the ``general substitution'' section is absolutely uniform.

	* acgeneral.m4 (AC_SUBST): Change sed call from `s%@from@%to%g'
 	into `s%@from@%to%;t t'.
	(AC_SUBST_FILE): Likewise.
	(AC_OUTPUT_FILES): Optimize the sed scripts by branching if there
 	are no `@' on the line. Impressive speed up.

	* Makefile.in (DISTFILES): Add THANKS.

	* THANKS: New file.
1999-09-17 08:17:40 +00:00
Akim Demaille
4e86ec447c 1999-09-15 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_FILE): Use ifset.
	(AC_CHECK_FUNC): Updated to use AC_VAR_*, and AC_CACHE_CHECK.
	(AC_CHECK_SIZEOF): Likewise.
	(AC_CACHE_CHECK): Use AC_MSG_RESULT_UNQUOTED.
	(AC_MSG_RESULT_UNQUOTED): New macro.
1999-09-15 11:58:10 +00:00
oliva
8829b673f4 * 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.
Reported by Christian Krone <krischan@sql.de>
1999-09-15 02:49:24 +00:00
oliva
8e8fa48c6b * acgeneral.m4 (AC_INCLUDE): New macro.
* autoconf.texi: Document it.
1999-09-15 02:39:28 +00:00
oliva
a3ef30aab3 * acgeneral.m4 (AC_OUTPUT_SUBDIRS): Save INSTALL in
ac_given_INSTALL, so that we can adjust relative pathnames for
sub-configures.
1999-09-15 02:33:28 +00:00
oliva
be0b76c255 * acgeneral.m4 (Configuration): Accept --env-VAR=VALUE and
VAR=value.
* autoconf.texi, install.texi: Document it.
* configure: Rebuilt.
1999-09-15 02:29:01 +00:00
Akim Demaille
642c88e6f7 1999-09-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_HELP_STRING): Rewrite in m4.  Have m4 work, and
 	give a break to sh.
	(_AC_FOREACH): Be careful not to evaluate the arguments.  A loop
	over *quoted* macro names should loop over the macro names, not
	upon their expansion.
	(_AC_COMMATIZE): Also swallow end of lines.

	* autoconf.texi (Pretty Help Strings): Updated to reflect the
 	changes.

1999-09-13  Akim Demaille  <akim@epita.fr>

	* acgeneral.m4 (ifset): New helpy tiny macro.
	(AC_OUTPUT): Improved --help of config.status.
	(AC_OUTPUT): Remove inconditionaly all the files to be updated.
	(AC_OUTPUT): Use pid to define the temporary file names in order
	to allow parallel builds.

	* autoconf.sh: Substitute also /@BKL@/[/ /@BKR@/]/ /@DLR@/$/ so
 	that these characters are more easily accessible from m4 without
 	turning changequote juggling into a nightmare.

	* acgeneral.m4 (AC_WRAP): New macro, for word wrapping.

	* autoconf.texi: Update the direntry for more modern Texinfos.
	Add pointer to configure and config.status.
	Remove the dots from the menus: horizontal space is precious.
	(Invoking config.status): More traditional presentation of the options.
1999-09-14 14:22:46 +00:00
Tom Tromey
cc528e32f0 * autoheader.sh: Allow multiple spaces between #undef and symbol
name.
1999-09-03 00:49:08 +00:00
Akim Demaille
ce28803b04 1999-09-01 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_ACVERSION): Bump to 2.14.1 to differenciate the
	experimental branch from the main trunk.

	* acgeneral.m4 (AC_FOREACH_COMMA): New macro, to perform m4 loops
 	on m4 lists (i.e., list='(item_1, item_2, ..., item_n)').
	(AC_FOREACH): New macro, to perform m4 loops on shell lists (i.e.,
 	list='item_1 item_2 ... item_n').

	* acgeneral.m4 (AC_DEFUN): Now accept two other optionnal
 	parameters: the name of the macro which is specialized here, and
 	the name of the first argument.  For instance `AC_CHECK_FNMATCH'
 	should be declared as specializing `AC_CHECK_FUNC' for `fnmatch'
 	as first argument.

	* acgeneral.m4 (AC_CHECK_FILES): Use AC_FOREACH for looping,
 	instead of the shell's loop.

	* acgeneral.m4 (AC_TR): In addition to transliteration, provide a
 	mean to specify the valid destination alphabet and a default
 	character for aliens characters.  This is in order to remove
	characters such as `+:-' etc. that may appear in file names,
	but are not valid for shell variables or #defines.
	(AC_TR_DEFINE): New macro, maps anything to a valid uppercase
 	#define rhs.
	(AC_TR_UPCASE_NAME): Replaced by AC_TR_DEFINE.  All callers
 	changed.
	(AC_TR_UPCASE_FILE): Likewise.

	* acgeneral.m4 (AC_TR_SH): Don't use the generic AC_TR: there is a
 	difficult problem of quoting between m4 and sh.  Use the variable
 	$ac_tr_sh to work around this difficulty.
	(AC_VAR_TEST_SET): New macro, which tests if a variable is set.
	(AC_VAR_IF_SET): New `ifelse' macro.
	(AC_CACHE_VAL): Use AC_VAR_IF_SET.
	(AC_INIT_NOTICE): Define $ac_tr_sh.

	* acgeneral.m4 (AC_CHECK_FILE): Converted to use AC_TR and AC_VAR
 	families.

	* acgeneral.m4: Fixed the regular expressions: `$' shall not be
	portably in a sed \(\) group.
1999-09-01 09:42:37 +00:00
Matthew D. Langston
cf3f0444f9 *** empty log message *** 1999-08-23 03:07:03 +00:00
Tom Tromey
213ef3e8cb * autoheader.sh: Fixed regexp when searching for missing symbol.
From Pavel Roskin.
1999-07-20 06:25:04 +00:00
Tom Tromey
13a7132d84 * autoheader.sh: Be more stringent when looking to see if symbol
is in a template file.
1999-07-16 23:57:26 +00:00
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
c418b8bf44 (AC_F77_LIBRARY_LDFLAGS): New implementation, to make maintenance
easier.
Grep the initial output so that we don't start parsing "-l" and "-L" too
early.  From Christopher Lee <chrislee@ri.cmu.edu>
1999-07-15 08:37:57 +00:00
Matthew D. Langston
0223b0407c Synchronize documentation with implementation. 1999-06-09 21:10:01 +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
aaaa265714 Add, and use throughout Autoconf, the following useful m4 macros
contributed by Akim Demaille <demaille@inf.enst.fr>:
  AC_TR
  AC_TR_UPCASE_NAME
  AC_TR_UPCASE_FILE
  AC_TR_SH
  _AC_SH_QUOTE
  _AC_MESSAGE
  AC_WARNING
  AC_FATAL
  AC_VAR_IF_INDIR
1999-06-02 15:22:31 +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
e914f21d8c *** empty log message *** 1999-06-02 14:35:03 +00:00
Matthew D. Langston
ebadebdc8c *** empty log message *** 1999-06-02 13:17:23 +00:00
Matthew D. Langston
9345ca6dab {f77-name-mangling} 1999-06-02 12:52:25 +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
Ben Elliston
d571a354b0 1995-05-25 H.J. Lu <hjl@gnu.org>
* config.guess (dummy): Changed to $dummy.
1999-05-25 13:02:37 +00:00
Ben Elliston
c7a40859de 1999-05-22 Ben Elliston <bje@cygnus.com>
* config.guess: Handle NEC UX/4800. Contributed by Jiro Takabatake
	<jiro@din.or.jp>.
1999-05-22 05:30:31 +00:00
Ben Elliston
61ee34a594 1999-05-17 Ben Elliston <bje@cygnus.com>
Merge with the EGCS source tree.
	* config.sub: Numerous additions. Some cleanup.
1999-05-17 04:11:51 +00:00
Ben Elliston
7bd78c4005 1999-05-17 Ben Elliston <bje@cygnus.com>
Merge with the EGCS source tree.
	* config.guess: Add detection for Interix and UWIN on Windows NT,
	OpenBSD on PA-RISC and UnixWare version 7.x.
	Improve usage of `tr' where sets are concerned.
	Detect all HP 9000 machines.
	Determine machine types more completely on older UnixWare systems.
	Determine C library version on GNU/Linux for the PowerPC.
1999-05-16 22:00:08 +00:00
Ben Elliston
a29751d9ee 1999-04-29 Ben Elliston <bje@cygnus.com>
* config.sub: Handle `t3e' alias for Cray T3E. Contributed by
	James A. Lupo <lupoja@feynman.ml.wpafb.af.mil>.
1999-04-29 05:58:38 +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
1427f8c929 1999-04-11 Philipp Thomas <kthomas@gwdg.de>
* config.sub: Set basic_machine to i586 when target_alias = k6-*.
1999-04-11 04:34:22 +00:00
Ben Elliston
3a9aeb1812 1999-04-11 Pavel Roskin <pavel_roskin@geocities.com>
* autoheader.m4: Do not complain about using AC_TRY_RUN without a
	cross-compilation action--only autoconf should do this.
1999-04-11 00:39:32 +00:00
Ben Elliston
b8b5a1519f Back out Pavel Roskin's autoheader patch. It's broken. 1999-04-10 21:50:49 +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
3c7c99978a 1999-02-10 Pavel Roskin <pavel_roskin@geocities.com>
* autoheader.m4: Do not complain about using AC_TRY_RUN without a
	cross-compilation action--only autoconf should do this.
1999-04-10 21:10:58 +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
14c9c0e52f 1999-01-11 Akim Demaille <demaille@inf.enst.fr>
* autoreconf.sh (verbose): use either `:' or `echo'.
	(aclocal_m4): Renamed from aclocal.
	(aclocal_flags): New var.
	Run aclocal using $aclocal_flags.
	Redirect ls' stderr to /dev/null to avoid spurious messages.
1999-04-10 06:18:49 +00:00
Ben Elliston
5707bf1a95 1999-04-10 Ben Elliston <bje@cygnus.com>
* mkinstalldirs: Add `-m' flag to specify the mode of a newly
	created directory. Add command line usage and `-h', `--help'
	options. Contributed by Jeff Garzik <jgarzik@pobox.com>.
1999-04-09 21:44:01 +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
53f0e84115 1999-04-08 Ben Elliston <bje@cygnus.com>
* config.sub: Handle MPE/iX. Synchronise with the FSF.
1999-04-07 17:07:41 +00:00
Ben Elliston
013e4fd5f7 1999-04-07 Ben Elliston <bje@cygnus.com>
* config.guess: Add more CLIX machines. From Thomas Dickey.
1999-04-06 07:58:28 +00:00
Ben Elliston
2a93c64997 Year typo! 1999-04-05 07:10:52 +00:00
Ben Elliston
69ad8ae05d 1994-04-06 Ben Elliston <bje@cygnus.com>
* config.guess: Avoid the possibility of `ld' on GNU/Linux
	systems being something other than the GNU linker (such as a
	directory, in the case of GNU binutils).
1999-04-05 07:05:59 +00:00
Ben Elliston
af23e9e0f2 1999-04-05 Ben Elliston <bje@cygnus.com>
* config.sub: Add modern Alpha processors.
1999-04-05 02:44:46 +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