Commit Graph

4331 Commits

Author SHA1 Message Date
Stepan Kasal
78b5c18a91 config.status now opens log after option processing 2005-08-23 09:26:03 +00:00
Stepan Kasal
83c3e6f9a0 Strip the parameter list before passing the macro name to AH_TEMPLATE. 2005-08-23 09:22:14 +00:00
Stepan Kasal
9ab43905c2 (AT_INIT): Process multiple --keywords correctly. 2005-08-23 08:57:24 +00:00
Stepan Kasal
9b3a6b5e1d Implement AH_HEADER 2005-08-23 08:50:54 +00:00
Stepan Kasal
9fd2bd49a0 gzip-1.2.4 is not supported 2005-08-23 07:46:54 +00:00
Stepan Kasal
11372ddb46 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out common code 2005-08-22 14:49:01 +00:00
Noah Misch
24396108a6 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
(Autotest Logs, Writing testsuite.at, testsuite Invocation):
Language cleanup.

* doc/autoconf.texi (Defining Symbols, Changed Results):
Prepend to LIBS, not append, in examples.
2005-08-21 18:40:45 +00:00
Stepan Kasal
597bc15a76 When building in place, set srcdir=".". 2005-08-16 09:11:06 +00:00
Stepan Kasal
fd9faf6c08 Updated copyright years. 2005-08-16 08:18:04 +00:00
Stepan Kasal
92b7f67a87 Updated FSF address. 2005-08-16 08:17:46 +00:00
Noah Misch
362c41181c * tests/autoscan.at (autoscan): New file.
* tests/suite.at: Use it.
* tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
Reported against Libtool by Gideon Go <gideon.go@gmail.com>.

* tests/autotest.at (Keywords): Test keywords combinations.
2005-08-15 23:47:57 +00:00
Stepan Kasal
408f08d210 gzip --help might go to stderr 2005-08-12 11:27:03 +00:00
Stepan Kasal
cabbfa68fa a cosmetic change in _AT_CHECK 2005-07-27 14:20:32 +00:00
Stepan Kasal
992d1ef0b8 fix a doubled pushdef 2005-07-27 13:46:20 +00:00
Stepan Kasal
5e1fc7afa3 (_AC_OUTPUT_SUBDIRS): The message is now prefixed by mere "===", not "configure: === ". 2005-07-26 10:14:24 +00:00
Stepan Kasal
3620c111a5 Fix typos. 2005-07-26 07:13:38 +00:00
Stepan Kasal
cabd479f4a add Dan Manthey 2005-07-26 07:13:19 +00:00
Stepan Kasal
f57fbd51d0 . 2005-07-26 06:46:30 +00:00
Stepan Kasal
6931bc143a . 2005-07-26 06:45:32 +00:00
Paul Eggert
a7c86b69bf Makefile.maint: Update from Bison. 2005-07-25 19:00:06 +00:00
Paul Eggert
a71de63184 Update from Bison. 2005-07-25 18:58:23 +00:00
Paul Eggert
4e0329a533 Rewrite substantial part of lib/autoconf/status.m4.
The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
and CONFIG_COMMANDS are not processed in four separate loops.
Instead, there is one main loop.  This alows that the common code
is expanded only once, thus config.status (and configure) is smaller.

The registration mechnism in AC_CONFIG_FILES and cousins also changed;
the AC_LIST_FILES and cousins macros are no longer used.

* lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
_AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
(_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
_AC_OUTPUT_COMMAND): ..., respectively.  These macros no longer
contains the initialization, nor the for loop, nor the associated
commands; all these go to ...
(_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
_AC_OUTPUT_CONFIG_STATUS.
(_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
(_AC_OUTPUT_FILE): The creation of the sed script ...
(AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
(_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
_AC_OUTPUT_MAIN_LOOP.
(_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
_AC_CONFIG_COMMANDS): Use ...
(_AC_CONFIG_FOOS): ... this new macro, which uses these ...
(_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
(_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
_AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
(_AC_CONFIG_DEPENDENCY): Update, it uses these ...
(_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
... new macros.
(_AC_CONFIG_UNIQUE): Update.
(AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
Replaced by this ...
(_AC_LIST_TAGS): ... new common macro.
(AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
AC_LIST_COMMAND_COMMANDS): Replaced by this ...
(_AC_LIST_TAG_COMMANDS): ... new common macro.
(_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
this didn't belong to the `config commands' section.
(_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
(AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
to the `config commands' section either.
(AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
(_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.

... and many changes to the comments nearby.

* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
set ac_subdirs_all='_AC_LIST_SUBDIRS'.
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
(#define header templates): The comment at the top of the generated
header now includes the name(s) of the source file(s).

Several unrelated small changes:

* lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
parameter to AC_DIAGNOSE.
* lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
(_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
(AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
with AU::AC_OUTPUT.
(AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
in AC_OUTPUT doesn't double-quote it either.
* tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
parameters.
2005-07-25 18:10:25 +00:00
Paul Eggert
3774d96668 Comment fix: change tab to "<tab>" in comment, so that the point is
understandable.
2005-07-25 17:47:08 +00:00
Stepan Kasal
d21c6cb2ca Document which versions of PGI compiler uses single and double quotes. 2005-07-10 16:02:44 +00:00
Paul Eggert
dfa60397fa * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
This is a corrected version of yesterday's patch.
2005-07-07 23:56:25 +00:00
Stepan Kasal
999e7f781b Changed the title above subst files dump. 2005-07-07 11:24:35 +00:00
Stepan Kasal
6f3a1c1a14 Keep a list of all precious variables. 2005-07-07 11:09:51 +00:00
Stepan Kasal
a24c03c7c7 Move the AC_SUBST call from _AC_ARG_VAR_PRECIOUS to AC_ARG_VAR. 2005-07-07 11:08:14 +00:00
Stepan Kasal
770de4a07b Simplify AC_CANONICAL_*. 2005-07-07 11:06:59 +00:00
Stepan Kasal
26c59b650a (_AC_OUTPUT_SUBDIRS): Report the full path and insert "===". 2005-07-07 10:58:22 +00:00
Stepan Kasal
c88f05df3b Revert the previous change. 2005-07-07 10:44:46 +00:00
Paul Eggert
365a2aa58f Regenerate. 2005-07-06 21:40:24 +00:00
Paul Eggert
7d9430d8b1 * NEWS: New macro AC_C_TYPEOF.
* doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
* lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
* tests/c.at (C keywords): Test AC_C_TYPEOF.
2005-07-06 21:39:30 +00:00
Paul Eggert
f18ce65fb6 * tests/base.at (Input/Output): Ignore 'loading site script' chatter. 2005-07-06 17:01:52 +00:00
Paul Eggert
77a8d274c5 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too. 2005-07-06 16:52:32 +00:00
Paul Eggert
0b35ebb082 Regenerate. 2005-07-06 16:51:54 +00:00
Stepan Kasal
e5e52a1a2c Fix my previous m4_foreach_w patch. 2005-07-05 11:25:47 +00:00
Stepan Kasal
aa0351ed19 Improve compatibility when the versions of Autoconf and Autotest don't match. 2005-07-05 11:08:41 +00:00
Paul Eggert
23fa1ecf22 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048. 2005-07-05 06:48:56 +00:00
Paul Eggert
e4fa635b9d Regenerate. 2005-07-04 06:35:16 +00:00
Paul Eggert
7d8d078148 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
sed substitution command, so that we allow | in program prefixes
and program suffixes.  (& is a problem anyway; we're not fixing
that here.)
* lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
configure_input, top_builddir, srcdir, etc.
* lib/autotest/general.m4 (AT_INIT): Likewise, for
PATH_SEPARATOR in AUTOTEST_PATH.
2005-07-04 06:33:56 +00:00
Paul Eggert
5a50da6dbe Regenerate. 2005-07-04 05:23:00 +00:00
Paul Eggert
3792cba6e8 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
for loop over config.site files using `set', to allow
directory names containing IFS characters.
2005-07-04 05:22:35 +00:00
Paul Eggert
a82b9ceb8b Regenerate. 2005-07-01 22:27:42 +00:00
Paul Eggert
fac859f174 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
directories with weird names.  Apparently some people like living
on the edge.  However, improve the test that "pwd" actually does
report a name for the working directory.
* NEWS: Remove the claim that we test for funny chars in dir names.
2005-07-01 22:20:56 +00:00
Stepan Kasal
8c60c99222 Obsolete AC_FOREACH. 2005-07-01 08:45:22 +00:00
Stepan Kasal
65d032086c Change the explanation about #include <config.h>. 2005-07-01 05:55:41 +00:00
Stepan Kasal
dec2180d09 Fix the order of the macros. 2005-06-30 18:42:08 +00:00
Stepan Kasal
a37b36b8df . 2005-06-30 18:28:11 +00:00
Stepan Kasal
c4f2d3d01e (_AC_OUTPUT_CONFIG_STATUS): Use a here document to output the default
config_* lists to config.status.
   Don't recognize option --file, if the functionality is not there.
   Likewise for --header; moreover, recognize --he and --h as shortcuts
   for --help in that case.
2005-06-30 18:27:40 +00:00