Commit Graph

281 Commits

Author SHA1 Message Date
Akim Demaille
c33696519a Move the quadrigraphs out of the user name space.
* acgeneral.m4: 's/@BKL@/@<:@/g', 's/@BKR@/@:>@/g',
's/@DLR@/@S|@/g', 's/@PND@/@%:@/g'.
* acspecific.m4: Likewise.
* autoconf.sh: Likewise.
2000-03-03 14:25:03 +00:00
Akim Demaille
d98e77231b * acspecific.m4 (AC_PATH_X_DIRECT): Moved all the shell variable
into the ac_ name space.
Reported by Nicolas Joly.
2000-03-02 17:03:30 +00:00
Akim Demaille
9a04f64347 * acspecific.m4: Move some macros to a better place. 2000-03-02 16:48:06 +00:00
Akim Demaille
c86888e32d Internal macros are named `_AC_'.
* acgeneral.m4 (AC_CANONICAL_TARGET, AC_CANONICAL_BUILD,
AC_CANONICAL_THING, AC_CHECK_TOOL_PREFIX, AC_CONFIG_UNIQUE):
Prepend `_' to their names.
* acspecific.m4 (AC_CHECK_HEADER_DIRENT, AC_CHECK_HEADERS_DIRENT,
AC_PATH_X_XMKMF, AC_PATH_X_DIRECT): Prepend `_' to their names.
* doc/autoconf.texi (Macro Names): Adjusted.
2000-03-02 16:36:16 +00:00
Akim Demaille
3f31064d8d * acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
2000-03-02 16:27:51 +00:00
Akim Demaille
f59041e9ac Fixed a mistake in ChangeLog, and moved a few more addresses from acspecific to THANKS. 2000-03-01 15:54:37 +00:00
Akim Demaille
c3a47ec7ad * acspecific.m4: Removed a few addresses, the correspondence is...
* THANKS: here.
2000-03-01 12:29:26 +00:00
Akim Demaille
93cabdd478 * acspecific.m4 (AC_PATH_XTRA): On LynxOS 3.0.1/i386,
gethostbyname(), getservbyname(), and inet_addr() are in -lbsd.
2000-03-01 12:25:02 +00:00
Akim Demaille
ab73229498 2000-02-25 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Default Includes):

	Export the knowledge on disabling echo's trailing new line.

	* acspecific.m4 (AC_PROG_ECHO_N): Renamed as...
	(_AC_PROG_ECHO): this.
	Set ECHO_N, ECHO_C, ECHO_T instead of ac_n, ac_c and ac_t.
	All dependencies changed.
	* doc/autoconf.texi (Preset Output Variables): Document ECHO_C,
	ECHO_N and ECHO_T.
	* m4/atconfig.m4 (fp_PROG_ECHO): Removed.
	(AT_CONFIG): Don't use it.
2000-02-25 13:19:35 +00:00
Akim Demaille
28b439235b Changequote busters II.
They're back to save the world.

* acspecific.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O,
AC_PROG_MAKE_SET, AC_TYPE_GETGROUPS, AC_FUNC_GETLOADAVG,
AC_FUNC_MKTIME, AC_STRUCT_TIMEZONE, AC_F77_LIBRARY_LDFLAGS): Blast
that jelly o' changequote.  Set the quotes free.
2000-02-10 13:14:58 +00:00
Akim Demaille
0eecbaadac * acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
2000-02-10 10:35:18 +00:00
Akim Demaille
3dbe69988a * acspecific.m4 (AC_PROG_SED): Removed. 2000-02-10 09:42:36 +00:00
Akim Demaille
eb835e21d2 Introduce a concept index, and update a bit the documentation.
* doc/autoconf.texi (Concept Index): New section.
Various entries added.
(Typedefs): Renamed as...
(Types): this.  Pay attention to not limiting the documentation to
the typedefs.
(Particular Types): Mention the equivalent generic test.
Promote the GNU coding style at various places.
2000-02-08 13:38:45 +00:00
Akim Demaille
c7eb9bd99e Revamp the autoupdate/AC_OBSOLETE chain. All the details are
given in the prologue of acobsolete.m4.

* acgeneral.m4 (Prologue): Enter the `autoconf' name space.
(AU_DEFUN): New macro.

* autoupdate.m4: New file.
Disable the name spaces `autoconf', and `libm4'.  Disable libm4.
* Makefile.am: Tuned to support the changes above.

* autoupdate.sh: Model after autoconf.sh.
Can run on several files at once (for instance m4/*.m4).
Don't touch files that are up to date.
Run m4 on autoupdate.m4f instead of playing with sed.


Use AU_DEFUN.

* acgeneral.m4 (AC_LINK_FILES, AC_ENABLE, AC_WITH): Use AU_DEFUN,
remove the call to AC_OBSOLETE.
* acspecific.m4 (AC_CYGWIN32): Likewise.
* acoldnames.m4: Replaced all the definitions via `define' or
`AC_DEFUN' to use `AU_DEFUN'.
2000-02-08 13:25:49 +00:00
Akim Demaille
a443a89e84 Clean up a bit the user interface.
* autoconf.sh: Give your name while reporting errors.
Don't spit --help for errors on arguments.
* autoreconf.sh: Likewise.
* autoheader.sh: Likewise.
More temporary files that one can browse when debugging.
Don't ${var}, just $var.
Don't dump --help when the arguments are invalid.
(config_h): Use the empty value instead of `undefined' to check
that it is defined.
* acspecific.m4: Formatting changes.
2000-02-08 11:39:46 +00:00
Akim Demaille
9965880fe8 * acgeneral.m4. Formatting changes.
* acspecific.m4: Likewise.
2000-02-08 10:46:43 +00:00
Akim Demaille
c809277bf9 * acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
2000-02-08 09:45:21 +00:00
Akim Demaille
bfe8456484 Use the style we promote.
* doc/autoconf.texi (Header Templates): Promote #if over #ifdef;
and #undef over #define in templates.
* acspecific.m4 (AC_DECL_SYS_SIGLIST, AC_FUNC_MMAP,
AC_FUNC_SETPGRP, AC_FUNC_VFORK, AC_FUNC_SELECT_ARGTYPES): Use #if,
not #ifdef and #ifndef, indent CPP directives.
2000-02-08 09:34:19 +00:00
Akim Demaille
9729954f66 Stay in Autoconf's name space.
* acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): Prefixed with 'ac_':
arg, save_arg, i, seen, previous_arg, ld_run_path.
Renamed f77_link_output as ac_link_output.
* tests/actest.m4 (AC_ENV_SAVE): Don't note F77, FFLAGS, FLIBS,
G77, f77_case, f77_underscore.
2000-02-07 18:09:54 +00:00
Akim Demaille
9a9baf80c6 Use #' for comments instead of dnl'.
Better highlighting of the sections in the sources.

* acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
* autoheader.m4: Likewise.
* acoldnames.m4: Likewise.
2000-02-07 18:03:54 +00:00
Akim Demaille
db2e9d0892 * acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
2000-02-07 16:17:51 +00:00
Akim Demaille
b49b3a3107 * acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): Don't use FFLAGS_SAVE
but ac_save_FFLAGS.
(AC_F77_NAME_MANGLING): Don't use foo_bar but ac_foo_bar.
2000-02-07 16:00:02 +00:00
Akim Demaille
00f447ee06 * acspecific.m4 (AC_C_INLINE): Proceed as for AC_C_CONST:
condition out the test case if __cpluscplus.
Don't document the autoheader template twice, one is enough.
* autoheader.m4 (AC_CONFIG_HEADER): don't hook on this guy, but
on...
(AC_CONFIG_HEADERS), since the former is defined on the latter.
2000-02-07 15:39:16 +00:00
Akim Demaille
6bc62513f5 * acspecific.m4 (AC_C_CONST): Don't changequote, there is no need
for it.  Just quote properly!
condition out the test case if __cpluscplus.
AC_REQUIRE AC_PROG_CC_STDC.
Fix slightly the display of the result (formerly the first run
says `none needed', and later, because of the cache `no').
(AC_C_INLINE, AC_C_VOLATILE): AC_REQUIRE AC_PROG_CC_STDC.
* doc/autoconf.texi (AC_C_CONST): Give a few hints on the
motivation for trusting the C++ compilers.
2000-02-07 14:53:49 +00:00
Akim Demaille
466fd1b23f Test that the macros respect the user variable name space.
* acgeneral.m4 (AC_CANONICAL_THING): define, not AC_DEFUN.
Don't AC_PROVIDE, there is no need.
When calling `config.sub`, also || exit 1, to catch failures from
config.sub.
* acspecific.m4 (AC_SYS_LONG_FILE_NAMES): Use ac_val, not val.
(AC_EXEEXT): Use ac_file, not file.
* tests/actest.m4: New file, holding extra Autoconf macros used
during the testing.
(AC_ENV_SAVE): New macro, save the sh variables in a file.
* tests/suite.m4 (AT_TEST_MACRO, Generation of configure.in):
include actest.m4, and call twice AC_ENV_SAVE to compare the
variables before and after the macro.
* tests/Makefile.am (macro.m4): Don't test macros that are
required: they will be tested somewhere else.
2000-02-07 13:25:35 +00:00
Akim Demaille
63aaea568f * acgeneral.m4: Formatting changes.
* acspecific.m4: Likewise.
2000-02-07 12:04:39 +00:00
Akim Demaille
8ef18f1d04 * acspecific.m4 (AC_RSH, AC_ARG_ARRAY, AC_HAVE_POUNDBANG): No use
to hide, you are DEFUNCT.
2000-02-04 13:20:19 +00:00
Akim Demaille
34804a9d13 Introduce a means to distinguish failures of `configure' due to
extern software (so that the test suite doesn't fail on them).

* acgeneral.m4 (AC_MSG_ERROR, AC_MSG_ERROR_UNQUOTED): Allow an
optional $2: exit status.
* doc/autoconf.texi: Document.
* acspecific.m4 (AC_PROG_CC_WORKS, PROG_CXX_WORKS,
AC_PROG_F77_WORKS): Exit 77 if the compiler does not work.
2000-02-04 09:15:26 +00:00
Akim Demaille
7f8a47f153 Clean up a bit the handling of the LANG stack. More is needed.
* acgeneral.m4 (AC_LANG_CASE): New macro.
(AC_LANG_RESTORE): Use m4_case.
(AC_LINKER_OPTION): Use AC_LANG_CASE.
2000-02-04 08:41:39 +00:00
Akim Demaille
91a9a99d16 1999-11-10 Akim Demaille <akim@epita.fr>
A test suite will be introduced which tries to run all the
	specific macros, but hasbeen'd macro make configure die with bad
	exit status.  So we wish to distinguish live macros from defunct
	macros at the moment they are AC_DEFUN'd, not in their body.  Hm,
	defunct, defunct... Hey!  That's a good name!

	* acgeneral.m4 (AC_DEFUNCT): New macro, comparable to AC_DEFUN,
	but for macros which are no longer defined.  Replaces AC_HASBEEN.
	(AC_HASBEEN): Defunct.  Well, removed in fact.
	(AC_HAVE_LIBRARY): Don't use AC_DEFUN and AC_HASBEEN, just
	AC_DEFUNCT.
	* acspecific.m4 (AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
	AC_INT_16_BITS, AC_LONG_64_BITS): Likewise.
	(AC_XENIX_DIR): It was defunct even before I declared it was: was
	depending upon AC_DIR_HEADER which is defunct.  So AC_DEFUNCT'ed
	now.
	(AC_DYNIX_SEQ, AC_IRIX_SUN, AC_SCO_INTL): While we're here, you
	too are defunct now.
	* autoconf.texi (Obsolete Macros): Replace the documentation of
	AC_HASBEEN with that of AC_DEFUNCT.
2000-01-29 11:46:21 +00:00
Akim Demaille
ddfcae90fa 1999-11-10 Akim Demaille <akim@epita.fr>
* autoconf.sh: Formatting changes.
	Removed development junk.
	* acspecific.m4: Formatting changes.
	* autoconf.m4: Likewise.
	* autoheader.m4: Likewise.
2000-01-29 11:37:48 +00:00
Akim Demaille
a47826499c 1999-11-10 Akim Demaille <akim@epita.fr>
Require GNU m4 1.4 (well 1.3 in fact).

	Because we are ready to handle the case where there are no frozen
	files, we *have* to pass a -I, which is dangerous in conjunction
	with the silent including of `aclocal.m4': you may include things
	that were not expected.  Since anyway handling pre 1.3 complicates
	the task, just require an m4 which supports reloading of frozen
	files.

	* acspecific.m4 (AC_PROG_GNU_M4): Check for --reload.
	* autoconf.sh: Likewise
	* autoheader.sh: Likewise.
	* configure.in: Explicitly state the m4 version you want.
2000-01-29 09:51:17 +00:00
Akim Demaille
394a96e50d 1999-11-10 Akim Demaille <akim@epita.fr>
No need for foo="`bar`", foo=`bar` is fine.
	Simplify ${foo} and ${1} into $foo and $1.

	* acgeneral.m4 (ac_LF_and_DOT): Remove the double quotes.
	* acspecific.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Likewise.
	* autoconf.sh: Likewise.
	* autoheader.sh: Likewise.
	* autoreconf.sh: Likewise.
	* autoupdate.sh: Likewise.
	* ifnames.sh: Remove all the code and messages related to
	AC_MACRODIR, since ifnames is not related to macros in anyway.
2000-01-29 09:46:28 +00:00
Akim Demaille
3c6c0f1477 1999-11-01 Akim Demaille <akim@epita.fr>
Clean up the macros for testing members of aggregates.

	* acgeneral.m4 (AC_CHECK_MEMBER): FATAL if $1 has no dot in it.
	Use AC_INCLUDE_DEFAULTS.
	(AC_C_STRUCT_MEMBER): Removed.
	* acspecific.m4 (AC_STRUCT_TIMEZONE): Adapted to AC_CHECK_MEMBERS.
	(AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Adapted to
 	AC_CHECK_MEMBERS and obsoleted.
	(AC_STRUCT_ST_BLOCKS): Adapted to AC_CHECK_MEMBERS.
	* autoconf.texi (AC_STRUCT_ST_BLKSIZE, HAVE_STRUCT_STAT_ST_RDEV):
	Explain they are obsoleted, and how to migrate.
	(AC_STRUCT_ST_BLOCKS, AC_STRUCT_TIMEZONE): Explain that the
 	AC_DEFINE changed (but the former #defines remain defined
 	currently).
	(AC_C_STRUCT_MEMBER): Removed, replaced by the definitions of
	AC_CHECK_MEMBER and AC_CHECK_MEMBERS.
2000-01-28 16:05:48 +00:00
Akim Demaille
39413fef29 Formatting changes. 2000-01-28 10:44:30 +00:00
Akim Demaille
553eefdb5f 1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formatting changes.
	* acspecific.m4: Likewise.
2000-01-14 18:06:22 +00:00
Akim Demaille
0e6f2c809f 1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4: Formatting changes.
2000-01-14 17:34:21 +00:00
Akim Demaille
c2ff56bad5 1999-10-31 Akim Demaille <akim@epita.fr>
Fix the compatibility of the compiling macros with C++.

	* acgeneral.m4 (AC_TRY_COMPILE, AC_TRY_LINK, AC_CHECK_SIZEOF): Use
	`int main () {...}', instead of `main () {...}'.
	* acspecific.m4 (AC_TYPE_GETGROUPS, AC_FUNC_CLOSEDIR_VOID,
	AC_FUNC_FNMATCH, AC_FUNC_GETPGRP, AC_FUNC_SETPGRP, AC_FUNC_VFORK,
	AC_FUNC_WAIT3, AC_FUNC_ALLOCA, AC_FUNC_UTIME_NULL,
	AC_FUNC_SETVBUF_REVERSED, AC_FUNC_MEMCMP, AC_C_CHAR_UNSIGNED,
	AC_C_LONG_DOUBLE, AC_C_BIGENDIAN, AC_SYS_RESTARTABLE_SYSCALLS):
	Likewise.
	* acspecific.m4 (AC_FUNC_FNMATCH): Call
	AC_CHECK_HEADERS(fnmatch.h), and include fnmatch.h in the compiled
	code.
2000-01-14 15:35:36 +00:00
Akim Demaille
71a65156f8 1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_COMPILE_CHECK, AC_TRY_COMPILE,
 	AC_TRY_RUN_NATIVE, AC_OUTPUT_CONFIG_STATUS): Use @PND@ instead of
 	[#]: it looses the editors that try to match the pairs of (), []
 	etc.
	Formatting changes.
	* acspecific.m4: Formatting changes.
2000-01-14 15:19:19 +00:00
Akim Demaille
8b00e62b03 1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4: Formating changes.
1999-12-21 13:34:50 +00:00
Akim Demaille
bfbd874be5 1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Formating changes.
	* acspecific.m4: Likewise.
1999-12-21 11:50:26 +00:00
Akim Demaille
8b25a45df6 1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_PROG_GNU_M4): New macro.
	* configure.in: Use it.
1999-12-21 11:25:59 +00:00
Akim Demaille
bfb9905e93 1999-10-31 Akim Demaille <akim@epita.fr>
* autoconf.m4: Insert -*- Autoconf -*-.
	* acgeneral.m4: Likewise.
	* acspecific.m4: Likewise.
	* acoldnames.m4: Likewise.
1999-12-20 15:54:30 +00:00
Akim Demaille
9259e5bc53 1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Prefer `>file' over `> file' etc.
	* acspecific.m4: Likewise.
1999-12-20 13:45:45 +00:00
Akim Demaille
ed0f9a6d4e 1999-10-31 Akim Demaille <akim@epita.fr>
Rename the family AC_NEED_DECL as AC_CHECK: it is more uniform,
	but keep defining NEED_FOO_DECL when `foo' is not declared.  Files
	not using Autoconf behave better when declarations lacks than when
	they are wrong.  So the unset position should off, hence #if NEEDS
	instead of #if !HAVE (which is triggered when HAVE is not set).

	* acgeneral.m4 (AC_NEED_DECL): Renamed as...
	(AC_CHECK_DECL): This.  Make sure the arguments are the usual
	IF-FOUND, IF-NOT-FOUND.
	(AC_NEED_DECLS, AC_CHECK_DECLS): Likewise.
	* autoconf.texi (Generic Declarations): Document the changes
 	aforementioned.
	* autoheader.m4 (AH_NEED_DECLS): Renamed as
	(AH_CHECK_DECLS): This.
	(AH_HOOKS): Hook AH_CHECK_DECLS on AC_CHECK_DECLS instead of
	_NEED_.
1999-12-20 13:40:18 +00:00
Akim Demaille
93a205e8a5 1999-10-31 Akim Demaille <akim@epita.fr>
* acspecific.m4: Formating changes.
	* acgeneral.m4: Likewise.
1999-12-20 12:05:14 +00:00
Ben Elliston
cd2f3be239 1999-10-31 Ben Elliston <bje@cygnus.com>
* configure: Regenerate.
	* aclocal.m4: New generated file.
	* Makefile.in: Regenerate with Automake.
	* testsuite/Makefile.in: Likewise.

1999-10-31  Akim Demaille  <akim@epita.fr>

	Use Automake.  Based on files from Ben Elliston.

	* acgeneral.m4: No longer define AC_ACVERSION, include
 	acversion.m4.
	* acversion.m4.in: New AC_CONFIG_FILE.
	* acspecific.m4: Few formating changes.
	* autoconf.texi: No longer define EDITION, VERSION and UPDATED:
	include version.texi.
	AC_OUTPUT the Makefiles mentioned below and acversion.m4.
	* configure.in: Use AM_INIT_AUTOMAKE.
 	Do not AC_ARG_PROGRAM: AM_INIT_AUTOMAKE does it.
	* Makefile.am: New file.
	* mdate-sh: Likewise.
	* missing: Likewise.
	* testsuite/Makefile.am: Likewise.
1999-10-31 01:54:28 +00:00
Ben Elliston
c645272f5f 1999-10-31 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_PROG_CC_STDC, AC_C_PROTOTYPES): Inherit from
	Automake. From Franc,ois Pinard.
	* autoconf.texi (Particular Programs): Document AC_PROG_CC_STDC.
	(C Compiler Characteristics): Document AC_C_PROTOTYPES.
1999-10-31 00:56:04 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
2b67d252eb 1998-09-27 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_C_STRINGIZE): New macro to test the
	availability of the stringizing operator in the C preprocessor.
	Contributed by Arnold Robbins <arnold@gnu.org> on behalf of the
	GNU AWK project.
	* acconfig.h (HAVE_STRINGIZE): Add for the AC_C_STRINGIZE macro.
1998-09-26 23:28:30 +00:00
Ben Elliston
4ade52196a 1998-09-27 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_PROG_INSTALL): Substitute an `INSTALL_SCRIPT'
	variable.  Contributed by Tom Tromey <tromey@cygnus.com>.
1998-09-26 18:23:30 +00:00
Ben Elliston
afcdd2b71b 1998-09-15 Didier Verna <verna@inf.enst.fr>
* acspecific.m4 (AC_PATH_XTRA): use X_EXTRA_LIBS add-on libraries
	in the test for libICE. It is needed at least under Solaris.
1998-09-26 01:18:30 +00:00
Ben Elliston
03b32b3e0e Thu Jun 18 12:13:27 1998 Ian Lance Taylor <ian@cygnus.com>
* acspecific.m4 (AC_EXEEXT): Correct setting of ac_exeext when
        there is no extension.
Mon Jun  1 12:30:39 1998  Ian Lance Taylor  <ian@cygnus.com>
        * acspecific.m4 (AC_PROG_INSTALL): Likewise.
        (AC_PROG_CC): On cygwin32, if neither gcc nor cc
        are found, look for cl.
        (AC_PROG_CXX): Look for cl after all other choices.
Thu May 28 18:37:36 1998  Ian Lance Taylor  <ian@cygnus.com>
        Add support for Visual C++:
        * acspecific.m4 (AC_PROG_CC): Check whether compiler supports -g
        even if it is not gcc.
        (AC_PROG_CXX): Likewise.
        (AC_PROG_CPP): Try running the compiler with the -nologo option.
        (AC_FUNC_ALLOCA): Check for _MSC_VER.  Use ac_objext.
        (AC_FUNC_MEMCMP): Use ac_objext.
        (AC_STRUCT_ST_BLOCKS): Likewise.
        (AC_OBJEXT): New macro.
        (AC_CYGWIN32, AC_MINGW32, AC_EXEEXT): New macros.
Thu Apr 30 16:29:00 1998  Syd Polk  <spolk@cygnus.com>
        * acspecific.m4 (SETPGRP_VOID): The test for setpgrp needs
        to have unistd.h included or the DEC compiler does not
        flag the error that triggers setting the variable.
1998-09-15 01:34:50 +00:00
David MacKenzie
660963952f fix a couple of bugs 1996-12-11 00:49:47 +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
81a0a80172 more tweaks 1996-11-14 18:03:47 +00:00
David MacKenzie
c5c3ee51bd fix AC_PATH_XTRA for solaris 1996-11-14 00:42:10 +00:00
David MacKenzie
bfa15ba91d split up sed substitution commands 1996-11-13 05:18:44 +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
d5ac1ccb68 more X kludgery 1996-11-09 07:15:16 +00:00
David MacKenzie
19f8338d7e various bug fixes and small improvements 1996-11-09 00:44:49 +00:00
David MacKenzie
148902c9c6 update street address 1996-06-12 17:55:25 +00:00
Roland McGrath
44b8c1b50e Mon May 27 13:49:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acspecific.m4 (AC_SYS_LONG_FILE_NAMES): If $TMPDIR names an
	existing, writable directory, then test it instead of /tmp, /var/tmp,
	and /usr/tmp for long file name support.
1996-05-27 17:49:32 +00:00
Roland McGrath
cf70f93e0c Sun May 26 19:07:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* acspecific.m4 (AC_PROG_MAKE_SET): Sanitize $MAKE for use as
	identifier.
1996-05-26 23:44:10 +00:00
Roland McGrath
bd1131545d Thu Mar 21 10:52:03 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acspecific.m4 (AC_FUNC_GETLOADAVG): Fix name of -lelf cache variable
	name in test of it.
	(AC_PATH_XTRA): Fix name of -ldnet cache variable name in test of it.
1996-03-21 15:58:15 +00:00
Roland McGrath
b9a0721677 Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acspecific.m4 (AC_C_CONST): Remove check for gcc 2.7 bug.
	RMS wants everyone to lose until gcc is fixed.
1996-03-20 21:27:25 +00:00
Roland McGrath
6ad32e2339 Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
* acspecific.m4 (AC_C_CONST): Add check for gcc 2.7 bug.
	From Paul Eggert and Jim Meyering.
1996-03-20 19:18:39 +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
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