Commit Graph

4155 Commits

Author SHA1 Message Date
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
Paul Eggert
0279b45903 (AS_UNAME): Try only /usr/bin/hostinfo, not
any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
on some platforms.
2005-02-05 00:44:44 +00:00
Paul Eggert
ec55ba03f3 (Limitations of Usual Tools): New mkstemp entry. Based on a
suggestion by Bruno Haible.
2005-02-05 00:11:43 +00:00
Paul Eggert
4260bd6847 (AC_PROG_SED): Don't look in
/usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
2005-02-04 22:21:18 +00:00
Paul Eggert
a6a18ce195 Regenerate. 2005-02-04 08:37:30 +00:00
Paul Eggert
7f676501a2 Today's changes. 2005-02-04 08:36:06 +00:00
Paul Eggert
2d6b67fdf0 (AT_TESTED, AT_KEYWORDS): Use newline as a separator, not space.
(AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not space.
2005-02-04 07:35:55 +00:00
Paul Eggert
d224e0682a (AC_SUBST, AC_SUBST_FILE): Use newline as a separator, not space. 2005-02-04 07:35:12 +00:00
Paul Eggert
1f45d61a00 (m4_re_escape): Escape ?, ^, \, $ too. 2005-02-04 07:32:15 +00:00
Paul Eggert
2926779832 (_AS_SHELL_FN_WORK): Move func_* to as_func_*. Add test to check
whether positional parameters are restored after function return.
2005-02-03 22:52:04 +00:00
Paul Eggert
4f6ba2b9e4 (Special Shell Variables): Mention _,
BIN_SH, DUALCASE.  Say that variables other than "status" are safe
if they contain a lower-case letter.
2005-02-03 00:31:33 +00:00
Paul Eggert
fda63f71a7 (Limitations of Usual Tools): Unicos 9 sed limitations. 2005-02-02 23:47:34 +00:00
Paul Eggert
3c751297e4 (_AC_PROG_FC): Try cf77 before fort77
to get the option-enhanced interface on older Crays.  Try ftn for
Fortran 95 (newer Crays).
2005-02-02 23:46:31 +00:00
Paul Eggert
c7761f20ad * bin/autoconf.as: Don't exit with status 0 after write failure
with --help or --version.
* lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
2005-02-02 23:31:16 +00:00
Paul Eggert
3dcc2928e7 (.x.1): Go back to the simple solution, but take
care to echo the commands, so the user knows what's going on.
2005-02-02 00:25:41 +00:00
Paul Eggert
c39e71de53 (autoreconf Invocation): Mention autopoint, with a cross reference. 2005-02-01 20:43:42 +00:00
Paul Eggert
5ed6babbee Regenerate. 2005-02-01 00:59:56 +00:00
Paul Eggert
8586046471 Fix typo: empty example. 2005-02-01 00:36:24 +00:00
Paul Eggert
c6e9c80b78 m4_require improvements, doc fixes, sync from gnulib. 2005-02-01 00:34:18 +00:00
Paul Eggert
f90f3a857d (config.status Invocation): Warn about
discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
2005-02-01 00:33:08 +00:00
Paul Eggert
3a397dcbfe (Defining Variables): Warn about CONFIG_SHELL problems. 2005-02-01 00:32:44 +00:00
Paul Eggert
e40abf0e2c Fix typo in previous patch: it assumed that builddir != srcdir. 2005-02-01 00:14:04 +00:00
Paul Eggert
b79e402506 Sync from gnulib. 2005-02-01 00:08:59 +00:00
Paul Eggert
8cc997c106 * doc/make-stds.texi, doc/standards.texi: Update from masters. 2005-02-01 00:02:49 +00:00