Commit Graph

4145 Commits

Author SHA1 Message Date
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
Paul Eggert
b5b8b59870 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
Update the long comment explaining it.

m4_require no longer writes an ``is required by'' line to the
execution stack.  It contains only one bit of non-redundant
information: that the macro was required, not called.  And even
this bit is useless in most situations: have you ever met a macro
which both calls and requires the same macro?

* lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
(_m4_defun_pro_outer): ... only via this macro, for the outermost
  macro.
(_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
(m4_expansion_stack_pop): Remove the misplaced comment.
(m4_require): Don't put the ``is required by'' line to the
  execution stack; slightly improve the out-of-a-defun error message.
(_m4_divert_grow): New macro, counter for the temporary diversions.
(_m4_require_call): Use it.
* tests/m4sugar.at (m4_require): Expect output without the
  ``is required by'' messages.
2005-01-31 23:52:49 +00:00
Paul Eggert
85e4be2358 (.x.1): Make sure the required generated files
are up to date.  Problem and original solution proposed by Stepan Kasal.
$(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
implicit-man-prerequisites): New rules, used by the above.
2005-01-31 23:25:08 +00:00
Paul Eggert
3dc1438931 *** empty log message *** 2005-01-29 01:08:44 +00:00
Paul Eggert
29b673d8ab (Limitations of Usual Tools): Recommend X
rather than x for expr.
2005-01-28 21:55:57 +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
Akim Demaille
cdd416b0fe Have autoheader honor --force.
* doc/make-stds.texi, doc/standards.texi: Update from masters.
* lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
* lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
from masters, so that FileUtils.pm's update_file provide --force
support.
* bin/autoheader.in: Pass $force to update_file so that
config.h.in is always recreated when --force.
2005-01-27 10:53:41 +00:00
Stepan Kasal
4c98943ec6 update Peter Simons' address 2005-01-24 12:24:01 +00:00
Stepan Kasal
23db97463a a typo 2005-01-22 14:59:27 +00:00
Paul Eggert
2d0b9b4b34 * doc/autoconf.texi (Limitations of Builtins): Clarify that
"if test -d foo; ..." is portable.
2005-01-21 19:32:21 +00:00
Paul Eggert
f2741f70c7 (Limitations of Builtins): Clarify that
"if test -d foo; ..." is portable.  Suggested by Stepan Kasal.
2005-01-21 19:31:51 +00:00