Commit Graph

2562 Commits

Author SHA1 Message Date
Akim Demaille
17c8111864 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
confdefs.h when non-zero.
2001-06-28 16:05:29 +00:00
Akim Demaille
dd187f5e84 * configure.in: Bump to 2.50c. 2001-06-28 15:53:38 +00:00
Akim Demaille
694b7dfdfc Version 2.50b 2001-06-26 14:32:18 +00:00
Akim Demaille
316dc16101 writable-file: Use release-archive-dir, and be sure it exists. 2001-06-26 12:52:17 +00:00
Akim Demaille
04e97d1a1b Version 2.50a. 2001-06-26 11:30:22 +00:00
Akim Demaille
169eedc2d0 Prepare for 'make alpha'. 2001-06-26 11:29:51 +00:00
Pavel Roskin
4f28f9a62c * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
argument, AUTOCONF-FLAGS.
* tests/mktests.sh (update_exclude_list): Add
AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
* tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
AC_FUNC_WAIT3 with "-W no-obsolete".
2001-06-25 18:27:51 +00:00
Akim Demaille
a9cd64a1be * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding. 2001-06-25 11:57:14 +00:00
Akim Demaille
80dc65a8a0 * autoscan.in (%macro): Now maps from word to list of macros.
(&init_tables): Die when a word which is already handled by
explicit macros is mapped to the default macro.
(&print_unique): Remove, inlined in...
(&output_kind): here.
(File::Basename): Use it.
(&output): Sort the CONFIG_FILES.
* acheaders: Normalize.
* acfunctions: Likewise.
2001-06-25 06:15:07 +00:00
Akim Demaille
eb7be92f35 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
characteristics in the logs.
Suggested by Mo DeJong.
2001-06-25 06:14:43 +00:00
Akim Demaille
9a20a8b2a0 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
(AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
* doc/autoconf.texi (Autoconf 2.13): New section.
2001-06-23 22:59:11 +00:00
Akim Demaille
ca36be0606 * autoconf.in (Task traces): Separate the error messages from the
traces to improve robustness.
2001-06-23 22:58:54 +00:00
Akim Demaille
984307c4ce * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
three as failures are unlikely, and speed matters.
2001-06-23 17:14:34 +00:00
Akim Demaille
567515c87b Typo. 2001-06-23 15:32:59 +00:00
Akim Demaille
fa0a3dba0c * doc/autoconf.texi (Redefined M4 Macros): New. 2001-06-23 15:30:22 +00:00
Akim Demaille
aa614be7c3 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
5.3.
2001-06-23 15:18:46 +00:00
Akim Demaille
ebcadf6355 Update. 2001-06-23 15:06:39 +00:00
Akim Demaille
2f086d9b7b 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
config.status targets to after the evaluation of the INIT-CMDS.
Double quote config.status targets (used to be single quoted).

2001-06-23  Akim Demaille  <akim@epita.fr>

* tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Check the content of the created file.
Check the ./config.status command line invocation.
2001-06-23 15:04:14 +00:00
Akim Demaille
23e9b13859 * tests/foreign.at (Libtool): Reject prehistoric versions. 2001-06-23 14:01:29 +00:00
Akim Demaille
85285b7ba1 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
preexisting files matching a.*.
2001-06-23 13:51:39 +00:00
Akim Demaille
95407d46e3 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
stderr.
* doc/autoconf.texi (AC_ARG_VAR): Update.
2001-06-23 13:10:31 +00:00
Akim Demaille
21c0ac05f4 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
precious variables have changed.
* tests/torture.at (AC_ARG_VAR): Adjust.
2001-06-21 10:56:21 +00:00
Akim Demaille
21c5ee474b ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
but some sed choke on multiple `;', and other tools (e.g.,
Automake), include the separator themselves.
* acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
2001-06-21 09:18:16 +00:00
Tim Van Holder
2720ecff86 * doc/autoconf.texi (Functions Portability): Rename as...
(Function Portability): this.
(Function Portability): Document potential problems with unlink().
2001-06-19 17:50:56 +00:00
Akim Demaille
ee0ed17eec Typos. 2001-06-19 17:44:12 +00:00
Tim Van Holder
eeaf83ccae * doc/autoconf.texi: (Functions Portability) Rename as...
(Function Portability): this.
(Function Portability): Docum
2001-06-19 17:40:05 +00:00
Akim Demaille
27c032e297 More patterns. 2001-06-19 17:33:28 +00:00
Akim Demaille
32d23d4aa7 * NEWS, doc/autoconf.texi: Document quadrigraphs. 2001-06-19 06:45:18 +00:00
Akim Demaille
9014babfc6 * acfunctions.m4 (AC_FUNC_FORK): Fix typos. 2001-06-18 19:36:10 +00:00
Akim Demaille
4ce12bf79e * acfunctions.m4: (AC_FUNC_VFORK) rename as...
(_AC_FUNC_VFORK): this.
Remove AC_DEFINEs and don't guess cross-compilation values.
(_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
(AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
vfork doesn't work.
Guess values if cross-compiling, but warn.
* acfunctions: Add AC_FUNC_FORK.
* doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
and vfork appropriately.
2001-06-18 19:11:24 +00:00
Akim Demaille
1ecf62bc46 * doc/autoconf.texi (Functions Portability): New section. 2001-06-18 18:51:36 +00:00
Akim Demaille
a89977e147 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
in $M4.
Suggested by Andreas Schwab.
2001-06-18 18:15:24 +00:00
Akim Demaille
b56908c370 Move texinfo.tex from doc/ to config/. 2001-06-18 18:05:20 +00:00
Akim Demaille
49297a91ed * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
(AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
(AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
(AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
(AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
the converse).
2001-06-18 17:41:03 +00:00
Akim Demaille
1943ed19d6 * doc/autoconf.texi (ms): New index.
(Macro Index): Rename as...
(Autoconf Macro Index): this.
(M4 Macro Index): New appendix.
(Programming in M4): New chapter.
Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
(Quoting): Rename as...
(M$ Quotation): this.
Be part of `Programming in M4).
2001-06-18 17:23:12 +00:00
Pavel Roskin
bd5eccd22e * tests/torture.at (AC_ARG_VAR): Set variables and export them
in separate statements for compatibility with Tru64 v5.1.
2001-06-18 16:14:10 +00:00
Akim Demaille
8cb3ac1b1c * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
current values of the precious variables, not the previously
cached values.
Pass precious variables which are set to config.status.
* doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
* tests/torture.at (AC_ARG_VAR): New.
2001-06-17 18:14:27 +00:00
Akim Demaille
d8453532a1 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
and explain why and how to replace them.
* acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
* acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2001-06-15 17:44:17 +00:00
Akim Demaille
ede1b31c81 `build_alias' and so on are not AC_SUBST'd.
Reported by Bruno Haible.
* acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
 (_AC_ARG_VAR_PRECIOUS): to here.
2001-06-15 17:40:57 +00:00
Pavel Roskin
c23aa050c1 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
an unused pointer use cast to this type and `if' statement to
avoid warnings from the compiler.
(AC_HEADER_TIME): Likewise.
* actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
in `if' statement to avoid warnings from the compiler. Declare
ac_aggr static to avoid the need to initialize it.
2001-06-15 15:53:18 +00:00
Akim Demaille
ccc11f345b * doc/autoconf.texi (Portable Shell): Move after `Writing Macros'. 2001-06-14 16:14:33 +00:00
Akim Demaille
f7e739cbd1 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
Suggested by Alexander Mai.
2001-06-13 16:26:51 +00:00
Pavel Roskin
5db898a650 ** Specific Macros
- AC_PATH_XTRA only adds -ldnet to $LIBS if it's needed to link.
2001-06-13 15:30:27 +00:00
Akim Demaille
b79636c1ae * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
sys/types.h and sys/stat.h, and check for them.
2001-06-13 08:45:39 +00:00
Akim Demaille
bc0cb140fd * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
INCLUDES.
2001-06-13 07:51:09 +00:00
Pavel Roskin
f789ff53d8 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
succeeds and only try adding libdnet upon a failure.
2001-06-12 16:45:17 +00:00
Akim Demaille
e940773c63 Stupid me :(
Reverse the patch incorrectly applied when adding prev-version.txt
2001-06-12 14:46:13 +00:00
Akim Demaille
11f6cf8fb5 Added for real. 2001-06-12 14:42:53 +00:00
Akim Demaille
9d948a65ed * autoscan.in (&output_kind): Output the comment only if it exists.
(%kind_comment): Add entry for `programs'.
(&output_programs): Use &output_kind.
(&output_functions, &output_identifiers, &output_headers)
(&output_programs): Inline, and remove.
2001-06-12 10:16:49 +00:00
Akim Demaille
49ee5178ef * autoscan.in (%kind_comment): New.
(output_kind): New.
(output_functions, output_identifiers, output_headers): Use it.
2001-06-12 10:05:27 +00:00