Commit Graph

4528 Commits

Author SHA1 Message Date
Stepan Kasal
19de93e293 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
inside m4_expand_once; it is redundant.
2006-04-06 12:16:38 +00:00
Stepan Kasal
aa4ad131b5 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
for --help from Cygnus `configure.'
2006-04-06 11:33:52 +00:00
Stepan Kasal
d10fd094fa Revert this (for now):
| * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call
|   _AC_COMPILER_EXEEXT instead of m4_expand_once([_AC_COMPILER_EXEEXT])
| * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
| * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_TESTS): On subsequent
|   calls, for a new language, only check that the compiler works.
| (AC_NO_EXECUTABLES): Change the redefinition of
|   _AC_COMPILER_EXEEXT_TESTS so that on subsequent calls, it checks
|   that the new language's compiler works if ac_no_link=no, and
|   does nothing otherwise.
2006-04-06 11:24:00 +00:00
Stepan Kasal
1ea9c4e1a7 fix a typo 2006-04-06 11:15:54 +00:00
Paul Eggert
119f63f545 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
on a patch proposed by Ralf Wildenhues.
2006-04-06 07:58:20 +00:00
Paul Eggert
6df53aa716 * lib/autoconf/status.m4: Replace <space>''<tab> with
<tab><space> where this makes sense.
2006-04-06 02:31:09 +00:00
Paul Eggert
ee81d1d102 Change <space>''<tab> to <tab><space> where that makes sense. 2006-04-06 02:28:56 +00:00
Noah Misch
a04993aa1d * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
(AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
* doc/autoconf.texi (Help Formatting): New node.
* NEWS: Announce AC_PRESERVE_HELP_ORDER.
2006-04-05 22:41:36 +00:00
Ralf Wildenhues
0ac85a9b87 Regenerate. 2006-04-05 20:58:21 +00:00
Ralf Wildenhues
73b45d6e4b * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
lib/autoconf/specific.m4, lib/autoconf/status.m4,
lib/autoconf/types.m4, lib/autotest/general.m4,
tests/mktests.sh, tests/torture.at: White space cleanup:
remove some SPACE before TAB, or add quoting ('' or @&t@).
2006-04-05 20:55:14 +00:00
Ralf Wildenhues
6cd003bf89 * NEWS, TODO, bin/autoreconf.in: filesystem' -> file system'. 2006-04-05 20:54:17 +00:00
Ralf Wildenhues
b7d9019376 * doc/autoconf.texi (Shell Substitutions): Document ^' vs. |'. 2006-04-05 16:18:20 +00:00
Ralf Wildenhues
f55b0f0d79 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
empty test suite works.
* tests/autotest.at (Empty test suite): Remove xfail.
2006-04-05 16:04:22 +00:00
Noah Misch
7c8b18229e * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
TAGS to ac_config_<foo>s.
(AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
(AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
normalizing it, consistent it with previous releases.
* tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
2006-04-05 14:20:37 +00:00
Paul Eggert
cf298164fe * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
Use simplified args that Eric Blake originally suggested.
2006-04-05 08:01:04 +00:00
Paul Eggert
39572957c6 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
Prefer 'sort -u' to 'sort | uniq'.  Filter data before sorting it.
Use 'comm' rather than N instances of grep; this also fixes a bug
whereby substrings were incorrectly matched, causing us to not
generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
(exclude_list): Exclude empty macros.
(ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
2006-04-04 23:36:20 +00:00
Paul Eggert
3b73069a86 * tests/mktests.sh: Use awk rather than grep -E or egrep, to avoid
portability problems with regular expressions containing newlines.
(exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
Switch from grep to awk syntax.
(ac_exclude_script): Renamed from ac_exclude_egrep.
(au_exclude_script): Renamed from au_exclude_egrep.
2006-04-04 22:36:02 +00:00
Noah Misch
775f230c39 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
a subdirectory subject to Cygnus `configure'.
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.

* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
report request when we have no AC_PACKAGE_BUGREPORT.
2006-04-04 16:13:47 +00:00
Ralf Wildenhues
ee6771641a * THANKS: Update. 2006-04-03 20:32:02 +00:00
Ralf Wildenhues
b6adea0e88 * tests/mktests.sh: Update copyright year in the header of the
generated files.
2006-04-03 19:34:49 +00:00
Ralf Wildenhues
7ff8451f9e * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
(AC_C_RESTRICT): Likewise.  Furthermore, add a function with a
typedef'ed restricted pointer, to catch a compiler bug on
HP-UX 11.x, and fix warnings so it passes with -Werror.
(_AC_PROG_CC_C99): Likewise.
Reported by Albert Chin <china@thewrittenword.com>.
* tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
2006-04-03 19:09:55 +00:00
Ralf Wildenhues
18c5d992f3 Regenerate. 2006-04-03 18:52:17 +00:00
Noah Misch
d4f849f3c0 * bin/autoscan.in (subdirs): New global.
(scan_file): Prune directories with configure{,.{ac,in,gnu}}.
(output): Emit AC_CONFIG_SUBDIRS as needed.
* tests/autoscan.at (autoscan): Remove XFAIL.
2006-04-03 15:58:20 +00:00
Noah Misch
bb393e107a * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE. 2006-04-03 13:51:02 +00:00
Ralf Wildenhues
f169721e44 * THANKS: Add myself. 2006-04-03 13:12:27 +00:00
Stepan Kasal
2feb1c09a8 Use the original wording, it was not typo. 2006-04-03 08:06:22 +00:00
Ralf Wildenhues
5efb21aa55 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
to log, point to testsuite output tree.
2006-04-03 04:47:02 +00:00
Paul Eggert
a71c24a704 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
* doc/autoconf.texi (Function Portability): Mention that C++
has trouble with 'exit'.
(Guidelines): Test programs shouldn't use 'exit'.
* lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
Remove; all uses removed.
(AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
Return from 'main' instead of calling 'exit'.
* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
(_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
(AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
(AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
(AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
(_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
* lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
* tests/compile.at: Likewsie.
2006-04-03 03:18:39 +00:00
Paul Eggert
867693d0f9 Change testsuite.tmp to *.tmp.
Remove macros.m4; dunno what it was for.
Add all the files in $(TESTSUITE_GENERATED_AT) in Makefile.am.
Sort.
2006-04-02 17:13:04 +00:00
Paul Eggert
a2649b8750 Regenerate. 2006-04-02 16:40:26 +00:00
Paul Eggert
c2286019bf * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call
_AC_COMPILER_EXEEXT instead of m4_expand_once([_AC_COMPILER_EXEEXT])
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_TESTS): On subsequent
  calls, for a new language, only check that the compiler works.
(AC_NO_EXECUTABLES): Change the redefinition of
  _AC_COMPILER_EXEEXT_TESTS so that on subsequent calls, it checks
  that the new language's compiler works if ac_no_link=no, and
  does nothing otherwise.
2006-04-02 16:38:54 +00:00
Noah Misch
809e269455 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change. 2006-04-02 15:00:40 +00:00
Stepan Kasal
e5c9d58fcb Add _AS_DIRNAME_PREPARE to _AS_PREPARE. 2006-04-01 22:55:15 +00:00
Stepan Kasal
c8514d3a3a Do not optimize the first _AS_PATH_WALK. 2006-04-01 22:53:04 +00:00
Stepan Kasal
2a7aa88566 Clean up _AC_COMPILER_EXEEXT* macros. 2006-04-01 21:45:13 +00:00
Stepan Kasal
fee8d8bb53 . 2006-04-01 21:22:11 +00:00
Stepan Kasal
642d416703 remove generated *.at files 2006-04-01 21:21:11 +00:00
Stepan Kasal
2af85b096a _AS_DIRNAME_PREPARE 2006-04-01 20:06:12 +00:00
Stepan Kasal
a7ee4bb357 back out _AS_DIRNAME_PREPARE 2006-04-01 19:54:55 +00:00
Stepan Kasal
0435cce62a _AS_DIRNAME_PREPARE 2006-04-01 19:48:14 +00:00
Stepan Kasal
784f54dfcd Fix typos. 2006-04-01 19:38:07 +00:00
Stepan Kasal
3e6c89ae73 . 2006-04-01 18:33:24 +00:00
Stepan Kasal
6f39626778 _AS_PATH_WALK: Skip nonexistent dirs, unless told otherwise. 2006-04-01 18:32:10 +00:00
Stepan Kasal
a9b857317c Sort the macros and fix typos. 2006-04-01 18:26:46 +00:00
Stepan Kasal
29e314f91f Improve --version output for old-style AC_INIT 2006-04-01 18:16:05 +00:00
Stepan Kasal
70c31ba6dc autoreconf: impement -vv 2006-04-01 18:09:07 +00:00
Stepan Kasal
552d9e9636 Spelling fixes. 2006-04-01 16:46:39 +00:00
Stepan Kasal
1a74a211bc Be tolerant if rm was not able to remove the test directory. 2006-04-01 16:09:13 +00:00
Stepan Kasal
335e09466c Fix line numbers in the error messages of autoupdate. 2006-04-01 15:58:43 +00:00
Stepan Kasal
713895ae5c More autoupdate issues. 2006-04-01 15:57:02 +00:00