Commit Graph

125 Commits

Author SHA1 Message Date
Paul Eggert
8660164d69 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
signals that the package uses Automake; a `Makefile.am' is typical but
not essential.  Reported by Magnus Therning.
* tests/torture.at (autoreconf.): New banner.
(autoreconf and non-AC configure): Rename to `Non-Autoconf
AC_CONFIG_SUBDIRS'.
(autoreconf an empty directory): Rename to `Empty directory'.
(Unusual Automake input files): New test.
2005-01-02 17:15:40 +00:00
Paul Eggert
5af53758da Add Ralf Wildenhues. 2004-11-29 21:44:45 +00:00
Akim Demaille
fac3ef22a9 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
"case" to restore ordering.
Reported by Stepan Kasal.
2004-09-02 07:30:25 +00:00
Paul Eggert
c41d505cbc * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
zsh, disable GLOB_SUBST.
2004-06-24 07:07:39 +00:00
Akim Demaille
61cf467820 * bin/autom4te.in (&freeze): Use a less likely warning separator
than `nn', so that `nnn' is valid in warnings.
Reported by Steve Huston.
2003-10-31 08:43:39 +00:00
Akim Demaille
9a8ac9d0ba * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
directory for AC_CONFIG_COMMANDS' first argument exists.
This makes valid the invocation of _AC_SRCPATH that follows.
Reported by Eric Sunshine.
* doc/autoconf.texi (Configuration Commands): Adjust.
2003-09-26 13:55:03 +00:00
Akim Demaille
eb9c81bd2e Fix an acknowledgement. 2003-09-26 08:21:48 +00:00
Akim Demaille
f58280e8cc The test suite are sometimes assigning timings incorrectly.
Reported by Paivio Pollari.
Diagnosed by Nicolas Joly.
* lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
AT_help_all.
Instead of making AT_help a sequence of assignments to grow
$at_help_all, just make AT_help_all be the growing contents of
$at_help_all, and make a single assignment in...
(AT_INIT): here.
(at_times_skip): Flip the meaning and rename as...
(at_times_p): this.
(AT_INIT): When summarizing the test that ran, remove
$at_times_file after use, and check it is present before trying to
use it.
2003-09-26 08:12:38 +00:00
Akim Demaille
deceea7b05 * doc/autoconf.texi (Header Portability): linux/random.h.
From Peter Hendrickson.
2003-09-11 07:06:56 +00:00
Akim Demaille
9359f8b2c9 More S. Gildea spam neutraliation. 2003-08-27 07:30:23 +00:00
Akim Demaille
dee0ba77f6 Obfuscate S. Gildea's email. 2003-08-26 07:39:30 +00:00
Akim Demaille
8bed799f4c Update email. 2003-08-26 07:01:01 +00:00
Akim Demaille
550208e189 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
From Ville Karaila.
2003-08-25 06:29:48 +00:00
Akim Demaille
8b18a0709f * doc/autoconf.texi (Header Portability): sys/mount.h.
From Gareth McCaughan.
2003-06-25 10:05:42 +00:00
Akim Demaille
7be200c539 * doc/autoconf.texi (Header Portability): ucred.h.
From Ian Redfern.
2003-05-23 07:14:49 +00:00
Paul Eggert
80822676bf Use only ASCII characters. 2003-05-19 18:14:25 +00:00
Akim Demaille
b44e483cec * lib/autoconf/functions.m4: Use the default includes so that
memcmp be declared before being tested.
Reported by Sander Niemeijer.
(AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
* doc/autoconf.texi (Default Includes): Document
AC_INCLUDES_DEFAULT.
2003-05-17 10:30:07 +00:00
Akim Demaille
62930d7b99 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
* bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
them uniform, and more robust to Perl special characters.
Reported by Martin Mokrej.
2003-05-16 09:54:46 +00:00
Akim Demaille
e84abe67d4 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
message.
From Matthias Andree.
2003-05-12 14:48:19 +00:00
Akim Demaille
e4a4525091 * bin/ifnames.in: Skip C++ comments.
From Jeremy Yallop.
2003-04-08 08:46:43 +00:00
Akim Demaille
15753f052d * GNUmakefile (SHELL): Don't assume sh is in /bin/.
From Ilya Zakharevich.
2003-04-08 07:42:14 +00:00
Akim Demaille
f6f77d7b72 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
to a shell that can handle redirection or quoting correctly.
Override SHELL with the shell detected by configure.
Use of $^O suggested by Tim van Holder.
* bin/autom4te.in (BEGIN): Likewise.
* bin/autoreconf.in (BEGIN): Likewise.
* bin/autoscan.in (BEGIN): Likewise.
* bin/autoupdate.in (BEGIN): Likewise.
* bin/ifnames.in (BEGIN): Likewise.
* bin/ifnames.in: Add final newline to help and version messages.
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
to cope with DOS-style absolute paths, when constructing
${ac_make}.
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
When constructing paths with IFS=:, quote the path. If we're
constructing a DOS-style absolute path, we don't want to split it
on the colon.
* tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
in description.
2003-02-28 10:11:07 +00:00
Akim Demaille
9bbb516751 * bin/autoreconf.in (autoreconf_current_directory): Properly
handle an empty aclocal.m4.
2003-02-20 17:04:10 +00:00
Akim Demaille
94a099a5ff Regen. 2003-02-20 16:57:46 +00:00
Paul Eggert
4b63b9f8a8 Add Martin Frydl. 2002-12-03 08:23:53 +00:00
Akim Demaille
34afd91665 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
declaration in extern "C" too.
Reported by Roberto Bagnara.
2002-11-06 14:01:49 +00:00
Akim Demaille
701557402c * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
m4 executable names, and different GNU M4 version.
Reported by Ezra Peisach and Paul Jarc.
2002-10-28 07:15:05 +00:00
Akim Demaille
33c894c0bf * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
characters is a syntax warning now.
(_AS_QUOTE): Accept $2 as list of characters to quote.
* lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
Quote for Perl, not sh.
* bin/autoheader.in: When $debug, report the file which is
`do'ne.
* tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
`@', to tickle Perl's lists.
Reported by Carlos Velasco.
2002-10-22 08:20:19 +00:00
Akim Demaille
a73415cbc4 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
Fixes the `AC_ARG_VAR' test failures.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
* lib/freeze.mk (check-forbidden-patterns): New.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am
* lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
* doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
/dev/null.
Reported months ago by H. Merijn Brand.
2002-10-17 10:34:09 +00:00
Akim Demaille
7260b1d3c2 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
file name to enable parallel executions.
From Sam Varshavchik.
2002-10-11 09:49:31 +00:00
Akim Demaille
9a56bdde71 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
from /tmp.
Thanks to Bill Moseley and Paul Eggert.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
the tmpdir must be created.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
dir be in the build tree, instead of $TMPDIR.
2002-09-27 08:20:26 +00:00
Akim Demaille
c751364a4a * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
(chdir_init) might hang when stat'ing mounted directories.
Reported by Vance Shipley.
2002-09-13 06:59:56 +00:00
Akim Demaille
899f0c52eb * doc/autoconf.texi (Setting Output Variables): Clarify what
precious variables are.
Suggested by Pontus Skoeld.
2002-09-06 11:10:37 +00:00
Akim Demaille
c236414974 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate. 2002-07-09 08:32:40 +00:00
Akim Demaille
dad5b29768 * bin/autom4te.in (warn_forbidden): When rejecting a token,
suggest m4_pattern_allow.
Suggested by Adam J. Richter.
2002-06-07 08:03:55 +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
ee1648fd44 * doc/autoconf.texi (Obsolete Macros): Typo.
Reported by Vladimir Volovich.
2002-04-25 15:32:15 +00:00
Akim Demaille
3e6f1ca1e0 Remove a spurious comma. 2002-04-22 11:07:26 +00:00
Akim Demaille
ac07b92899 Comment changes. 2002-04-10 17:36:45 +00:00
Akim Demaille
9d658eddd9 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
workaround for ${1+"$@"}.
* doc/autoconf.texi (Shell Substitutions): Explain it.
From Oliver Kiddle and Peter Stephenson.
Have M4sh perform minimal shell sanitizing.
* lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
part into...
(_AS_PREPARE): this new macro.
(AS_PREPARE): New.
(AS_INIT): Invoke AS_SHELL_SANITIZE.
* tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
Adjust Autoconf and Autotest.
* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
Invoke _AS_PREPARE (not AS_PREPARE) in addition to
AS_SHELL_SANITIZE.
Use this M4sh to generate Autoconf's shell scripts.
* tests/wrapsh.as: New, precursor of wrapsh.in.
* tests/Makefile.am: Include lib/freeze.mk to get the dependencies
on Autotest and M4sh.
($(TESTSUITE)): Use $(autotest_m4f_dependencies).
(wrapsh.in): New target.
* bin/autoconf.as: New, precursor of autoconf.in.
(autoconf.in): New target.
2002-04-10 15:58:19 +00:00
Akim Demaille
3b4578e038 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
From Nishio Futoshi.
2002-03-19 15:20:58 +00:00
Akim Demaille
b8d6b81d64 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
-p'.
From Bob Proulx.
2002-03-13 09:44:21 +00:00
Akim Demaille
772b0c11e2 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
From Akinori Musha.
2002-02-25 17:38:41 +00:00
Akim Demaille
0913170fae Fix Autoconf PR/209.
Also reported by Frank Denis.
* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
2002-02-07 15:49:31 +00:00
Akim Demaille
d03ab7023b * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
case/esac, some shells don't support it.
Reported by Zack Weinberg.
* tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
2002-02-06 17:51:01 +00:00
Akim Demaille
06978acd7b * tests/torture.at (Configuring subdirectories): Use configure.in,
so that aclocal 1.4 works.
Reported by Alexandre Duret-Lutz and Larry Schmitt.
2002-01-29 17:19:29 +00:00
Akim Demaille
fa91df12dd * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
(_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
Bourne. Use /bin/sh.
From Andreas Buening.
2002-01-24 17:53:52 +00:00
Akim Demaille
eb93e2e245 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
(_AC_INIT_PREPARE): Support -n as --no-create, as documented.
Reported by Geir Ove Myhr.
2002-01-24 17:15:54 +00:00
Akim Demaille
ce9afffc01 * doc/autoconf.texi (Output): Improved wording regarding use of
AC_OUTPUT.
From Olly Betts.
2002-01-03 11:17:28 +00:00