Commit Graph

3334 Commits

Author SHA1 Message Date
Paul Eggert
11ec5795dc (check-local): Do not assume that egrep and fgrep exist. 2002-05-29 22:26:16 +00:00
Paul Eggert
a747233e33 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP): Do not assume that egrep and fgrep exist. 2002-05-29 22:25:50 +00:00
Paul Eggert
f1496addfd (AC_C_BIGENDIAN): Do not assume that egrep and fgrep exist. 2002-05-29 22:25:24 +00:00
Paul Eggert
695a933cf5 ($m4): Do not assume that egrep and fgrep exist. 2002-05-29 22:24:52 +00:00
Paul Eggert
7f3d539ce3 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
* NEWS, doc/autoconf.texi (Particular Types): Document it.
* lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
instead of AC_MBSTATE_T, which never existed.
2002-05-28 04:16:17 +00:00
Paul Eggert
8e68a37f54 New macro AC_TYPE_MBSTATE_T. 2002-05-28 04:15:52 +00:00
Paul Eggert
46d48f7a0e (Particular Types): Document new macro AC_TYPE_MBSTATE_T. 2002-05-28 04:14:49 +00:00
Paul Eggert
d78872ae6d (_AC_FUNC_FNMATCH): Require AC_TYPE_MBSTATE_T instead of AC_MBSTATE_T,
which never existed.
2002-05-28 04:13:59 +00:00
Paul Eggert
8d17870f3d (AC_TYPE_MBSTATE_T): New macro. 2002-05-28 04:13:07 +00:00
Akim Demaille
44b3643f83 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
version of Autoconf that is discussed.
2002-05-23 17:53:10 +00:00
Paul Eggert
faca1d9918 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
from the default list of compilers to try.  Suggested by
Kate Hedstrom.
* NEWS: Document the above.
* autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
2002-05-22 23:39:06 +00:00
Paul Eggert
a9a1ba736c (Fortran 77 Compiler): Don't suggest cf77. 2002-05-22 23:37:36 +00:00
Paul Eggert
796f953b20 AC_PROG_F77 default search no longer includes cf77 and cfg77. 2002-05-22 23:36:20 +00:00
Paul Eggert
af5396d79f (AC_PROG_F77): Remove cf77 and cft77 from the default list of
compilers to try.  Suggested by Kate Hedstrom.
2002-05-22 23:35:54 +00:00
Akim Demaille
44bc445126 Remove. 2002-05-20 13:27:55 +00:00
Akim Demaille
51df2c03c3 Typo. 2002-05-20 09:37:27 +00:00
Paul Eggert
adb3936de1 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
the member is itself an aggregate.  Bug reported by Sergey Poznyakoff.
This improves on an earlier suggestion by H. Peter Anvin.
2002-05-18 00:58:09 +00:00
Paul Eggert
dbee99783c AC_CHECK_MEMBER works correctly when the member is an aggregate. 2002-05-18 00:57:30 +00:00
Paul Eggert
970e96bd21 (AC_CHECK_MEMBER): Work correctly even if the member is itself an
aggregate.  Bug reported by Sergey Poznyakoff.  This improves on an
earlier suggestion by H. Peter Anvin.
2002-05-18 00:56:47 +00:00
Paul Eggert
4885aeb6b8 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
Both macros now accept an optional source-dir arg.
New macro AC_GNU_SOURCE to define _GNU_SOURCE.

* NEWS: Document this.
* doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.

* lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
(AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
not for GNU extensions; this undoes part of the 2000-11-03 change,
reverting to 2.13-compatible behavior.
Add new optional argument DIR.
(AC_FUNC_FNMATCH_GNU): New macro.

* lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
2002-05-17 07:14:37 +00:00
Paul Eggert
5af769e538 Describe AC_FUNC_FNMATCH changes.
New macros AC_FUNC_FNMATCH_GNU, AC_GNU_SOURCE.
2002-05-17 07:13:59 +00:00
Paul Eggert
dbb82c4135 (Particular Functions): Document AC_FUNC_FNMATCH changes,
AC_FUNC_FNMATCH_GNU.
(UNIX Variants): Document AC_GNU_SOURCE.
2002-05-17 07:11:04 +00:00
Paul Eggert
1372672af0 (AC_GNU_SOURCE): New macro. 2002-05-17 07:09:12 +00:00
Paul Eggert
a64dba738c (_AC_FUNC_FNMATCH): New macro.
(AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
not for GNU extensions; this undoes part of the 2000-11-03 change,
reverting to 2.13-compatible behavior.
Add new optional argument DIR.
(AC_FUNC_FNMATCH_GNU): New macro.
2002-05-17 07:08:41 +00:00
Paul Eggert
ce73e38e5d AC_FUNC_SETVBUF_REVERSED no longer fails when cross-compiling. 2002-05-13 19:45:25 +00:00
Paul Eggert
a30032817f - AC_FUNC_GETLOADAVG now has an optional argument specifying the directory
that contains getloadavg.c, and it tests whether getloadavg.c exists.
2002-05-13 19:43:55 +00:00
Paul Eggert
0f6e2f118e * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
argument specifying location of getloadavg.c.  This removes a
FIXME.  This idea was taken from Jim Meyering's implementation in
textutils.
* doc/autoconf.texi (Particular Functions): Document this.
Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
that's what the code does; this fixes a bug reported by
Paul D. Smith.
2002-05-08 22:31:14 +00:00
Paul Eggert
9da19886af (AC_FUNC_GETLOADAVG): Add optional argument specifying location of
getloadavg.c.  This removes a FIXME.  This idea was taken from Jim
Meyering's implementation in textutils.
2002-05-08 22:30:49 +00:00
Paul Eggert
d2afab319b (Particular Functions): Document new arg to AC_FUNC_GETLOADAVG.
Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
that's what the code does; this fixes a bug reported by
Paul D. Smith.
2002-05-08 22:30:14 +00:00
Paul Eggert
92e609390c * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
and it causes a 'test' syntax error if it fails.
Bug reported by Stephen Gildea.
2002-05-08 20:26:31 +00:00
Paul Eggert
f2d43f41d5 (AC_HEADER_TIOCGWINSZ):
Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
and it causes a 'test' syntax error if it fails.
Bug reported by Stephen Gildea.
2002-05-08 20:26:07 +00:00
Paul Eggert
1d5a58c62c * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
If prototypes are supported, use them to check this at compile-time,
instead of trying to check it at run-time.  If we must do a run-time
check, assume that setvbuf is standard when cross-compiling, as
nonstandard setvbuf occurs only on ancient and unlikely hosts.
2002-05-08 19:57:14 +00:00
Paul Eggert
603fc71942 (AC_FUNC_SETVBUF_REVERSED):
If prototypes are supported, use them to check this at compile-time,
instead of trying to check it at run-time.  If we must do a run-time
check, assume that setvbuf is standard when cross-compiling, as
nonstandard setvbuf occurs only on ancient and unlikely hosts.
2002-05-08 19:56:55 +00:00
Akim Demaille
e7c982f548 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
autopoint instead of gettextize.
($uses_alocal): Rename as...
($uses_aclocal): this.
* doc/autoconf.texi (autoreconf Invocation): Adjust.
Suggested by Bruno Haible.
2002-05-03 16:09:11 +00:00
Akim Demaille
89dd0d23ad * lib/m4sugar/m4sugar.m4 (m4_map_sep): New. 2002-05-03 08:26:29 +00:00
Paul Eggert
8f8b3c874a * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
files to be 1 second older; just set them to be the same time.
Also, sleep 1 second after the first aclocal, to work around
problems with sub-second time stamps on the input files.
2002-04-30 06:33:41 +00:00
Paul Eggert
eafcef5a74 (autoreconf): Don't age aclocal.m4's input
files to be 1 second older; just set them to be the same time.
Also, sleep 1 second after the first aclocal, to work around
problems with sub-second time stamps on the input files.
2002-04-30 06:33:12 +00:00
Akim Demaille
d658e7f3be * doc/autoconf.texi: Mention "set -e -x" lossage
under node "Limitations of Builtins".
2002-04-29 13:35:51 +00:00
Akim Demaille
e00977c735 * doc/install.texi: Better wording for setting variables when
running configure.
From Christian Cornelssen.
2002-04-29 13:33:22 +00:00
Akim Demaille
25a7a663ed * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
of lack of $LINENO support, then the test will compare the $LINENO
in testsuite vs. the lineno in the test file.  This is wrong, of
course.
Be sure to protect it.
Reported by Patrick Welche.
2002-04-29 13:29:40 +00:00
Akim Demaille
ee1648fd44 * doc/autoconf.texi (Obsolete Macros): Typo.
Reported by Vladimir Volovich.
2002-04-25 15:32:15 +00:00
Akim Demaille
7928c2ab02 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
than some of the input files, hence, on the second run of aclocal,
if some of its input are younger, make them older.
Suggested by Paul Eggert.
2002-04-25 10:28:01 +00:00
Akim Demaille
21011a0300 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
Thanks to Paul Eggert.
2002-04-25 09:14:39 +00:00
Akim Demaille
ffa9b817ad * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
and ac_subst_vars be sh variables containing the list of
AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
DEFAULT diversion.
(_AC_INIT_PREPARE): Use them to log them.
(_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
(AC_SUBST, AC_SUBST_FILE): Instead of buliding the
_AC_SUBST_SED_PROGRAM, store the list of output files/variables in
_AC_SUBST_FILES and _AC_SUBST_VARS.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
2002-04-25 08:54:47 +00:00
Akim Demaille
7dc9c2f081 Regen. 2002-04-25 08:54:38 +00:00
Akim Demaille
f401af795d * bin/autoreconf.in (autoreconf): Run automake after autoconf and
autoheader, so that automake does not complain about a missing
config.h.in that was to be created.
2002-04-24 16:28:39 +00:00
Akim Demaille
9376c35c08 * bin/autoheader.in (parse_args): --warning takes an argument.
Fixes PR/220.
2002-04-23 16:59:11 +00:00
Akim Demaille
fd87ebaf1e Regen. 2002-04-23 16:58:42 +00:00
Peter Eisentraut
a8b2c66ea5 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
and bb.out when cleaning up.
2002-04-22 17:05:21 +00:00
Akim Demaille
57fa1a9c1d Update. 2002-04-22 15:49:55 +00:00