Commit Graph

4354 Commits

Author SHA1 Message Date
Paul Eggert
f50d0bd4c7 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
AC_LANG_PROGRAM, fixing a typo.  Don't give details about
the inner workings of AC_LANG_FUNC_LINK_TRY.
* lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
by the function rather than ignoring it.
(AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
comparing its address.  Intel's interprocedural optimization was
outsmarting the old heuristic.  Problem reported by
Mikulas Patocka.
2005-10-19 22:35:51 +00:00
Stepan Kasal
e56f3ffe24 Remove an obsolete comment. 2005-10-19 05:21:21 +00:00
Paul Eggert
cf3b3ede92 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
(m4_map, m4_map_sep): Use it.  Handle the empty list correctly.
2005-10-05 21:27:43 +00:00
Stepan Kasal
51f6f59761 (AT_INIT): Make the test dir writable... really, in all 3 cases. 2005-10-04 09:14:11 +00:00
Stepan Kasal
f073f1e44e (AT_INIT): Make the test dir writable... IF it exists. 2005-10-03 10:43:55 +00:00
Stepan Kasal
2ae20df5b3 (AT_INIT): Make test dir writable before removing. 2005-10-03 10:25:53 +00:00
Paul Eggert
1028b09a3f * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses. 2005-10-02 21:36:29 +00:00
Stepan Kasal
06175379d3 Prevent problems with the testsuite running too fast. 2005-09-27 16:08:10 +00:00
Paul Eggert
356092a89c * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
(which belong to Xt, not X itself).  See Debian bug 327655.
* NEWS: Mention this.
2005-09-18 17:10:24 +00:00
Stepan Kasal
f384105745 (AC_LANG_SOURCE(C)): Remove an incorrect comment. 2005-09-07 14:43:14 +00:00
Paul Eggert
0846cebb13 * config/move-if-change: Don't output "$2 is unchanged";
suggested by Ben Elliston.  Handle weird characters correctly.
2005-09-06 20:00:24 +00:00
Stepan Kasal
824052b6c8 Use AS_IF where appropriate. 2005-09-06 15:38:56 +00:00
Stepan Kasal
d8e678e2d0 (AS_IF): Use m4_default. 2005-09-06 15:37:55 +00:00
Stepan Kasal
8e555fe7d0 Fix AC_SEARCH_LIBS. 2005-09-06 15:34:06 +00:00
Stepan Kasal
6d3f3b1995 Add an index entry for AH_HEADER. 2005-09-01 13:49:01 +00:00
Paul Eggert
47b5ca26b1 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
XMKMF to locate xmkmf.  Make XMKMF precious.  Export CC when
running xmkmf.
2005-08-26 19:42:23 +00:00
Paul Eggert
6e5fadf3d7 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
The previous patch didn't work, so try a better one.
2005-08-26 18:50:08 +00:00
Paul Eggert
7385854c54 (_AS_VERSION_COMPARE_PREPARE):
The previous patch didn't work, so try a better one.
2005-08-26 18:49:23 +00:00
Stepan Kasal
f9f3b51d6f Define AC_CANONICAL_* by AC_DEFUN, not AC_DEFUN_ONCE. 2005-08-26 16:36:25 +00:00
Stepan Kasal
0058d8366e Fix the examples for AS_TR_CPP and AS_TR_SH. 2005-08-26 16:12:21 +00:00
Paul Eggert
7753b867c0 Regenerate. 2005-08-25 21:33:19 +00:00
Paul Eggert
ffea2f0089 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
Work around bug in Solaris 9 (and 10) /usr/xpg4/bin/awk.
2005-08-25 21:29:54 +00:00
Stepan Kasal
7f5083c932 Simplify _AC_CANONICAL_SPLIT 2005-08-25 08:49:01 +00:00
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