Commit Graph

2040 Commits

Author SHA1 Message Date
Akim Demaille
f1fcddedab * tests/mktests.sh: If ever it fails, touch the output files
``a` la missing''.
2000-10-13 16:37:21 +00:00
Akim Demaille
aee199fcb2 * acgeneral.m4 (AC_LINKER_OPTION): Ahem, err, use `$' when
consulting a variable...
2000-10-13 10:15:56 +00:00
Akim Demaille
5978c4f0c5 * acgeneral.m4: Typos in comments spotted by Pavel. 2000-10-13 07:50:07 +00:00
Pavel Roskin
3781fd0022 * acspecific.m4 (AC_PROG_LEX): Don't assume that lex exists.
Don't run _AC_DECL_YYTEXT if it doesn't. Always check libl and
libfl regardless of the $LEX value.
2000-10-12 20:46:23 +00:00
Akim Demaille
4b06a539ce * acgeneral.m4 (AC_CONFIG_SUBDIRS): Fixed nasty typo. 2000-10-12 16:32:13 +00:00
Akim Demaille
3f4e21bdfa Regenerate. 2000-10-12 16:12:03 +00:00
Akim Demaille
b868d59ecb * tests/mktests.sh: Backslash the quote in the heredocs to help
syntax highlighting tools.
* tests/atspecific.m4 (AT_CHECK_UPDATE): Give a better AT_SETUP
title.
2000-10-12 15:02:42 +00:00
Akim Demaille
e7ee56216e * acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use
of backquotes, instead of a `syntax' warning.
2000-10-12 14:45:05 +00:00
Akim Demaille
793b1c797f * acgeneral.m4 (AC_VAR_IN_INDIR, AC_VAR_IF_SET): Rename as...
(AC_VAR_INDIR_IFELSE, AC_VAR_SET_IFELSE): this.
2000-10-12 14:35:31 +00:00
Akim Demaille
5d348fb01a * tests/mktests.sh: Remove tmp files. 2000-10-12 12:45:16 +00:00
Akim Demaille
6af38a6c4e More entries in .cvsignores. 2000-10-12 12:43:22 +00:00
Akim Demaille
2499688c24 Macros used by AC_LANG_COMPILER macros shall not AC_REQUIRE
AC_LANG_COMPILER by the way of AC_COMPILE_IFELSE etc.
* acspecific.m4 (_AC_EXEEXT): Use _AC_LINK_IFELSE, not
AC_LINK_IFELSE to avoid AC_REQUIREing AC_PROG_CC which precisely
requires _AC_EXEEXT.
Don't run _AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2.
* aclang.m4 (_AC_PROG_F77_G): Use _AC_COMPILE_IFELSE, not
AC_COMPILE_IFELSE.
(_AC_LANG_COMPILER_WORKS): Use _AC_LINK_IFELSE, not
AC_LINK_IFELSE.
2000-10-12 12:39:25 +00:00
Akim Demaille
55ee762412 Diagnose AC_REQUIRE circular dependencies.
* acgeneral.m4 (_AC_DEFUN_PRO, _AC_DEFUN_EPI): Keep a stack of
macro expansions, _AC_EXPANSION_STACK.
Use `_AC_EXPANDING(FOO)' to record the fact that `FOO' is being
expanded.
(_AC_REQUIRE): Diagnose required macros which are already being
expanded.
Record in _AC_EXPANSION_STACK the AC_REQUIRE calls.
(_AC_EXPANSION_STACK_DUMP): New macro.
2000-10-12 10:12:43 +00:00
Akim Demaille
e2e7203a0a * libm4.m4 (m4_dumpdefs, _m4_dumpdefs_up, _m4_dumpdefs_down): New
macros.
2000-10-12 07:38:42 +00:00
Pavel Roskin
32f853c7e3 * tests/atgeneral.m4 (AT_CHECK): Make sure that $? is set to 0
if diffs have succeded.
2000-10-11 19:59:43 +00:00
Pavel Roskin
5c7a7dab83 * acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
(_AC_RUN_IFELSE): New macros which are the former
AC_COMPILE_IFELSE etc. without AC_LANG_COMPILER_REQUIRE.
(AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE): Use them.
2000-10-11 17:55:46 +00:00
Pavel Roskin
f86ba16a1d Regenerated 2000-10-11 16:05:53 +00:00
Akim Demaille
505d2c60df * acgeneral.m4 (AC_RUN_IFELSE): Add missing executable suffix.
* aclang.m4 (_AC_LANG_COMPILER_WORKS): Likewise.
* aclang.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Fix typos where
$objext were used instead of $ac_objext.
2000-10-11 14:51:28 +00:00
Akim Demaille
aed9b5dee4 Check that updated scripts are valid scripts.
* tests/mktests.sh: Generate `syntax.m4' directly.
* tests/macros.m4: Remove.
Adjust dependencies.
* tests/mktests.sh: Generate `update.m4' too.
* tests/update.m4: New generated file.
Adjust dependencies.
* tests/atspecific.m4 (AT_CHECK_UPDATE): New macro.
2000-10-05 13:52:41 +00:00
Akim Demaille
fe9214cbf0 * tests/mktests.sh: New file, which replaces the code inlined in
Makefile.am.
* src/Makefile.am (macros.m4): Use `mktests.sh'.
* tests/suite.m4: Reorder from low level to high level.
2000-10-05 09:39:06 +00:00
Akim Demaille
174ad6ea74 Update auxiliary files. 2000-10-04 12:42:34 +00:00
Akim Demaille
c7a8dfd1cf * aclang.m4 (_AC_LANG_ABBREV, _AC_LANG_ABBREV(C))
(_AC_LANG_ABBREV(C++), _AC_LANG_ABBREV(Fortran 77): New macros.
(AC_LANG_(C), AC_LANG_(C++), AC_LANG_(Fortran 77)): Don't define
AC_LANG_ABBREV.
(_AC_PROG_PREPROC_WORKS): Adjust.
* acgeneral.m4 (_AC_TRY_CPP): Likewise.
2000-10-02 13:11:27 +00:00
Pavel Roskin
ff690f003f * acspecific.m4 (AC_PROG_LEX): Use AC_DEFUN_ONCE.
(AC_DECL_YYTEXT): Don't use AC_REQUIRE because autoupdate
would place it into configure.in but it's not allowed
outside AC_DEFUN.
2000-10-02 12:47:13 +00:00
Pavel Roskin
f66621410b * tests/Makefile.am: Macros defined by AC_DEFUN_ONCE should
go to macros.m4 for testing.
2000-10-02 12:43:02 +00:00
Pavel Roskin
270cc51063 * acgeneral.m4 (AC_SHELL_UNSET): Don't rely on variable
assignments changing $?.
2000-09-28 17:43:35 +00:00
Pavel Roskin
a245415e40 * acgeneral.m4 (_AC_OUTPUT_FILES): Fixed exit status.
(_AC_OUTPUT_HEADERS): Exit if the header template is missing.
2000-09-28 14:39:55 +00:00
Pavel Roskin
c865483335 * acfunctions.m4: Formatting fixes.
* acgeneral.m4: Likewise.
* aclang.m4: Likewise.
* acspecific.m4: Likewise.
* libm4.m4: Likewise.
2000-09-28 14:26:50 +00:00
Pavel Roskin
53e7a1a55a * acgeneral.m4 (AC_CHECK_PROG): Added protection against spaces
in $PATH.
* acspecific.m4 (AC_PROG_INSTALL): Likewise.
2000-09-27 18:17:36 +00:00
Pavel Roskin
b8d7070b9f * acgeneral.m4 (AC_CHECK_LIB): only call AH_CHECK_LIB if
ACTION-IF-TRUE is not given.
(AH_CHECK_LIB): related comment changes.
2000-09-27 13:21:11 +00:00
Pavel Roskin
f4bc20baf8 * aclang.m4 (_AC_LANG_COMPILER_WORKS): Remove []dnl because it
resulted in invalid shell code.
2000-09-27 13:16:13 +00:00
Akim Demaille
e6600f6485 * autoconf.sh: Report full macro name for missing macros. 2000-09-27 10:29:30 +00:00
Akim Demaille
c916e13f94 * autoheader.sh: Fix trap (EXIT) status.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoconf.sh: Change `exit' to `{ (exit 1); exit; }' after m4 and
awk commands to ensure exit state is in a defined state.
2000-09-27 10:02:27 +00:00
Pavel Roskin
de231bb167 * tests/semantics.m4 (AC_PROG_CPP with warning): Simplified. 2000-09-25 20:12:01 +00:00
Pavel Roskin
601d3afce2 Regenerated configure. 2000-09-25 14:41:33 +00:00
Pavel Roskin
1486532ed0 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): use
_AC_INIT_PREPARE_ENVIRONMENT to make the shell runnin
config.status sane and POSIX-compatible.
2000-09-25 14:34:17 +00:00
Pavel Roskin
480bbc8376 * autoheader.sh: Don't check status of variable assignments -
* it's undefined in ash 0.2.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoconf.sh: Likewise. Also eliminated command substitution
inside variable expansion - ash 0.2 coredumps on it.
2000-09-25 13:24:45 +00:00
Pavel Roskin
51ff685138 * tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Check stderr from
autoconf and autoheader. Expected warnings disabled by "-W none"
Preceding comment removed as no longer relevant.
* tests/semantics.m4 (AC_CHECK_PROG & AC_PATH_PROG): Check
stderr from autoconf.
(AC_PATH_PROG & AC_PATH_PROGS): Likewise.
(AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Likewise.
* tests/tools.m4 (autoheader): Check that autoheader prints
a warning for missing templates. Check stderr from autoconf.
* tests/torture.m4 (config.status under extreme conditions):
Check stderr from autoconf and autoheader.
(command line interface): Check stderr from autoconf.
2000-09-21 13:42:49 +00:00
Pavel Roskin
e7c7ab2237 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix usage info for
config.status - file arguments are optional.
2000-09-21 13:37:26 +00:00
Pavel Roskin
b4f63402c1 * acgeneral.m4 (_AC_OUTPUT_FILES): Ensure that config.status
exits if any input file is missing.
* tests/semantics.m4 (missing templates): Test it.
2000-09-21 13:34:15 +00:00
Pavel Roskin
78a872fa52 * acgeneral.m4 (_AC_SHELL_TMPDIR): Don't check status of variable
assignment - it's undefined in ash 0.2.
2000-09-21 13:32:01 +00:00
Akim Demaille
af51198638 * src/atgeneral.m4 (AC_CHECK): Display stderr including when the
test failed because of stdout.
2000-09-21 13:06:03 +00:00
Akim Demaille
7a3e952e57 * tests/atgeneral.m4: Formatting changes.
(AT_INIT): Let `at_stop_on_error' and `at_verbose' be `:'/`false'
variables instead of `'/`1'.
`at_check_stds' replaces `at_no_redirs'.
Rename `Snippet 3' as `Snippet 4'.
Introduce `Snippet 3' for variable initializations.
Adjust the dependencies.
(AT_CHECK): Don't show diff's result unless verbose.
2000-09-21 12:47:04 +00:00
Pavel Roskin
3258eecc3e Regenerated 2000-09-20 16:51:43 +00:00
Pavel Roskin
edd02fca11 Formatting changes. 2000-09-20 14:35:46 +00:00
Pavel Roskin
ff99097cef * tests/Makefile.am: AC_PREFIX_PROGRAM and AC_F77_FUNC excluded
from testing because they require an argument.
* tests/atspecific.m4: Make sure that configure doesn't write
anything to stderr.
2000-09-20 13:12:13 +00:00
Pavel Roskin
3ad877f56d * acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Cache
variable wasn't always set inside AC_CACHE_CHECK.
(_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL): Likewise.
2000-09-20 13:01:44 +00:00
Pavel Roskin
5eda671dae * libm4.m4 (m4_ifvanl): Don't output a newline for empty
arguments
2000-09-20 10:45:10 +00:00
Akim Demaille
c550ac5ae5 * tests/atspecific.m4 (AT_TEST_MACRO): Rename as...
(AT_CHECK_MACRO): this.  All dependencies adjusted.
2000-09-19 18:08:38 +00:00
Akim Demaille
eb875d8240 * tests/aclocal.m4.new (AC_ENV_SAVE): Skip POW_LIB, used by
AC_FUNC_STRTOD.
From Bernard Dautrevaux.
2000-09-19 15:36:39 +00:00
Akim Demaille
a5c2f0e5d9 * tests/atgeneral.m4 (AT_DATA): Use _ATEOF instead of EOF. 2000-09-19 15:36:09 +00:00