Commit Graph

3270 Commits

Author SHA1 Message Date
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
Akim Demaille
d2b5e4e883 Bump to 2.53b. 2002-04-22 14:33:05 +00:00
Akim Demaille
dde38fe9d1 . 2002-04-22 14:19:11 +00:00
Akim Demaille
12bec8f5ef Regen. 2002-04-22 13:27:31 +00:00
Akim Demaille
1f1da93834 Fix for Zsh. 2002-04-22 12:18:36 +00:00
Akim Demaille
63b1ec154d Fix for Zsh. 2002-04-22 11:15:35 +00:00
Akim Demaille
3e6f1ca1e0 Remove a spurious comma. 2002-04-22 11:07:26 +00:00
Akim Demaille
01ce11ebfd Version 2.53a. 2002-04-22 10:27:15 +00:00
Akim Demaille
13ad750134 Update. 2002-04-22 10:24:40 +00:00
Akim Demaille
b187b0e2d8 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
Fixes false failures on Darwin.
2002-04-22 10:23:12 +00:00
Akim Demaille
e3bd4560c9 Regen. 2002-04-22 09:10:58 +00:00
Paul Eggert
298b5b57f3 Minor spelling and grammar fixes. 2002-04-21 07:25:20 +00:00
Paul Eggert
62843c4d18 (AT_INIT): Fix typos in yesterday's ZSH_VERSION fixes. Bug reported
by Raja R Harinath.
2002-04-21 06:35:08 +00:00
Paul Eggert
d98cbd21bc (Shell Substitutions): Fix typos in yesterday's ZSH_VERSION fixes.
Bug reported by Raja R Harinath.
2002-04-21 06:34:23 +00:00
Paul Eggert
467a771261 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
ZSH_VERSION fixes.  Bug reported by Raja R Harinath.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* tests/atgeneral.m4 (AT_INIT): Likewise.
2002-04-21 06:33:44 +00:00