Commit Graph

4178 Commits

Author SHA1 Message Date
Paul Eggert
1492ac0f96 Regenerate. 2005-04-20 05:38:03 +00:00
Paul Eggert
54cb4d63c8 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
Remove core.conftest.* too; it's generated by Tru64 5.1.
* lib/autoconf/functions.m4
(AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
Don't bother to remove core files; AC_RUN_IFELSE should do that for you.
2005-04-20 05:34:25 +00:00
Stepan Kasal
edb835c2ff typo 2005-04-19 06:20:37 +00:00
Alexandre Duret-Lutz
75912460a6 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
Report from Horst Wente.
2005-04-19 06:00:35 +00:00
Stepan Kasal
37482b404d typo 2005-04-15 08:36:56 +00:00
Stepan Kasal
fbbc2c6023 Examples for --with-* and --enable-*. 2005-04-14 14:56:55 +00:00
Paul Eggert
b09065e337 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
as well as configure.in.  Problem reported by Gregorio Guidi.
2005-04-13 17:01:41 +00:00
Paul Eggert
93d7f03800 * doc/autoconf.texi (Particular Functions): Use gnulib's current
pattern for alloca snippet.
2005-04-10 22:19:51 +00:00
Paul Eggert
2f0c7a00ca (Particular Functions): Use gnulib's current
pattern for alloca snippet.
2005-04-10 22:19:26 +00:00
Stepan Kasal
76aa0e4c11 a typo 2005-04-04 10:19:10 +00:00
Stepan Kasal
f5ea1ec089 a typo 2005-04-01 08:55:58 +00:00
Paul Eggert
3123dd20ab * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
fails if %s isn't supported.
2005-04-01 07:28:15 +00:00
Paul Eggert
da9ffbaaaf (AT_INIT): Don't assume that "date +%s" fails if %s isn't supported. 2005-04-01 07:27:53 +00:00
Paul Eggert
1ab98b87ae * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
Merge `-z option' as well for the benefit of Solaris link flags.
2005-03-23 19:41:13 +00:00
Paul Eggert
392b17e203 Regenerate. 2005-03-23 01:04:17 +00:00
Paul Eggert
789f0bf6ff * NEWS: The configure command now warns you if you attempt to use
a directory whose name contains a special character like space,
newline, or "\".
* doc/autoconf.texi (Installation Directory Variables): Allow
"," in file names.  Do not use \@; it's not a portable regexp.
* bin/Makefile.am (edit): Likewise.
* lib/Makefile.am (edit): Likewise.
* tests/Makefile.am (edit): Likewise.
* tests/semantics.at: Likewise.
* tests/torture.at: Likewise.
* lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
* lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
* doc/autoconf.texi (File System Conventions): Warn about
unportable file names.
* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
(AC_INIT): Use it.
(_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
ac_pwd, and quote srcdir.
* lib/autotest/general.m4 (AT_INIT): Quote file name args.
2005-03-23 01:01:58 +00:00
Paul Eggert
96e362a44d * doc/autoconf.texi: Fix some systematic formatting problems.
".)"  needs a following @: if not at the end of a sentence, and
similarly for "!)".  "etc." should be preceded by a comma.
"n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
(Input): Mention that AC_CONFIG_AUX_DIR's
argument is often called 'build-aux'.
2005-03-22 19:24:05 +00:00
Stepan Kasal
67cdabe80f typos in the manual 2005-03-10 12:17:03 +00:00
Stepan Kasal
0bf7d67f6d remind that AC_TRY_LINK is obsolete 2005-03-08 08:11:34 +00:00
Stepan Kasal
4cb653bd0d improve AC_PROG_CC and AC_PROG_CXX 2005-02-25 08:52:48 +00:00
Paul Eggert
10cd1172b4 Regenerate. 2005-02-23 23:26:05 +00:00
Paul Eggert
29373c6512 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
/dev/null, as "configure" shouldn't read stdin, and this insulates
us from problems (e.g., when testing for "cl").  Also, do this
redirection before invoking "hostname" or "uname", and keep the
original input stream available via...
(AS_ORIGINAL_STDIN_FD): ... this new macro.
(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
bother with "</dev/null" since it's now done at the top of
'configure'.
* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
* lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
* doc/autoconf.texi (File Descriptor Macros): New section.
(Printing Messages): Mention it.
* tests/base.at (Input/Output): New test.
2005-02-23 23:24:49 +00:00
Paul Eggert
f79094658c * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
newline if neither \c nor -n work, as that would output two
newlines.  Prefer -n to \c.
2005-02-23 19:26:51 +00:00
Paul Eggert
9912fcca7e (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
newline if neither \c nor -n work, as that would output two
newlines.  Prefer -n to \c.
2005-02-23 19:26:35 +00:00
Stepan Kasal
7192963509 m4_defun([AS_IF], [...]) 2005-02-15 06:40:21 +00:00
Paul Eggert
4d4a4949ea Regenerate. 2005-02-13 07:49:04 +00:00
Paul Eggert
c5c40b0e69 Undo previous change, except keep the change to
lib/autoconf/programs.m4 that replaced grep with shell
pattern-matching.  This is because net-snmp configure reads stdin.
2005-02-13 07:38:31 +00:00
Paul Eggert
56097b01ad Regenerate. 2005-02-11 19:12:41 +00:00
Paul Eggert
5c70aeca3f * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
from /dev/null, as "configure" shouldn't read stdin, and this
insulates us from problems (e.g., when testing for "cl").
Suggested by Alexandre Duret-Lutz.  Also, do this redirection
before invoking "hostname" or "uname".
(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
_AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
"</dev/null" since it's now done at the top of 'configure'.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
* lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
Also, replace grep with shell pattern-matching, to save a process.
2005-02-11 19:12:29 +00:00
Paul Eggert
deae038e8f * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
_AC_LINK_IFELSE): Redirect stdin to /dev/null.
2005-02-11 00:40:50 +00:00
Paul Eggert
9ade719a76 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
_AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
avoid thinking that Allegro Common Lisp's "cl" command is a C++
compiler.
2005-02-11 00:40:31 +00:00
Paul Eggert
d3db088f19 * doc/autoconf.texi (Limitations of Usual Tools): Document that
grep -q isn't portable.  Improve grep -s explanation.
2005-02-10 00:41:40 +00:00
Paul Eggert
2117cbe998 (Limitations of Usual Tools): Document that
grep -q isn't portable.  Improve grep -s explanation.
2005-02-10 00:41:24 +00:00
Paul Eggert
d288cf1ed9 * doc/autoconf.texi (Special Shell Variables): Clarify
PATH_SEPARATOR wording; fix typo in IFS.
2005-02-08 17:27:23 +00:00
Paul Eggert
34e2ec2125 (Special Shell Variables): Clarify
PATH_SEPARATOR wording; fix typo in IFS.
2005-02-08 17:27:04 +00:00
Paul Eggert
89abd2994a Several minor changes to autoconf.texi. 2005-02-08 00:35:29 +00:00
Paul Eggert
9cad141f50 Use @acronym for DJGPP.
Fix some @code's that should have been @env's, and vice versa.
Sort environment variable names.
Mention that shells no longer inherit IFS.
Don't recommend PATH_SEPARATOR=';' so strongly.
Mention that $RANDOM might expand to the empty string.
"symlink" and "soft link" -> "symbolic link".
Improve mktemp description (reported by Bruno Haible).
2005-02-08 00:35:01 +00:00
Jim Meyering
fa3247125c (_AC_FUNC_REALLOC_IF, AC_FUNC_REALLOC): Fix typo in comment. 2005-02-06 18:06:32 +00:00
Paul Eggert
ab09249050 Regenerate. 2005-02-05 08:31:37 +00:00
Paul Eggert
5b07dac31a Today's changes (mostly from Noah Misch). 2005-02-05 08:31:02 +00:00
Paul Eggert
ecfe7cb80e * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
* tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
Likewise.
* tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
Likewise.
2005-02-05 08:28:35 +00:00
Paul Eggert
c28abf84de * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
(AC_COPYRIGHT): Factor header comment portion out and move into...
* lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
* lib/autotest/general.at (AT_COPYRIGHT): New macro.
(AT_INIT): Add Autotest copyright notice.  Display copyright notices in
--version output.
* tests/local.at: Add Autoconf test suite copyright notice.
* doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
* NEWS: Mention AT_COPYRIGHT.
2005-02-05 07:58:43 +00:00
Paul Eggert
5a95c56ff9 * tests/autotest.at (Empty test suite): New test.
* tests/torture.at (Substitute and define special characters)
(Substitute a 2000-byte string, Define to a 2000-byte string)
(Substitute a newline, Define a newline): New tests.
2005-02-05 07:34:54 +00:00
Paul Eggert
cf968fa7db (_AC_C_STD_TRY): New macro.
(_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
2005-02-05 07:04:08 +00:00
Paul Eggert
19ead6fec4 (AT_CMP): Use diff directly on input files rather than copying them. 2005-02-05 06:51:45 +00:00
Paul Eggert
dfd2fc858f * tests/local.at (AT_CMP): New macro.
(AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
(AC_SAVE_STATE): Move environment grep...
(AT_CHECK_ENV): to here.  Filter out `'$''.  Use AT_CMP.
(AT_CONFIG_CMP): New macro.
(AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
* tests/c.at (Extensions): Do not exit early.
* tests/atlocal.in: Inherit $GREP.
2005-02-05 05:45:14 +00:00
Paul Eggert
bd448c0b7b (AC_LANG(Fortran), AC_FC_SRCEXT):
s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
2005-02-05 05:09:44 +00:00
Paul Eggert
341d9d604c * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
* tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
(AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
* tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
(Standard regular expressions): New test.
(m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
excess test name quoting.
* tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
CPPFLAGS to `configure' instead of setting it in `configure'.
2005-02-05 04:55:08 +00:00
Paul Eggert
9167d25fe0 Regenerate. 2005-02-05 00:47:57 +00:00
Paul Eggert
b14f11eb55 Today's checkins. 2005-02-05 00:46:16 +00:00