2005-05-12 Stepan Kasal
* lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
of absolute paths.
2005-05-11 Stepan Kasal
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
for absolute directory names in one loop.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
abbreviations of --version and --debug.
2005-05-10 Paul Eggert
* doc/autoconf.texi (Autoconf Language): Be more precise about
quoting rules. Problems noted by Stepan Kasal.
Also, throughout this document, be more careful about white space.
"blank", "white space", and "space" all have different meanings
and we should be careful to say what we mean.
2005-05-05 Paul Eggert
Fix C++ related problems reported by Werner Lemberg.
* doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
* lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
* lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
avoid problems with C++ and throw.
* tests/compile.at: .cpp, not .cc.
* tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
2005-05-05 Ralf Wildenhues
* doc/autoconf.texi (Generic Functions): Typos.
2005-05-02 Gary V. Vaughan
* lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
set by latest automake.
2005-05-01 Paul Eggert
* doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
outputs 0 on GNU/Linux these days.
2005-04-29 Paul Eggert
* doc/autoconf.texi (Autoconf Language): Add more description
about quoting heuristics.
(Limitations of Builtins): Describe "set -" problems.
2005-04-29 Ralf Wildenhues
* lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
not newline.
* doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
by AC_DEFINE; it was a mistake.
From bug reported against libtool by Dalibor Topic .
2005-04-25 Stepan Kasal
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
2005-04-22 Stepan Kasal
* doc/autoconf.texi (External Software): Quadrigraphs are not
processed correctly in AS_HELP_STRING; avoid this in the examples.
* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
* lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
comment and reduce m4_default([foo], []) to [foo].
(m4_strip): Update the explanation.
2005-04-19 Paul Eggert
* lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
Remove core.conftest.* too; it's generated by Tru64 5.1.
Problem reported by Jennis Pruett.
* 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-19 Stepan Kasal
* lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
2005-04-19 Alexandre Duret-Lutz
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
Report from Horst Wente.
2005-04-15 Stepan Kasal
* lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
the comment.
2005-04-14 Gregorio Guidi
* doc/autoconf.texi (External Software, Package Options): Add
examples showing how to implement --with-* and --enable-* options.
2005-04-13 Paul Eggert
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
as well as configure.in. Problem reported by Gregorio Guidi.
2005-04-10 Paul Eggert
* doc/autoconf.texi (Particular Functions): Use gnulib's current
pattern for alloca snippet.
2005-04-04 Stepan Kasal
* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
2005-04-01 Stepan Kasal
* doc/autoconf.texi (Generic Programs): Fix a typo.
2005-04-01 Paul Eggert
* lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
fails if %s isn't supported. Problem reported by Ralf Wildenhues.
2005-03-22 Ralf Wildenhues
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
Merge `-z option' as well for the benefit of Solaris link flags. Pass
whole-archive (-zallextract, -zdefaultextract) options in the hope of
unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
against Libtool by Yury Puhalsky .
2005-03-22 Paul Eggert
* 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.
* 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.
2005-03-22 Bruno Haible
* doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
argument is often called 'build-aux'.
2005-03-07 Stepan Kasal
* doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
macro AC_TRY_LINK is obsolete.
(Installation Directory Variables): Change `AC_OUTPUT_FILES' to
`AC_CONFIG_FILES'.
2005-02-24 Stepan Kasal
* lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
`/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
from a Common Lisp's `cl'.
(AC_PROG_CXX): Behave according to the documentation: don't
search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
make the variable CCC precious; use `cl.exe', not `cl'.
2005-02-23 Paul Eggert
Alexandre Duret-Lutz
* 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 "
* 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. Reported by Stepan Kasal.
2005-02-12 Stepan Kasal
* lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
This causes that any required macros inside will get before the if.
* doc/autoconf.texi (autom4te.cache): A typo.
2005-02-12 Paul Eggert
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.
Reported by Noah Misch.
2005-02-11 Paul Eggert
* 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
"
* lib/autoconf/general.m4 (_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-09 Paul Eggert
* doc/autoconf.texi (Limitations of Usual Tools): Document that
grep -q isn't portable. Improve grep -s explanation.
Problem reported by Dan Manthey.
2005-02-08 Paul Eggert
* doc/autoconf.texi (Special Shell Variables): Clarify
PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
2005-02-07 Paul Eggert
* doc/autoconf.texi: 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-05 Paul Eggert
* 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-04 Paul Eggert
* NEWS: Mention AT_COPYRIGHT.
* tests/local.at (AT_CMP): Use diff directly on input files rather
than copying them.
* lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
/usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
2005-02-04 Noah Misch
and Paul Eggert
* 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-04 Noah Misch
* 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'.
* lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
on some platforms.
* lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
* 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.
* lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
(_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
* 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.
2005-02-04 Bruno Haible
and Paul Eggert
* doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
2005-02-03 Paul Eggert
* lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
Try not to generated lines of unlimited length, as POSIX places a
2047-byte limit on line length of portable text files.
* lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
Use newline as a separator, not space.
* lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
(AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
space.
2005-02-03 Ralf Wildenhues
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
as_func_*. Add test to check whether positional parameters
are restored after function return.
2005-02-02 Paul Eggert
* doc/autoconf.texi (Special Shell Variables): Mention _,
BIN_SH, DUALCASE. Say that variables other than "status" are safe
if they contain a lower-case letter. The DUALCASE problem was
reported by Ralf Wildenhues.
* 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 Ralf Wildenhues
* doc/autoconf.texi (Limitations of Usual Tools):
Unicos 9 sed limitations.
* lib/autoconf/fortran.m4 (_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-01 Paul Eggert
* man/Makefile.am (.x.1): Go back to the simple solution, but take
care to echo the commands, so the user knows what's going on.
Modified from a suggestion by Stepan Kasal.
* doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
with a cross reference. Derived from a suggestion by Bruce Korb.
2005-01-31 Paul Eggert
* doc/autoconf.texi (config.status Invocation): Warn about
discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
* doc/install.texi (Defining Variables): Likewise.
Based on a proposed patch by Ralf Wildenhues.
* man/Makefile.am (.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.
* doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
* config/config.guess, config/config.sub, config/install-sh: Likewise.
* config/missing, config/texinfo.tex: Likewise.
2005-01-29 Stepan Kasal
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-28 Paul Eggert
* doc/autoconf.texi (Limitations of Usual Tools): Recommend X
rather than x for expr.
* 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-27 Akim Demaille
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-24 Stepan Kasal
* doc/autoconf.texi (Introduction): Update Peter Simons' address.
2005-01-21 Paul Eggert
* doc/autoconf.texi (Limitations of Builtins): Clarify that
"if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
2005-01-20 Paul Eggert
* doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
Warn about newline stripping in `` and $(). Update Solaris
version to 9.
(Limitations of Builtins): Use expr "X...", not expr "x...", as
X insulates us from future changes to Posix.
(Limitations of Usual Tools): For AS_DIRNAME, warn about newline
stripping.
2005-01-19 Stepan Kasal
* doc/autoconf.texi (Defining Symbols): Delete the false comment that
you cannot use AC_DEFINE to define macros containing `[' or `]'.
2005-01-13 Paul Eggert
* doc/autoconf.texi (Limitations of Usual Tools): Document bug
in Solaris 8 join. Problem reported by Tomohiro Suzuki on
bug-tar mailing list.
2005-01-05 Stepan Kasal
* lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
2005-01-05 Paul Eggert
* lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
ulongval to be static, to avoid unwanted GCC warning. Problem
reported by Michael Jennings via Daniel Reed; see
.
2005-01-05 Alexandre Duret-Lutz
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
datadir, infodir, and mandir. Adjust argument parsing code.
(_AC_INIT_HELP): Update help text.
* doc/autoconf.texi (Installation Directory Variables): Document
new variables.
2005-01-04 Noah Misch
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
not seem to work, assume it does set $(MAKE).
* doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
2005-01-03 Stepan Kasal
* lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
2005-01-03 Stepan Kasal
A cleanup of the diversion support in m4sugar.
* lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
(_m4_divert_n_stack): New macro; the expansion is
m4_divert_stack, if m4_divert_stack is defined, and void
otherwise.
(m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
(m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
stored in _m4_divert_diversion or _m4_divert_dump.
(m4_divert_pop): When the parameter is given, compare the symbolic
name with the last diversion pushed on the stack. Previously, the
current diversion was compared with the numeric value of the
diversion given as the parameter.
(m4_require): If the macro hasn't been expanded yet, call ...
(_m4_require_call): this new macro.
2005-01-03 Ralf Wildenhues
* lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
Workarounds for documented `case' limitations.
2005-01-03 Paul Eggert
* doc/autoconf.texi (Limitations of Usual Tools): Warn about
sed 'command1;command2'. Problem reported by Ralf Wildenhues.
2005-01-02 Paul Eggert
* bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
Patch from Roger Leigh (with some minor changes) as follows:
* NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
Resurrect AC_PROG_CC_STDC.
* doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
AC_PROG_CC_C89, AC_PROG_CC_C99.
(Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
* lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
AC_PROG_CC_C99): New macros.
(AC_PROG_CC_STDC): Use them.
(_AC_PROG_CC_STDC): Remove.
(AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
* THANKS: Add Roger Leigh.
2004-12-30 Noah Misch
* bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
signals that the package uses Automake; a `Makefile.am' is typical but
not essential. Reported by Magnus Therning.
* tests/torture.at (autoreconf.): New banner.
(autoreconf and non-AC configure): Rename to `Non-Autoconf
AC_CONFIG_SUBDIRS'.
(autoreconf an empty directory): Rename to `Empty directory'.
(Unusual Automake input files): New test.
2004-12-30 Noah Misch
* lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
(AT_SETUP): Clear AT_capture_files.
(_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
(AT_KEYWORDS): Fix comment typo.
* tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
* tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
* doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
2004-12-29 Albert Chin-A-Young
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
If the variable to set is already set, set ac_cv_path_$1
to the preset value so caller can assume ac_cv_path_$1
is available. (trivial change)
2004-12-27 Noah Misch
* BUGS (Minor Problems): Warn about makefile limitations.
* Makefile.am: Find and update `INSTALL' in $(srcdir).
* man/Makefile.am: Find and update manual pages in $(srcdir).
2004-12-24 Eric Blake
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
shells in subshell, to avoid noise from ash. (trivial change)
2004-12-22 Ralf Wildenhues
* doc/autoconf.texi (Limitations of Builtins) : Mention
problems with SunOS ksh and backslash escaping, Bourne shells and
closing brackets (both within character classes). Bug reported
against Libtool by Alexander Kurz .
: New entry. Mention non-availability of -r.
2004-12-21 Akim Demaille
* lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
avoid cluttering displayed messages. Rather, prepend srcdir where
AT_LINE is used for log files.
2004-12-21 Stepan Kasal
* lib/autoconf/status.m4: Quote ``$tmp'' in many places.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
no longer part of the macro, quote the occurrence of ``$tmp''.
* doc/autoconf.texi (Forbidden Patterns): Typo.
2004-12-21 Akim Demaille
* lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
separated from the test title by forcing a white space.
2004-12-21 Akim Demaille
Enable Emacs navigation within testsuite.log files.
* lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
use the compilation mode.
(AT_LINE): Point to the srcdir.
2004-12-19 Noah Misch
* tests/Makefile.am (installcheck-local): Use $(bindir).
(check-local, installcheck-local): Pass TESTSUITEFLAGS.
* doc/autoconf.texi (Making testsuite Scripts): Recommend the same
Makefile.am scheme Autoconf now uses.
2004-12-18 Noah Misch
* lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
* lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
2004-12-18 Noah Misch
* lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
(_AT_CHECK): Use it.
* lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
(AS_ESCAPE): Fix comment.
* tests/autotest.at: Adjust section banner comments.
(AT_CHECK_AT): Accept STATUS and STDERR.
(AT_CHECK_AT_TEST): Likewise.
(Invalid brace-enclosed parameter expansion)
(Multiline command from M4 expansion)
(Double-M4-quoted command): New tests.
2004-12-17 Paul Eggert
* doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
2004-12-17 Akim Demaille
* lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
m4_pattern_allow.
Suggested by Alexandre Duret-Lutz.
* doc/autoconf.texi (Setting Output Variables): Catch up.
2004-12-17 Stepan Kasal
* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
2004-12-17 Stepan Kasal
* lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
remove the comment which said we cannot.
2004-12-17 Stepan Kasal
Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
Reini Urban and Paul Eggert for reporting the dependencies.
* lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
* doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
(AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
2004-12-17 Stepan Kasal
* bin/autoscan.in: Open autoscan.log only after ``parse_args'';
so that eg. ``autoscan --help'' doesn't truncate it.
2004-12-15 Nicolas Joly
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
generated conftest files.
2004-12-13 Noah Misch
* lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
tracing on commands with possibly-escaped newlines.
* doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
discontinued behavior and its implications.
* tests/autotest.at (BS-newline in command, ^BS-newline in command)
(BSx641-newline in command, BS-BS-newline in command)
(BSx640-newline in command, Newline-CODE-BS-newline in command)
(Single-quote-BS-newline in command)
(Single-quote-newline-BS-newline in command): New tests.
2004-12-13 Stepan Kasal
* lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
on platforms where it works.
(_AS_TEST_PREPARE): Test for ``test -x''.
(_AS_BROKEN_TEST_PREPARE): Nuke.
2004-12-13 Stepan Kasal
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
give only 4-letter prefix to AS_TMPDIR, comment fixed.
* lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
create the temporary directory.
(_AC_FEATURE_CHECK_LENGTH): Work in current directory.
2004-12-12 Kelley Cook
* bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
(trivial change)
2004-12-12 Alexandre Duret-Lutz
* doc/autoconf.texi (Limitations of Usual Tools) : Typo.
2004-12-11 Noah Misch
* lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
to avoid using a negated character class. Reported by Nicolas Joly.
* tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
2004-12-10 Paul Eggert
* man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
Don't depend on .x file explicitly, since "make" does that for us.
Suggested by Stepan Kasal.
* bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
Add *.tmp.
(autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
ifnames): Factor common code. And they said it couldn't be done!
2004-12-09 Paul Eggert
* bin/.cvsignore: Add autoconf.in.
* tests/.cvsignore: Add wrapper.in.
* lib/autotest/general.m4: Escape '$' in case pattern.
2004-12-09 Noah Misch
* man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
* lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
* tests/autotest.at: New file.
* tests/suite.at: Include it.
* tests/Makefile.am: Distribute it.
* lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
shell tracing on a command that could contain multiple lines.
* doc/autoconf.text: Document that fact and its implications.
* lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
* tests/autotest.at (Multiline backquote command substitution,
Multiline parameter expansion, Literal multiline command,
Multiline parenthetical command substitution): Remove XFAIL.
2004-12-09 Paul Eggert
* doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
2004-12-08 Noah Misch
* configure.ac (test suite): Cease to generate wrapper scripts.
* configure: Regenerate.
* lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
(m4f_dependencies): Adjust accordingly.
* tests/Makefile.am (Wrappers): Generate wrapper scripts.
(wrapper.in): Generate it in the build directory.
(MAINTAINERCLEANFILES): Delete wrapper.in.
(CLEANFILES): Add wrapper.in.
* tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
the output. Replace each $as_me with a @wrap_program@.
* tests/wrapper.in: Delete it; we always build it.
* bin/Makefile.am (autoconf.in): Generate it in the build directory.
(EXTRA_DIST): Remove autoconf.in.
(CLEANFILES): Add autoconf.in.
(autoconf): Find autoconf.in in the build directory.
* bin/autoconf.in: Delete it; we always build it.
2004-12-08 Noah Misch
* lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
PATH members so as to not prepend an empty element. Move a comment.
* Makefile.am (SUBDIRS): Build in `tests' last.
* tests/Makefile.am (installcheck-local): Add check-local dependencies.
2004-12-08 Paul Eggert
* lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
the spaces inside $ls_command. Problem reported by Loulou Pouchet in
.
Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
2004-12-07 Stepan Kasal
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
patch: extra "-l"s.
2004-12-06 Paul Eggert
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
* doc/autoconf.texi (Particular Functions): Mention new behavior.
2004-12-03 Stepan Kasal
* lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
out the common code to ...
(_AC_DEFINE_Q): ... a new macro; simplify the condition about the
value of the #define--default to 1, iff the macro was called
with exactly one parameter.
2004-12-02 Paul Eggert
* lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
"char c = '\200';" rather than "char c = 0x80;" as the
latter doesn't conform to the strict C standard due to
overflow on signed char hosts.
* lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
to -qlanglvl=ansi. We don't want to disable extensions.
2004-11-29 Paul Eggert
* doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
(Using Autotest, testsuite Scripts, Writing testsuite.at):
Reword slightly to avoid some English-language problems noted
by Ralf Wildenhues in:
http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
2004-11-29 Stepan Kasal
* NEWS: Add ^L above each release.
2004-11-28 Paul Eggert
Fix documentation problems reported by Russ Boylan in
,
along with some nearby cruft.
* doc/autoconf.texi (Libtool): Libtool can be used without
Automake (not without Autoconf).
(Introduction): Mention lists.gnu.org.
* BUGS: Don't mention bugs.gnu.org.
Remove mention of ancient libtool compatibility problem.
* NEWS: Mention that bugs.gnu.org is kaput.
* README: Likewise. Mention where mailing list archives can be found.
2004-11-28 Stepan Kasal
* HACKING: Refer to "coreutils", not "File, Shell or Text utils".
* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
2004-11-26 Paul Eggert
* doc/autoconf.texi (Pretty Help Strings): Go back to
single-quoting assignments to cache variables.
2004-11-23 Stepan Kasal
* doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
with the examples; fix the bug in MY_ARG_WITH example reported
by Alexandre Duret-Lutz.
* lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
expansion of $1 in the comment emitted to configure.
2004-11-23 Paul Eggert
* doc/autoconf.texi (Pretty Help Strings): Fix typo
in my editing of the previous patch. Problem reported
by Alexandre Duret-Lutz.
2004-11-22 Stepan Kasal
* doc/autoconf.texi (Autoconf Language): Explain that
``descriptions'' may not be double quotes.
(Quotation Rule Of Thumb): Likewise.
(Pretty Help Strings): Likewise; remove the wrong comment;
simplify the examples and improve their quoting.
2004-11-13 Stepan Kasal
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
the $1_found variable, don't test whether the file is executable;
Both things are checked ...
(_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
the former ``test -f''.
* lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
2004-11-10 Paul Eggert
* doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
use cp -R instead.
2004-11-10 Derek R. Price
* doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
limitations. Reorder paragraphs for clarity.
2004-10-11 Paul Eggert
* doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
variants", "Unix", and some related minor wording fixups.
(Shellology, Special Shell Variables): Document that the Zsh
problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
to Alexandre Duret-Lutz for this info.
2004-10-10 Alexandre Duret-Lutz
* doc/autoconf.texi (One-Shot Macros): New node.
2004-09-28 Paul Eggert
* doc/autoconf.texi (Function Portability): Fix misdescription
of putenv. Problem reported by Michael Wardle.
2004-09-22 Paul Eggert
* doc/autoconf.texi (auindex): New macro.
(AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
Problem reported by Stepan Kasal.
2004-09-05 Paul Eggert
Fix problems reported by Andreas Buening in:
http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
in test makefile.
* lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
readable; it's not true in OS/2-emx.
2004-09-04 Paul Eggert
* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
"/usr/include", clear ac_x_includes instead of leaving it as "no"
(trivial change). Problem and patch reported by Andrew Church in:
http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
2004-09-03 Paul Eggert
* doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
three args in examples. Problem reported by Frederik Fouvry in:
http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
Also, fix some minor spacing and punctuation bugs.
2004-09-02 Akim Demaille
* doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
"case" to restore ordering.
Reported by Stepan Kasal.
2004-08-26 Akim Demaille
* doc/autoconf.texi: Minor typos and stylos.
2004-08-20 Paul Eggert
* configure.ac (AC_INIT): Bump to 2.59c.
2004-08-20 Paul Eggert
Version 2.59b.
* README: Add advice about m4 1.4.2.
* Makefile.cfg (wget_files): Remove config.guess, config.sub,
texinfo.tex for now (done by hand now).
* Makefile.maint (wget_files, cvs_files):
Remove ansi2knr.c; nobody uses it.
(ansi2knr.c-url_prefix): Remove.
(cvs-update): Fix test for failure. I don't know why it ever
worked...
* doc/autoconf.texi: Update URLs, some of which went stale.
Use @uref rather than @href.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
handle "--" as per POSIX. Suggested by Paul Pogonyshev.
* config/config.guess, config/config.sub, config/elisp-comp,
config/install-sh, config/mkinstalldirs, config/texinfo.tex,
doc/fdl.texi, doc/standards.texi: Sync with master copy.
* NEWS, TODO, configure.ac, bin/autoscan.in,
bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
doc/install.texi, lib/Autom4te/Configure_ac.pm,
lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
lib/autoconf/programs.m4, lib/autoconf/status.m4,
lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
tests/tools.at, tests/torture.at:
Use "file name" rather than "filename" or "path",
to be consistent with the terminology of the GNU coding standards.
2004-08-19 Paul Eggert
* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
.
More fixes to support spaces in the name of the build directory.
This isn't a complete fix but it's an improvement.
* bin/autoconf.as (autom4te_options): New var.
Use it instead of appending to AUTOM4TE, so that we can allow
spaces in the build directory's absolute name.
* bin/autoheader.in ($autoconf): Allow spaces in file names.
* lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
AT_CHECK_NOESCAPE): Likewise.
* tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
main program): Likewise.
2004-08-18 Paul Eggert
* lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
From Ralf Corsepius in:
http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
2004-08-12 Paul Eggert
* doc/autoconf.texi (Function Portability): Document isinf and
and isnan. From a suggestion by Kevin Ryde.
* lib/Autom4te/General.pm (END): Return correct exit status even
if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
2004-08-09 Paul Eggert
* tests/torture.at (Deep Package): Use configure.in, not configure.ac,
for compatibility with Automake 1.4. Reported by J C Fitzgerald in
.
2004-08-04 Alexandre Duret-Lutz
* lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
(AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
* doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
* lib/autom4te.in (Automake-preselections): Preselect
AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
2004-08-02 Alexandre Duret-Lutz
* lib/autom4te.in (Automake-preselections): Preselect
AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
trace them.
2004-07-29 Paul Eggert
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
Tru64.
* doc/autoconf.texi (Shellology): Mention BIN_SH.
Document problem with "`""`" in pdksh POSIX mode.
2004-07-27 Paul Eggert
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
with pdksh, too. Problem reported by Patrick Welche via
Gary V. Vaughan.
* doc/autoconf.texi (Shellology): Note that set -o posix is
useful for pkdsh, too.
2004-06-24 Paul Eggert
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
_AS_UNSET_PREPARE, so that we can use $as_unset directly.
Don't fail if ENV or BASH_ENV is readonly.
(AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
etc. are read only. Problem reported by Ludovic Courtes.
2004-06-23 Noah Misch
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
zsh, disable GLOB_SUBST to avoid backslash handling problems.
(trivial change)
2004-06-04 Paul Eggert
* doc/autoconf.texi (File System Conventions): Warn about
names like "aux". Problem reported by Eric Blake.
* lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
by zero instead of array size, so that we can use any arithmetic
constant expression (instead of requiring an integer constant
expression). This allows us to test expressions like DBL_MAX <
LDBL_MAX, which didn't conform to the C standard using the old
method.
(AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
now that we can do floating-point tests at compile time.
2004-06-02 Paul Eggert
* lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
and LDBL_EPSILON, as the resulting expression isn't an
integer constant expression and violates the C standard.
Problem reported by Nelson H. F. Beebe. Also, check
for "L" suffix, and check that long double doesn't have
worse range or precision than double, that mixed-mode
arithmetic doesn't generate a diagnostic, that double
constants fit in long double.
2004-06-03 Kevin Ryde
* doc/autoconf.texi (Function Portability): Add notes on free(NULL),
malloc(0) and realloc(NULL,size).
* doc/autoconf.texi (Shell Substitutions): Spelling error reported by
Bob Proulx.
2004-05-31 Paul Eggert
* lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
by Jim Meyering.
2004-05-26 Paul Eggert
* doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
can be rewritten using if-then-else. Suggested by Bruno Haible.
2004-05-25 Paul Eggert
* doc/autoconf.texi (testsuite Scripts): Fix typo.
Problem reported by Stepan Kasal.
2004-05-24 Paul Eggert
* tests/Makefile.am (autoconfdir): Fix to match comment (trivial
change). Patch reported by Ralf Wildenhues in
.
* lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
function F exists if the compiler and linker let you compile an
expression like (F != 0). Recent versions of GCC optimize away
the reference to F in that case, since every function address must
be nonzero, so the link succeeds even if F does not exist.
Problem reported by Manu in
.
* doc/autoconf.texi (Systemology): Standardize on the spelling of
"Unix". Many uses changed.
(Limitations of Builtins): Explain better why the ! command isn't
portable.
2004-05-22 Alexandre Duret-Lutz
* lib/autom4te.in (Automake-preselections): Preselect
LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
2004-05-19 Kevin Ryde
* doc/autoconf.texi (Function Portability): Add strerror_r, cross
referencing AC_FUNC_STRERROR_R.
* doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
note pessimistic assumption when cross compiling.
2004-05-16 Paul Eggert
* doc/autoconf.texi (Limitations of Make): Note that BSD make
(until 2004) invoked subcommands with sh -e, contra POSIX.
Reported by Kevin Ryde.
2004-05-10 Eric Sunshine
* programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
_AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
" $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
`test -f " /usr/bin/grep"', which _always_ failed.
(AC_PROG_SED): Ditto bogus PATH fix.
* autoconf.texi (AC_PROG_GREP): Properly document that this macro
requires that grep correctly supports _multiple_ `-e' options, rather
than stating only that grep should accept `-e'.
2004-05-03 Paul Eggert
Port to C99, which requires that 'exit' be declared.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
to ensure that stdlib.h is included.
* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
_AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
* lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_STDC): Include
when using 'exit' in a test; C99 requires that 'exit' be declared.
2004-05-02 Paul Eggert
* doc/autoconf.texi (Particular Programs): AC_PROG_GREP
now prefers 'grep' implementations that accept -e.
(Limitations of Usual Tools): Describe problems of traditional
egrep and fgrep with long input lines, and of traditional grep
with -e.
* lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
(_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
All callers changed. Append /usr/xpg4/bin to the PATH, for
Solaris.
(_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
the user with complaints about multiple -e options.
* tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
Define it with AC_PROG_GREP.
* configure.ac (AC_PROG_GREP): Add.
* lib/freeze.mk (GREP): New macro.
2004-05-02 Eric Sunshine
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
a possible candidate only after all others fail, rather than
consulting it first. This improves backward compatibility by
better reflecting the way shell selection occurred in previous
versions of Autoconf, and should help to avoid triggering latent
problems in other packages, such as the one in Automake where zsh
is not handled robustly:
http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
Although it is not Autoconf's responsibility to work around
problems in Automake, it nevertheless makes sense to avoid
introducing unnecessary incompatibilites.
2004-04-22 Albert Chin-A-Young ,
Gary V. Vaughan
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
how deeply nested we are when a suitable tool is found, set the
ac_path_TOOL_found flag.
(_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
nested we are in this macro. Break out of all 3 nested loops if
ac_path_TOOL_found is set.
2004-04-21 Gary V. Vaughan
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
of the _AS_PATH_WALK loop too if GNU flavor is found.
2004-04-21 Alexandre Duret-Lutz
* doc/autoconf.texi (Limitations of Make): Update documentation
for `$<'. New entry `Long lines', based on a report from Simon
Josefsson. Augment the documentation for SHELL = @SHELL@ with a
paragraph about DJGPP, based on a mail from Richard Dawe.
2004-04-20 Paul Eggert
* tests/c.at (C keywords): Don't assume that GCC supports
"restrict" and "inline", as sufficiently-old GCC versions do not
(also, GCC configured to be in pedantic C89 mode does not).
Problem reported by Sumit Pandya in:
http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
* lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
consider -g to work if it generates warnings when plain compiles
don't. Problem reported by Braden McDaniel in:
http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
* doc/autoconf.texi (Slashes): New section, to document a problem
reported by Jim Meyering in:
http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
linker output files before linking, to work around IRIX 6 linker bug.
Problem reported by Rainer Orth in:
http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
2004-04-20 Gary V. Vaughan
* lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
best tool so far counter rely on the tool path variable name to
avoid checks for one tool being affected by the results of running
the length check on a previous tool.
* lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
match expression argument, as different greps have different
regular expression flavours.
(AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
literals.
(AC_PROG_EGREP): Pass 'EGREP$'.
(AC_PROG_GREP): Pass 'GREP$'.
2004-04-20 Albert Chin-A-Young
* lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
2004-03-29 Paul Eggert
* doc/autoconf.texi (Particular Headers, Particular Types, Generic
Types, Specific Compiler Characteristics, System Services,
Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
etc. consistently instead of 'long', 'short', 'unsigned' etc.
* lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
* lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
* lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
AC_TYPE_OFF_T): Likewise.
* tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
Likewise.
* tests/foreign.at (Libtool): Create an empty aclocal.m4, to
pacify libtool 1.5.2. Fix quoting problems in sed command.
2004-03-28 Paul Eggert
* doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
now defines HAVE_DECL_TZNAME if it is declared, when
HAVE_STRUCT_TM_TM_ZONE is not defined.
* lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
for HAVE_TZNAME.
2004-03-28 Steven G. Johnson
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
superfluous backslashing of quotes (") in sed expressions;
thanks to Paul Eggert.
2004-03-26 Steven G. Johnson
* lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
Fortran compiler is ifort, also added pghpf; thanks to Nelson
H. F. Beebe for the bug report.
2004-03-26 Steven G. Johnson
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
quoted -cmdline argument in Portland Group compiler (bug
reported by Jeffrey J. Barteet).
2004-03-25 Kevin Ryde
* doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
(Run Time): ... here, where it's now mentioned.
2004-03-19 Alexandre Duret-Lutz
* doc/autoconf.texi (autom4te Invocation): Language Autoconf
inherits from language Autoconf-without-aclocal-m4.
(Customizing autom4te): Adjust example; the cache must now be
disabled for language Autoconf-without-aclocal-m4.
2004-03-16 Paolo Bonzini
Nathanael Nerode
* 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-15 Paul Eggert
* NEWS: New macro AC_CHECK_ALIGNOF.
* doc/autoconf.texi (Generic Compiler Characteristics): Document it.
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
vowel.
(AC_CHECK_ALIGNOF): New macro.
* tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
* tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
those for sizeof.
2004-03-03 Paul Eggert
* bin/Makefile.am (edit): Don't use $< in a context where
POSIX doesn't require support for it. Use $@.in instead.
Problem reported by Anthony N. Frasso in
.
* bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
2004-02-23 Gary V. Vaughan
* bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
from the next generation of Libtool.
* lib/autom4te.in (Autoreconf-preselections): Ditto.
2004-02-20 Alexandre Duret-Lutz
* doc/autoconf.texi (Limitations of Usual Tools) : `mkdir -p'
is not always thread-safe. Report from Nathanael Nerode.
2004-02-18 Paul Eggert
Fix a dependencies problem, stemming from a Autoconf 2.59 build
problem on QNX reported by Stephen Rasku in
.
* bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
$(m4sh_m4f_dependencies); this removes a FIXME.
* tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
(MAINTAINERCLEANFILES): Split into pieces,
one per related section. Add $(srcdir)/wrapper.in.
2004-02-09 Paul Eggert
* doc/autoconf.texi (Setting Output Variables): Emphasize that
AC_SUBST provides no portable way to escape literal newlines.
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
Darwin uses -lcrt2.o and there's little point to cataloging all
the system variants. Partial fix reported by Andreas Waechter in:
http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
for bug reported by Nelson H. F. Beebe in:
http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
2004-02-04 Paolo Bonzini
* doc/autoconf.texi (AU_DEFUN): Fix English,
suggested by Paul Eggert.
* lib/autoconf/autoupdate.m4: Correct reference to
acobsolete.m4, suggested by Alexandre Duret-Lutz.
2004-02-02 Paolo Bonzini
* bin/autoupdate.in: Define __file__ so that warnings
refer to the correct file.
* doc/autoconf.texi (AU_DEFUN): Describe more correctly
the behavior of the third argument.
* lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
correctly the behavior of the third argument. Document
what the three macros that AU_DEFUN defines do. Fix
warning message when the third argument includes $0
(reported by Alexandre Duret-Lutz).
2004-01-30 Paolo Bonzini
Eric Sunshine
Paul Eggert
* lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
(AS_INIT): Output shell initialization there. Removed optional
parameter. Expand _AS_SHELL_FN_SPY.
(AS_INIT_WITH_SHELL_FN): Removed.
(_AS_SHELL_FN_SPY): New macro.
(AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
macros.
(AS_SHELL_SANITIZE): Remove loop to find better shell
and documentation for the parameter.
(_AS_DETECT_BETTER_SHELL): Move it here.
(_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
(_AS_RUN): Move it here, support testing with eval.
(AS_REQUIRE_SHELL_FN): Require shell functions when
it is used.
(_AS_LINENO_WORKS): Put around braces, we do not
trigger the bash bug anymore.
* lib/autotest/general.m4: Document M4SH-SANITIZE, do not
use AS_INIT_WITH_SHELL_FN.
* bin/autoconf.in, tests/wrapper.in: Regenerated.
2004-01-30 Paolo Bonzini
* bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
* doc/autoconf.texi: Don't say that the third parameter
is broken.
* lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
(AU_DEFUN): Honor the third parameter, create autoupdate
macros with AU_DEFINE.
* lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
AC_DIR_HEADER): Use AU_DEFUN's third parameter.
* lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
* lib/autoconf/programs.m4 (AC_RSH): Likewise.
* lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
AC_XENIX_DIR): Likewise.
* lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
* lib/autoconf/status.m4: Remove FIXME.
* tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
that the macro is not present anymore in the updated
configure.ac.
* tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
of autoupdate.
2004-01-28 Paul Eggert
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
copyright years.
* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
2003 (except 1997) to the list of copyright years. This undoes
the 2003-05-22 change, which removed the older years from the list.
* lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
2004-01-27 Gary V. Vaugan
Albert Chin-A-Young
* lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
grep or ggrep program in PATH that accepts as long lines as
possible.
* lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
AC_PROG_GREP.
(AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
egrep and fgrep respectively if $GREP -E/-F don't work.
(_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
_AC_PROG_GREP, and AC_PROG_SED.
(_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
longest input length accepted by a command.
(AC_PROG_SED): Use it.
* doc/autoconf.texi (Particular Programs): Document the changes.
* NEWS: Updated.
2004-01-27 Paul Eggert
* bin/autoconf.as ($version): Update copyright from 2003 to 2004.
* bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
* Makefile.in, aclocal.m4, configure, bin/Makefile.in,
bin/autoconf.in, config/Makefile.in, config/config.guess,
config/config.sub, config/install-sh, config/mdate-sh,
config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
lib/Makefile.in, lib/Autom4te/Makefile.in,
lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
lib/autotest/Makefile.in, lib/emacs/Makefile.in,
lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
man/autoheader.1, man/autom4te.1, man/autoreconf.1,
man/autoscan.1, man/autoupdate.1, man/config.guess.1,
man/config.sub.1, man/ifnames.1, tests/Makefile.in,
tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
tests/actypes.at: Regenerate and/or sync with original
sources.
2004-01-26 Paul Eggert
* doc/autoconf.texi (Default Includes): Include even if
HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
Compac C V6.5-207 (dtk), which defines uintmax_t in but
not . Problem reported by Tim Mooney in
.
* lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
Likewise.
* lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
otherwise "make check" fails because it forbids cmp (I guess
because cmp treats files as binary on DOS-like systems).
* tests/mktests.sh: Update copyright date to 2004, since some tests
have changed in 2004.
2004-01-23 Gary V. Vaugan
* lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
non-truncating sed or gsed program in PATH.
* tests/acprograms.at: Add it.
* doc/autoconf.texi (Particular Programs): Document it.
* NEWS: Updated.
2004-01-15 Paul Eggert
* lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
-std1 disables some useful extensions on Tru64. Problem reported
by N. Lichtmaier in
.
2004-01-14 Paul Eggert
* doc/autoconf.texi (Programming in M4sh): Document that
AS_MKDIR_P succeeds if the destination is a symbolic link
to an existing directory.
(Limitations of Usual Tools): Note that mkdir -p might not
succeed on symlinks to directories.
2004-01-13 Paul Hilfinger
* lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
* bin/autoheader.in: Grammar fix in message.
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
Test for dir before calling mkdir -p. (trivial changes)
2004-01-13 Eric Blake
* doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
2004-01-10 Jim Meyering
* doc/autoconf.texi (Running the Preprocessor): Correct grammar.
2004-01-09 Paul Eggert
* lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
with `autoconf -Wall,error'. Bug reported by Eric Blake in:
http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
(_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
AC_COMPILE_IFELSE, since we now assume our caller invokes
AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
(_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
of AC_RUN_IFELSE; this avoids the warning mentioned above.
(_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
2004-01-07 Paul Eggert
* lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
`"'...'"`, as it's confusing (and I suspect it may not work on
some platforms). The code was incorrect anyway, as it assumed
that \$ evaluated to itself in that context. Reported by
Alexandre Duret-Lutz.
2004-01-07 Alexandre Duret-Lutz
* lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
and _LT_AC_TAGCONFIG.
2004-01-06 Paul Eggert
* doc/autoconf.texi (One Macro Call): Fix an incorrect
example, and add more examples. Reported by Eric Sunshine.
2004-01-05 Paul Eggert
* doc/autoconf.texi (Limitations of Usual Tools):
Remove warning against "rm -fr" introduced yesterday; it
was a false alarm.
* bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
autoscan, autoupdate, ifnames): Don't use chmod -w.
* lib/Makefile.am (autom4te.cfg): Likewise.
* doc/autoconf.texi (Limitations of Usual Tools): Warn against
"chmod -w".
2004-01-04 Paul Eggert
Paolo Bonzini
* libc/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
by doing lineno substitution only on lines containing "$LINENO".
2004-01-04 Paul Eggert
* lib/autoconf/general.m4 (AC_ARG_PROGRAM):
Use "rm -f" to remove conftest.sed, not plain "rm".
Bug reported by David Relson in
.
* Makefile.am (autom4te-update):
Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
* Makefile.maint (my-distcheck, do-po-update): Likewise.
* doc/autoconf.texi (Guidelines): Likewise.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
* tests/Makefile.am (clean-local): Likewise.
* tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
srcdir): Likewise.
* doc/autoconf.texi (Limitations of Usual Tools):
Warn against "rm -fr".
2004-01-03 Paul Eggert
* doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
-c -o might not work. From a suggestion by Kevin Ryde.
(C Compiler, Generating Sources, Limitations
of Usual Tools, Limitations of Make, Making testsuite Scripts):
Don't put '-o' after non-options, as POSIX doesn't allow this.
Mention that cc's name might be gcc or c89 or whatever.
2004-01-04 Kevin Ryde
* doc/autoconf.texi: Add various further index entries.
2003-12-29 Paul Eggert
* bin/autoreconf.in (autoreconf_current_directory):
Fix typo: mkdir without umask arg.
2003-12-27 Alexandre Duret-Lutz
* doc/autoconf.texi (Limitations of Make) :
Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
`VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
explanation clearer.
2003-12-24 Andreas Schwab
* doc/autoconf.texi (Default Includes): Fix misspelling of
AC_INCLUDES_DEFAULT.
2003-12-03 Paolo Bonzini
* configure.ac: Test if sh -n works.
* configure: Regenerate.
* tests/atlocal.in: Store the result here.
* tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
tools.at, looking in atlocal's ac_cv_sh_n_works instead
of explicitly testing.
(AT_CHECK_PERL_SYNTAX): Moved from tools.at.
(AT_CHECK_AUTOCONF): Test for the configure script syntax.
* tests/tools.at (Syntax of the shell scripts): Simplify
using AT_CHECK_SHELL_SYNTAX.
(Syntax of the Perl scripts): Remove definition of
AT_CHECK_PERL_SYNTAX.
2003-12-03 Paolo Bonzini
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
stderr to /dev/null.
* bin/autoconf.in: Regenerate.
* bin/wrapper.in: Regenerate.
2003-11-26 Paolo Bonzini
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
Extracted from AS_SHELL_SANITIZE.
(_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
macros.
(AS_SHELL_SANITIZE): Move reinvocation code from
_AS_LINENO_WORKS, use it to find out if shell
functions work.
(_AS_LINENO_WORKS): Don't find another shell if $LINENO
does not work.
(AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
(AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
was called.
* lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
* bin/autoconf.in: Regenerate.
* tests/wrapper.in: Regenerate.
* tests/tools.at: Test the syntax of tests/autoconf
and tests/testsuite.
2003-11-24 Akim Demaille
* config/announce-gen (&print_locations, &print_signatures)
(&sizes): New.
Use them.
No longer rely on Gnus to inline the list of signatures: compute
them on the fly.
2003-11-24 Akim Demaille
* doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
override some files.
(Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
From Debian Autoconf 2.58.
2003-11-24 Akim Demaille
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
uses.
From Debian Autoconf 2.58.
2003-11-24 Paolo Bonzini
* TODO: Remove already done things. Update the part about finding
tools for the target.
2003-11-24 Paolo Bonzini
* lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
Make wording more consistent.
* lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
Explain the transition better.
* lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
the transition better.
2003-11-24 Paolo Bonzini
* doc/autoconf.texi (Obsoleting Macros): Don't document the third
parameter of AU_DEFUN.
* lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
(AU_DEFUN): Remove the third parameter, it was not used.
Use AC_DEFUN directly, not AU_DEFINE.
* lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
the expanded body, consistently with other macros such as AC_USG.
2003-11-17 Paul Eggert
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
into the initial confdefs.h, to work around a bug in NextStep 3.3
patch 3 reported by Eric Sunshine.
2003-11-15 Kevin Ryde
* doc/autoconf.texi (Using System Type): Revise, showing $host rather
than $target since the latter is not usual, add guidelines on when to
use or not use the system type.
2003-11-12 Derek Price
* doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
typo misrepaired by an auto-spellcheck.
2003-11-12 Akim Demaille
* bin/autoreconf.in (&parse_args): Don't call automake with
--force-missing unless it actually supports it.
From Debian #219336.
2003-11-12 Akim Demaille
* configure.ac: Bump to 2.59a.
Require 2.59.
2003-11-06 Akim Demaille
Version 2.59.
2003-11-05 Alexandre Duret-Lutz
* lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
and ac_abs_top_srcdir are absolute paths.
* lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
2003-11-05 Akim Demaille
* configure.ac: Bump to 2.58a.
2003-11-05 Kevin Ryde
* doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
it provokes a warning from makeinfo about looking like a cross
reference in info output.
* doc/autoconf.texi (Function Portability): Add notes on signal
handler return type, as per AC_TYPE_SIGNAL.
2003-11-04 Akim Demaille
Version 2.58.
* doc/standards.texi: Update from master.
* tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
2003-11-04 Akim Demaille
AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
computing the absolute path to d1 in the source hierarchy: it may
not exist at all. So don't cd into it.
From Alexandre Duret-Lutz.
http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
* lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
From Paul Eggert, but named after Perl's IO::Spec->catfile.
* doc/autoconf.texi (Programming in M4sh): Document.
* lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
2003-11-03 Pavel Roskin
* doc/autoconf.texi (Generic Structure Checks): Describe
action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
2003-10-31 Akim Demaille
* tests/fortran.at (GNU Fortran 77): Don't run FC macros.
(GNU Fortran): New.
* doc/autoconf.texi (Language Choice): Document.
* lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
the current language is Fortran.
2003-10-31 Akim Demaille
* bin/autom4te.in (&freeze): Use a less likely warning separator
than `\n\n', so that `\n\n\n' is valid in warnings.
Reported by Steve Huston.
2003-10-28 Akim Demaille
* Makefile.cfg (local_updates, executable-update): Tweak to be
robust to parallel makes.
Suggested by Alexandre Duret-Lutz.
2003-10-27 Akim Demaille
* Makefile.cfg (executable-update): New.
(local_updates): Call it.
2003-10-27 Akim Demaille
* lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
Don't remove core.* as it may remove valid user files.
* lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
(AC_FUNC_UTIME_NULL): Likewise.
2003-10-23 Akim Demaille
Version 2.57g.
* config/config.guess, config/config.sub: Upgrade from masters.
2003-10-23 Akim Demaille
* lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
AC_COMPILE_IFELSE that use break skip the clean up. So do it by
hand...
2003-10-23 Akim Demaille
* lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
Don't forget to remove conftest.err.
2003-10-23 Akim Demaille
* lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
same object file in $LIBOBJS.
Reported by Alexandre Duret-Lutz & Derek Robert Price.
* doc/autoconf.texi (Generic Functions): Adjust.
2003-10-20 Paul Eggert