Pavel Roskin
07948d1678
* tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
2001-06-06 17:54:48 +00:00
Akim Demaille
cb1bba338d
* acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
...
properly when $1 is not a literal.
Fixes PR Autoconf/187, reported by Bram Moolenaar.
2001-06-06 15:03:29 +00:00
Akim Demaille
8f50c7ad5a
* tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
...
PR autoconf/187.
2001-06-06 08:25:00 +00:00
Akim Demaille
e1e6286e7b
* acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
...
(AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
(AC_TR_SH): Move as...
* m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
(AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
(AS_TR_SH): these.
(_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
(_AS_TR_SH_PREPARE): New.
(AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
* tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
2001-06-04 16:07:23 +00:00
Akim Demaille
52a4833e9f
* configure.in (standards_texi): Remove, dead code.
2001-06-02 12:30:14 +00:00
Pavel Roskin
8dba4e28ab
* acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
...
for signals other than 0 - exit with code 1.
* m4sh.m4 (AS_TMPDIR): Likewise.
* autoconf.in: Likewise. Also don't rely on exit == exit $?.
* autoheader.in: Likewise.
* autoreconf.in: Likewise.
* tests/torture.at (Signal handling): New test for the above.
2001-06-02 05:49:54 +00:00
Pavel Roskin
59d75eac1e
Add endless.sh and syntax.sh.
2001-06-01 15:37:20 +00:00
Akim Demaille
44ce5ed5a2
* atgeneral.m4 (AT_INIT): Use $SHELL.
...
* atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
2001-05-31 08:24:01 +00:00
Akim Demaille
ede868b1e6
* tests/base.at: Adjust line numbers in error messages.
2001-05-31 07:04:30 +00:00
Akim Demaille
791ec9f1f4
* tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
...
to emit the bangshe line.
Reported by David Carter.
2001-05-31 07:02:13 +00:00
Akim Demaille
9027f7efea
* config: New directory.
...
* configure.in: AC_CONFIG_AUX_DIR it.
* tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
2001-05-22 14:43:48 +00:00
Akim Demaille
f27d468f90
* autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
...
* autoupdate.in: Specify the Emacs mode.
* acversion.m4.in: Rename as...
* acversion.m4: this.
* tests/Makefile.am (CLEANFILES): More garbage.
2001-05-22 14:04:22 +00:00
Akim Demaille
8593e941c9
* tests/tools.at: s/undefined macro/possibly undefined macro/.
2001-05-19 17:35:02 +00:00
Akim Demaille
f3aa0ae8ae
* tests/compile.at (AC_PROG_CPP via CC): Invoke AC_PROG_CC instead
...
if using `cc'.
2001-05-19 15:35:29 +00:00
Akim Demaille
fbb6a65e7a
* tests/compile.at (GNU Fortran 77): Don't AS_EXIT when using
...
AT_CHECK_MACRO since it skips tests embedded in configure.ac.
Remove files which might have been created when invoking the
compiler.
Reported by Nicolas Joly.
2001-05-19 15:15:54 +00:00
Akim Demaille
f5d0e4f28b
* aclang.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): No longer use the
...
`maybe' strategy: first try cpp's exit status, then its stderr.
(AC_PROG_CPP, AC_PROG_CXXCPP): Adjust.
* tests/compile.at (AC_PROG_CPP via CC): Simplify mycc.
Remove unrelated code.
2001-05-11 15:54:43 +00:00
Pavel Roskin
2ecc240cbc
Add "mycc".
2001-05-10 18:19:26 +00:00
Akim Demaille
060b6812f6
* tests/compile.at (AC_PROG_CPP via CC): New.
...
From Daniel Carroll.
2001-05-10 15:41:16 +00:00
Pavel Roskin
eb87620d94
Add mycpp, testsuite.tmp.
2001-04-26 14:46:13 +00:00
Akim Demaille
69b6065c22
* tests/foreign.at (Libtool): Ignore configure's stderr.
2001-04-20 17:38:22 +00:00
Akim Demaille
6b6c7f7b9f
* tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Be robust to missing
...
or broken autoupdate.
* tests/tools.at: Likewise.
* tests/Makefile.am (CLEANFILES): Also clean Libtool files.
2001-04-20 13:07:09 +00:00
Akim Demaille
48ecaeea39
* autoconf.sh (Task script): Be sure that `forbidden.rx' and
...
`allowed.rx' exist when AWK loads then.
Reported by Rainer Orth.
2001-04-11 16:29:14 +00:00
Lars J. Aas
236dddbd7f
FSF header updates
2001-04-11 15:15:20 +00:00
Akim Demaille
75a3a3d326
* m4sh.m4 (AS_BASENAME): New.
...
(AS_SHELL_SANITIZE): Set `$as_me'.
* acgeneral.m4: Don't set as_me; AS_SHELL_SANITIZE now does this.
* tests/atgeneral.m4: Likewise.
(AT_INIT): Use $PATH_SEPARATOR for walking the path.
* autoconf.sh: Be DOS-friendly when setting as_me and M4.
Add quotes to support spaces in $tmp.
Work around problem in DJGPP port of awk by using a temporary file.
* autoheader.sh: Be DOS-friendly when setting as_me.
* autoreconf.sh: Be DOS-friendly when setting as_me, dir and
template_dir.
2001-03-30 12:49:36 +00:00
Akim Demaille
c65009836b
* tests/foreign.at (Libtool): Don't skip 1.3.5.
...
Invoke AC_CANONICAL_SYSTEM ---for some reason AC_CANONICAL_HOST is
not enough for 1.3.5.
From Lars J. Aas.
2001-03-20 14:15:59 +00:00
Akim Demaille
125764c93d
* tests/atgeneral.m4: s/Testing suite/Test suite/g.
...
From Jim.
(AT_INIT): Adjust the error message on invalid options.
* tests/foreign.at (Libtool): Skip Libtool 1.3 too.
2001-03-20 13:59:27 +00:00
Akim Demaille
ae7a741e0b
* tests/tools.at (AWK portability): Don't rely on `empty'.
2001-03-19 14:54:38 +00:00
Akim Demaille
608985663d
* tests/atgeneral.m4 (AT_INIT): Fix the at_diff test.
...
Reported by Nicolas Joly.
2001-03-19 14:31:00 +00:00
Akim Demaille
a21d079e63
* tests/atgeneral.m4 (AT_INIT): Don't always create `empty', rather
...
do it only when diffing `/dev/null' is not supported.
And use `at-devnull' instead of `empty'.
2001-03-19 11:06:46 +00:00
Akim Demaille
cdafb1f7e8
* tests/aclocal.m4: Fix some typos. Also ignore $PATH_SEPARATOR.
...
* tests/atconfig.in: Set PATH_SEPARATOR to the proper
path separator. Set SHELL here...
* tests/atgeneral.m4: ... instead of here. Use $PATH_SEPARATOR
when setting AUTOTEST_PATH. Don't default tests to "all" before
deciding whether the help text is needed.
* tests/semantics.at: Use the correct path separator.
2001-03-13 12:43:14 +00:00
Akim Demaille
687fa3b765
* tests/tools.at (AWK portability): Use AT_CHECK to check for GNU
...
AWK so that there is always a AT_CHECK between
AT_SETUP/AT_CLEANUP.
Reported by Nicolas Joly.
2001-03-13 12:21:40 +00:00
Akim Demaille
38fa78538d
* tests/tools.at: Be sure to remove configure.ac~.
...
* autoupdate.in (File::Basename): Use package.
(%ac_macros, %au_macros): Save only base filenames.
2001-03-13 12:09:22 +00:00
Pavel Roskin
3406445abc
* tests/base.at (AC_TRY_*): Escape `^' - it's a pipe command
...
separator on Tru64 v5.1.
Reported by Nicolas Joly.
2001-03-06 16:47:38 +00:00
Akim Demaille
f9c9bd2420
* tests/atgeneral.m4 (AT_INIT): Register at-setup-line and
...
at-check-line for removal.
Check for the presence of at-check-line only when $at_test was
really a test.
Reported by Pavel.
2001-03-05 15:58:31 +00:00
Pavel Roskin
42e1d2db7b
* tests/atgeneral.m4 (AT_INIT): s/am_me/as_me/. Quote AT_CHECK
...
in the error message.
2001-03-04 08:08:55 +00:00
Akim Demaille
de7bee7a82
* tests/atgeneral.m4 (AT_INIT): Warn when at-check-line is
...
missing.
* tests/tools.at (Syntax of the scripts): Use AT_CHECK to test
/bin/sh -n. Exit 77 on failure.
Reported by Harlan Stenn.
2001-02-28 09:33:30 +00:00
Pavel Roskin
8713190b75
Add: dst1 dst2 src1 src2.
2001-02-27 01:50:54 +00:00
Akim Demaille
5e0a2a0099
* autoupdate.in: New. Replaces autoupdate.sh.
2001-02-21 08:59:24 +00:00
Akim Demaille
185f365117
* aclang.m4 (_AC_LANG_COMPILER_WORKS): Rename as...
...
(_AC_COMPILER_EXEEXT_WORKS): this. Use the `a.out' or `a.exe'
left by _AC_COMPILER_EXEEXT_DEFAULT to check if the compiler works.
(_AC_COMPILER_EXEEXT_CROSS): Extract from the above macro.
(_AC_COMPILER_EXEEXT): Use them.
Adjust all the compiler looking macros to check for EXEEXT
*first*, then OBJEXT.
Set ac_exeext yourself.
(_AC_COMPILER_EXEEXT_O): Don't.
2001-02-19 15:08:58 +00:00
Pavel Roskin
e884e73541
* tests/atspecific.m4 (AT_CONFIGURE_AC): Double quote constant
...
part of the second argument to AT_DATA.
* tests/compile.at (AC_PROG_CPP with warnings): Fix underquoting
in a call to _AT_CHECK_AC_MACRO.
(AC_PROG_CPP without warnings): Likewise.
2001-02-15 23:36:48 +00:00
Pavel Roskin
f5c4968486
Add confdefs.h
2001-02-07 15:09:10 +00:00
Akim Demaille
2080fdc3cb
* acgeneral.m4 (_AC_RUN_LOG, _AC_RUN_LOG_STDERR, AC_RUN_LOG): New.
...
(_AC_EVAL_STDERR, _AC_EVAL): Use them.
(_AC_INIT_PREPARE_FS_SEPARATORS): Use AC_RUN_LOG.
2001-02-06 15:11:50 +00:00
Akim Demaille
d145543abd
acfunctions.m4 was still using the old AC_LIBOBJ_DECL.
...
Reported by Derek R. Price.
* tests/semantics.at (AC_REPLACE_FUNCS): New test.
* acfunctions.m4 (AC_REPLACE_FUNCS, _AC_LIBOBJ_ALLOCA): Use
AC_LIBSOURCES.
2001-02-05 10:16:32 +00:00
Pavel Roskin
a9990450cc
* tests/base.at (AC_TRY_COMMAND): Add a colon between "then" and
...
"else". Separate commands inside AC_TRY_COMMAND with semicolons.
From Nicolas Joly.
2001-02-03 19:27:14 +00:00
Akim Demaille
3282fd3c7a
* acgeneral.m4 (AC_LIBOBJ_DECL): Remove.
...
(AC_LIBSOURCES, AC_LIBSOURCE): New.
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Remove configure.ac
2001-02-03 13:20:00 +00:00
Akim Demaille
110ac382f0
Englisho.
2001-01-31 15:00:35 +00:00
Akim Demaille
b8d698ca1d
The recent addition of `exit's prototype in confdefs.h causes
...
AC_OUTPUT_MAKE_DEFS to include junky -D switches.
Reported by Wolfgang Mueller.
* tests/torture.at (#define header templates): Include trash in
confdefs.h.
* tests/atgeneral.at (AT_INIT): Don't expect `find' to support
-maxdepth, hence don't use -follow either.
Reported by Nicolas Joly.
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS) <confdef2opt.sed>: In the
`quote' section, `p'rint the result.
If neither `#define' pattern match, just call `d' to start a new
cycle.
Call this sed program with -n.
2001-01-30 19:29:38 +00:00
Akim Demaille
77a10dfe9d
* tests/compile.at: New test.
...
* tests/atspecific.at (AT_CHECK): When given 77 as expected exit
status, don't include the `skip' mechanism.
2001-01-30 18:45:58 +00:00
Akim Demaille
3ea25e950b
* tests/base.at (AC_CACHE_CHECK): Typo and clean up.
...
Check only --quiet.
2001-01-30 18:26:31 +00:00
Akim Demaille
37433fe621
Update.
2001-01-30 16:21:21 +00:00