Commit Graph

43 Commits

Author SHA1 Message Date
Paul Eggert
681d17dce2 Update FSF postal mail address. 2005-05-14 07:00:38 +00:00
Paul Eggert
8afb8f8e62 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when this is safe.
* lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
* tests/mktests.sh: Likewise.
2005-01-28 21:21:32 +00:00
Paul Eggert
1deaf6b0b8 Update copyright date to 2005. 2005-01-03 07:40:10 +00:00
Paolo Bonzini
e09a76cd5a 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
* lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
	AC_CHECK_TOOLS): Warn if a cross-tool is found without
	a prefix.
	(AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
	AC_CHECK_TARGET_TOOLS): New macros.
	* doc/autoconf.texi (Generic Programs): Document
	(AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
	AC_CHECK_TARGET_TOOLS, and warn for future changes
	in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
	AC_CHECK_TOOLS.
	(Specifying Names): Document the reason for these future
	behavioral changes.
	* tests/mktests.sh: Do not generate tests for the
	new macros.
	* NEWS: Document these changes.

	* doc/autoconf.texi: Avoid macros with unbraced arguments,
	they make TeX hang up.
2004-03-19 08:57:51 +00:00
Paul Eggert
1af3ee05ac Add AC_CHECK_ALIGNOF. 2004-03-15 22:00:05 +00:00
Paul Eggert
2c9e7bd6f3 Update copyright date to 2004, since some tests have changed in 2004. 2004-01-26 23:23:32 +00:00
Akim Demaille
033be7cd65 tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM. 2003-11-04 12:32:01 +00:00
Akim Demaille
6f5de816b0 Version 2.57d.
* bin/Makefile.am (edit): Handle '@configure_input@'.
(autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
(ifnames): chmod -w.
* tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
executables, not bin/ executables!  Otherwise all the magic needed
to find non installed files is turned off.  This caused a failure
of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
as found in its environment (sent by tests/autoreconf): pointing
to bin/autom4te that could not find its files.
* tests/mktests.sh: Force the replacement of generated files, for
the sake of "mv" program that are interactive when overwriting a
-w file.
* config/install-sh: Upgrade from CVS Automake.
2003-09-25 09:30:34 +00:00
Akim Demaille
735456cc9e * tests/mktests.sh (au_exclude_egrep): Make it harder to be
willing to edit the output files.
2003-09-10 16:54:12 +00:00
Akim Demaille
db861852fc * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
and AC_FC_FREEFORM.
* tests/mktests.sh: Skip AC_FC_SRCEXT.
* lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
2003-09-10 16:49:43 +00:00
Akim Demaille
eeb3cbd9a6 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
AC_FUNC_WAIT3.
2003-09-04 14:33:03 +00:00
Akim Demaille
e99011cfd5 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC. 2003-09-04 12:52:35 +00:00
Akim Demaille
2fbbb4bafe * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
* lib/autom4te.cfg (args): Add local.at? for Autotest args.
* tests/atspecific.m4: Rename as...
* tests/local.at: This.
* tests/suite.at: Move the globals into...
* tests/local.at: here.
* tests/Makefile.am: Adjust.
* doc/autoconf.texi (testsuite Scripts): Adjust.
2003-06-23 11:11:41 +00:00
Jim Meyering
394fe1edb6 (ac_exclude_list): Add exclusion for AC_C_RESTRICT. 2003-04-12 20:53:49 +00:00
Paul Eggert
5674768081 (ac_exclude_egrep, au_exclude_egrep): Use ordinary shell concatenation
rather than echo+tr+sed command that runs afoul of a long-line-related
sed bug in Solaris 8.
2002-09-02 06:44:27 +00:00
Paul Eggert
c6d9c72bf3 Use grep instead of fgrep, as per "Limitations of Builtins". 2002-06-27 07:51:16 +00:00
Akim Demaille
06e2b8bb73 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
rename as...
(AC_REPLACE_FNMATCH): this.
* tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
AC_FUNC_FNMATCH_GNU.
2002-06-07 09:50:32 +00:00
Akim Demaille
54ae96e2a0 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
ac_config_libobj_dir.
(AC_CONFIG_LIBOBJ_DIR): New.
* lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
(_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
Use ac_config_libobj_dir to find the replacement files.
(AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
(AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
(AC_REPLACE_FNMATCH_GNU): these.
(AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
* doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
* tests/mktests.sh (ac_exclude_list): Don't check
AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
2002-06-07 07:17:53 +00:00
Paul Eggert
709333a5dc (egrep): New var; use it instead of plain egrep. 2002-05-29 22:29:54 +00:00
Peter Eisentraut
931312faea Integrate AC_PROG_CC_STDC into AC_PROG_CC.
* lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
AU_DEFUN old name.  Use _AC_COMPILE_IFELSE.
(AC_PROG_CC): Call _AC_PROG_CC_STDC.
(AC_C_INLINE): Do not require AC_PROG_CC_STDC.
(AC_C_CONST): Same.
(AC_C_INLINE): Same.
(AC_C_PROTOTYPES): Same.  Require AC_PROG_CC instead.
* doc/autoconf.texi, NEWS: Document.
* tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
AC_C_CROSS.
2002-04-02 18:22:08 +00:00
Akim Demaille
935420e97b * tests/mktests.sh: Don't output banners for empty test files. 2001-09-13 06:56:44 +00:00
Akim Demaille
f4f20f1c63 * tests/base.at, tests/compile.at, tests/foreign.at,
* tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
* tests/semantics.at, tests/suite.at, tests/tools.at,
* tests/torture.at: Ask Autotest mode, not Autoconf mode.
2001-08-20 14:44:38 +00:00
Alexandre Duret-Lutz
420008ad84 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
m4/sanity.m4, tests/README, tests/aclocal.m4,
tests/atspecific.m4, tests/base.at, tests/compile.at,
tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
tests/semantics.at, tests/suite.at, tests/tools.at,
tests/torture.at: Add copyright notice.

* tests/mktests.sh: Update year in copyright notice.
2001-08-12 13:05:11 +00:00
Akim Demaille
b21ca4dd20 * acfunctions.m4: Rename as...
* lib/autoconf/functions.m4: this.
* acgeneral.m4: Rename as...
* lib/autoconf/general.m4: this.
* acheaders.m4: Rename as...
* lib/autoconf/headers.m4: this.
* aclang.m4: Rename as...
* lib/autoconf/lang.m4: this.
* acoldnames.m4: Rename as...
* lib/autoconf/oldnames.m4: this.
* acspecific.m4: Rename as...
* lib/autoconf/specific.m4: this.
* actypes.m4: Rename as...
* lib/autoconf/types.m4: this.
* autoconf.m4: Rename as...
* lib/autoconf/autoconf.m4: this.
* m4sugar.m4: Rename as...
* lib/m4sugar/m4sugar.m4: this.
* m4sh.m4: Rename as...
* lib/m4sugar/m4sh.m4: this.
* tests/atgeneral.m4: Rename as...
* lib/autotest/general.m4: this.
* acfunctions: Rename as...
* lib/autoscan/functions: this.
* acheaders: Rename as...
* lib/autoscan/headers: this.
* acidentifiers: Rename as...
* lib/autoscan/identifiers: this.
* aclibraries: Rename as...
* lib/autoscan/libraries: this.
* acmakevars: Rename as...
* lib/autoscan/makevars: this.
* acprograms: Rename as...
* lib/autoscan/programs: this.
2001-08-01 13:46:22 +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
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
06c179893b * tests/mktests.sh: Handle DOS issues: directory separator, single
dot in file names, and one actual bug: when set -e, running
(false; true) will of course fail, use (false || true).
From Tim Van Holder.
2001-01-26 11:59:49 +00:00
Akim Demaille
1304fbbe0b * tests/atgeneral.m4 (AT_INIT): Include a default case for non
existing tests.
* tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_ENV)
(AT_CHECK_AUTOUPDATE, AT_CHECK_AU_MACRO): New.
Spread their use.
(AT_CHECK_MACRO): Pass `-W obsolete' to autoconf.
* tests/semantics.at (AC_HAVE_FUNCS): Obsolete, don't check.
* tests/mktest.sh: Create one test file per Autoconf source
file instead of separating syntax/update.
2001-01-22 09:03:38 +00:00
Akim Demaille
cd7cd7bf31 * autoconf.sh: Promote configure.ac' over configure.in'.
* autoreconf.sh: Likewise.
* autoheader.sh: Ditto.
* autoupdate.sh: Similarly.
* doc/autoconf.texi: Adjust.
* tests/atspecific.m4: Be sure to remove configure.in.
Adjust the test suite to use `configure.ac'.
2000-12-23 10:11:57 +00:00
Akim Demaille
6c3edbb4c4 Put back AC_CYGWIN etc. under the responsibility of the
configure.in maintainer, but discourage its use.
* acspecific.m4 (_AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2): Rename as...
(AC_CYGWIN, AC_MINGW32, AC_EMXOS2): these.
AU defined on top of AC_CANONICAL_HOST and $host_os.
* tests/mktests.sh (update_exclude_list): Add AC_CYGWIN,
AC_MINGW32, and AC_EMXOS2.
2000-12-14 09:39:33 +00:00
Pavel Roskin
27853939be * m4sugar.m4 (m4_file_append): Add a newline after _m4eof,
otherwise _m4eof is appended to the output on FreeBSD 4.0.
* tests/atgeneral.m4 (AT_INIT): Avoid using unbalanced "y"
in sed, use "s" instead.
* tests/mktests.sh: Don't use ? in sed - it's a GNU extension.
Use separate patterns for A[CU]_DEFUN and AC_DEFUN_ONCE.
2000-12-13 14:53:51 +00:00
Akim Demaille
5561d67cf9 * tests/atgeneral.m4 (AT_CHECK): Bad typo: assign `exit 1' to
at_continue if something failed, not `:'.
* tests/semantics.at (AC_PATH_XTRA): New.
* acspecific.m4 (_AC_PATH_X): New, extracted form AC_PATH_X.
2000-12-07 15:21:54 +00:00
Akim Demaille
a8c122d0f2 Provide a means to display banners in the test suite.
* tests/atgeneral.m4 (AT_INIT): Initialize AT_banner_ordinal.
Execute the epilogue of the tests only if a test was run.
Don't built the value of `at_tests_all' by a for loop: expand
AT_TESTS_ALL.
(AT_SETUP): Build AT_TESTS_ALL.
(AT_BANNER): New.
Adjust all the former banners to use it.
(AT_CHECK): Don't trace the decoding of $?.
2000-11-29 10:12:05 +00:00
Akim Demaille
a9102fbdf9 * aclang.m4 (ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77):
Be AU_DEFUN'd, not AU_ALIAS'd.
Reported by Ralf Corsepius.
* tests/mktests.sh (exclude_list): Skip these variables.
2000-11-07 14:16:54 +00:00
Akim Demaille
5ec791a2d5 * shell.m4: Rename as...
* m4sh.m4: this.
* tests/m4sugar.m4, tests/shell.m4, tests/torture.m4: Rename as...
* tests/m4sugar.at, tests/m4sh.at, tests/torture.at: these.
* tests/semantics.m4, tests/base.m4, tests/suite.m4: Rename as...
* tests/semantics.at, tests/base.at, tests/suite.at: these.
* tests/tools.m4, tests/update.m4, tests/syntax.m4: Rename as...
* tests/tools.at, tests/update.at, tests/syntax.at: these.
* tests/mktests.sh: Adjust the output file names.
2000-10-26 09:52:34 +00:00
Pavel Roskin
f4f898452d * tests/mktests.sh: set locale to C to make sure that syntax.m4
and update.m4 are locale-independent
2000-10-24 19:30:00 +00:00
Akim Demaille
7994b48d70 * tests/mktests.sh (update_exclude_list, syntax_exclude_list): Add
`AC_PREREQ'.
* tests/tools.m4: Globally, don't use `../' to invoke the tested
tools, since the PATH is properly set, and in most cases it
obfuscates the test code.
(autoupdating AC_PREREQ): New tests.
2000-10-23 18:58:43 +00:00
Akim Demaille
7753fa9d46 Somehow, the adjustment of `mktests.sh' claimed on 2000-10-17 by
myself (`Fix autoupdate...') was not applied.
* tests/mktests.sh (update_exclude_egrep): Add AC_INIT, AC_OUTPUT,
AC_LINK_IFELSE.
2000-10-17 09:43:33 +00:00
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
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
5d348fb01a * tests/mktests.sh: Remove tmp files. 2000-10-12 12:45:16 +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