Commit Graph

1595 Commits

Author SHA1 Message Date
Paul Eggert
18f4c6b5f1 * doc/autoconf.texi (Limitations of Usual Tools): Warn about other
nonstandard grep R.E. escape sequences.
2007-03-19 18:13:36 +00:00
Jim Meyering
08843ea698 (Limitations of Usual Tools): Also list \< and \>, and mention that
HP-UX's grep, like the one from Solaris, does not support that syntax.
2007-03-17 09:13:54 +00:00
Jim Meyering
db55ec6682 * doc/autoconf.texi: Adjust grammar around use of "heuristics". 2007-03-17 09:01:58 +00:00
Stepan Kasal
c884bca9cd * doc/autoconf.texi (Specifying Names): `--host' does not
change the build type.
2007-03-09 19:51:24 +00:00
Paul Eggert
e3c6e14afc * doc/autoconf.texi (C Compiler): Warn that AC_C_BIGENDIAN
suggests AC_CONFIG_HEADERS.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Warn if not using
AC_CONFIG_HEADERS.  Problem reported by
Peter O'Gorman.
2007-03-06 07:30:17 +00:00
Paul Eggert
a49bbf7a83 * NEWS: AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
* doc/autoconf.texi (C Compiler): Document this.  There is a new
extra argument ACTION-IF-UNIVERSAL.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Implement this.
Add support for Solaris-style _LITTLE_ENDIAN and _BIG_ENDIAN.
Reindent for sanity's sake.
2007-02-28 00:03:33 +00:00
Paul Eggert
6ca599819c * doc/autoconf.texi (Parentheses): Mention problem with (( in
shells.
2007-02-08 23:42:46 +00:00
Paul Eggert
6fb99317ff * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer \r to
an actual carriage return.  Use "ac_cr" to contain the actual
carriage return.
* doc/autoconf.texi (Limitations of Usual Tools): Document problem
with traditional Awk and begin.
* tests/torture.at (Limitations of Builtins): Document the problem
with Bash 2.03 printf.
(Substitute and define special characters):
Remove trailing white space.  Work around a bug in Solaris 8 /bin/bash.
2007-02-07 17:45:37 +00:00
Paul Eggert
9005ef3afe * doc/autoconf.texi (Introduction, Why GNU M4): Clarify M4 version
requirements.
* README: Likewise.
2007-02-04 02:46:48 +00:00
Paul Eggert
45df7197f1 * doc/autoconf.texi (Shellology): pdksh 5.2.14 is still the
latest version.
(Shell Substitutions): Note problems with @{var:=value} etc.
Add a new section for problems with @{#var} etc.  Problem noted
by Ralf Wildenhues.  See:
http://lists.gnu.org/archive/html/libtool-patches/2005-01/msg00157.html
2007-01-29 01:26:12 +00:00
Ralf Wildenhues
e09d62bc19 * doc/autoconf.texi (File System Conventions): Mention that
$PATH_SEPARATOR is for the build system only.
Report by Keith Marshall.
2007-01-23 18:47:23 +00:00
Ralf Wildenhues
bb7dd74777 * doc/autoconf.texi (Setting Output Variables): Mention that
all non-NUL characters are ok in substituted values.
* lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Fix comment typo.
(_AC_OUTPUT_FILES_PREPARE): Test and use backslash escaping of
carriage return for $AWK, needed for BSD awk.
* tests/torture.at (Substitute and define special characters):
Test all 8 bit non-NUL characters.
Report against Automake by Patrick Welche.
2007-01-19 06:54:34 +00:00
Stepan Kasal
e9215d1b95 * doc/autoconf.texi (Specifying Names): `--host' does not
change the build type.
2007-01-16 16:22:04 +00:00
Ralf Wildenhues
db924c512e * doc/autoconf.texi: Fix some typos. 2007-01-08 19:54:10 +00:00
Paul Eggert
861639db7e Fix some wording problems noted by Paolo Bonzini in:
http://lists.gnu.org/archive/html/autoconf-patches/2007-01/msg00077.html
* doc/autoconf.texi (Signed Overflow Examples): Give more
discussion about the allow_superuser_privileges example,
and change it a bit to make things clearer.
(Optimization and Wraparound): Clarify whether the compiler
will generate an infinite loop for the example derived from
Autoconf's mktime test.
(Signed Overflow Advice): Say that -ftrapv is meant for debugging.
Also, clarify unsigned multiplication overflow.
2007-01-05 23:44:26 +00:00
Paul Eggert
343be890ab * doc/autoconf.texi (Integer Overflow): Revised based on today's
feedback.  The most important changes document what happens when
you convert an out-of-range value to a signed integer type, and
say that (sum < a) != (b < 0) reliably detects overflow when sum =
a + b.
2007-01-03 07:18:38 +00:00
Paul Eggert
a4833af9f0 * doc/autoconf.texi (Integer Overflow): Greatly expand and
rewrite, taking notions from the recent discussion on the gcc and
autoconf mailing lists; please see
http://lists.gnu.org/archive/html/autoconf-patches/2006-12/msg00091.html
and follow the many links.
(Integer Overflow Basics, Signed Overflow Examples):
(Optimization and Wraparound, Signed Overflow Advice):
(Signed Integer Division): New sections.

SCALAR(0x828309c)
Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
Software Foundation, Inc.
2007-01-02 23:06:07 +00:00
Paul Eggert
2a7761f95f * lib/autoconf/general.m4 (AC_DEFINE_TRACE): Don't include
preprocessor macro arguments in traced name.
* doc/autoconf.texi (Defining symbols): Document longstanding
support for AC_DEFINE-ing macros with arguments, and document
behavior when the same variable has multiple AC_DEFINEs.
* lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Revert to the
old implementation which AC_DEFINEs the FC_FUNC and FC_FUNC_
macros directly, giving much shorter and simpler code.
2006-12-29 06:44:41 +00:00
Paul Eggert
2d75dbd53e * NEWS: Warnings are now generated by default for unknown
--enable-* and --with-* options.
* doc/autoconf.texi (Option Checking): Renamed from
(Configure Option Checking).  Tighten up the wording a bit.
(External Software, Package Options): Cross-reference to Option
Checking, and use this to shorten our section.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Prefer test -n
"$x" to test "x$foo" != x.
* lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
Don't warn if $enable_option_checking is "no".
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Initialize
ac_unrecognized_opts to the empty string.
Don't echo the unrecognized opts, as this might mishandle
backslashes or leading -.
(AC_PRESERVE_HELP_ORDER): Put the --disable-option-checking
usage next to the other --disable-FEATURE options in the
help string.

2006-12-18  Steven G. Johnson  <stevenj@alum.mit.edu>

* lib/autoconf/general.m4 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS):
(_AC_INIT_PARSE_ENABLE2, _AC_INIT_HELP, _AC_ENABLE_IF):
Print warning for unrecognized --with and --enable options
(AC_DISABLE_OPTION_CHECKING): New macro to disable warnings.
* lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS):
Disable option checking when subdirs are configured.
(AC_OUTPUT): If warnings are enabled, print warning about
unrecognized --with and --enable options at the end of
the configure output (as well as at the beginning).
* doc/autoconf.texi (Option Checking): New node.
Document new option warning functionality.
2006-12-18 20:10:05 +00:00
Paul Eggert
6a575d434f This change prompted by a problem report by Andrey Simonenko in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-12/msg00026.html>.
* doc/autoconf.texi (Defining Symbols): AC_DEFINE works for
object-like macros only, in the traditional portable character
set.
* lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL):
Warn about attempts to define things that are not identifiers.
* lib/autoconf/fortran.m4 (_AC_FC_WRAPPERS): Rewrite to avoid
awful hack that AC_DEFINEd macro names containing parentheses.
2006-12-15 18:25:23 +00:00
Paul Eggert
370f051476 * doc/autoconf.texi: Undo some of the 2006-12-10 change. It was
too drastic, even if Texinfo in theory requires it for info mode.

(config.status Invocation): Renamed back from Recreating a
Configuration).
(Obsolete config.status Use): Renamed back from Obsolete Recreation.
(Autoconf 2.13): Renamed back from 20th-century Autoconf 2.
2006-12-12 17:53:13 +00:00
Paul Eggert
0de4687bb7 * doc/autoconf.texi (Writing Autoconf Input): Renamed from
Writing configure.ac.
(Autoconf Input Layout): Renamed from configure.ac Layout.
(Recreating a Configuration): Renamed from config.status Invocation.
(Obsolete Recreation): Renamed from Obsolete config.status Use.
(acconfig Header): Renamed from acconfig.h.
(20th-century Autoconf 2): Renamed from Autoconf 2.13.
(Writing Testsuites): Renamed from Writing testsuite.at.
(Autom4te Cache): Renamed from autom4te.cache.
2006-12-11 07:12:06 +00:00
Paul Eggert
888d88c141 * BUGS: Remove mention of VPATH problem, since it's now documented
not to be a bug in the Autoconf build procedure itself, but rather
a problem with the proprietary `make' programs.

* doc/autoconf.texi (Build Directories): Add a cross reference
to VPATH and Make.

* build-aux/config.guess, build-aux/config.sub, build-aux/texinfo.tex:
* doc/standards.texi: Sync from gnulib.
2006-12-11 06:40:13 +00:00
Stepan Kasal
f64d37a6e3 * doc/autoconf.texi (autoheader Invocation): Do not double-
quote the parameter of `AH_BOTTOM' in the example.
2006-12-06 13:08:02 +00:00
Stepan Kasal
593e4d5d06 * doc/autoconf.texi (Configuration Headers): Remove the
example with multiple input files.
(autoheader Invocation): Encourage `AH_BOTTOM', discouraging
multiple input files.
2006-12-06 12:12:31 +00:00
Ralf Wildenhues
d254f8694e * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When
creating the awk substitution script, handle one input line at a
time, so that the maximum length of a substituted (multi-line)
value is not limited by the size of the sed pattern space.
The trade-off is a slightly repetitive sed script.
* doc/autoconf.texi (Limitations of Usual Tools): Branch labels
can only have up to 7 characters, due to Solaris 10 /bin/sed.
* tests/torture.at (Substitute a 2000-byte string): Increase the
test with several long lines, they should not be caught by sed
limits any more.
2006-12-05 21:36:25 +00:00
Paul Eggert
7e86fc26ec Turn AC_FUNC_SETVBUF_REVERSED into a noop. It's been obsolete for
years and is too hard to maintain now.  The last straw was
reported by Jerker Baeck in
<http://lists.gnu.org/archive/html/autoconf/2006-11/msg00102.html>.
* NEWS: AC_FUNC_SETVBUF_REVERSED is now obsolete.
* doc/autoconf.texi (Particular Functions): Move
AC_FUNC_SETVBUF_REVERSED from here...
(Obsolete Macros): ... to here.  Say that it does nothing now.
* lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
Turn into (almost) a no-op.
2006-11-28 03:29:47 +00:00
Paul Eggert
96945d9c02 * doc/autoconf.texi (Setting Output Variables): Mention that
@VAR1@VAR2 has unspecified behavior.  Problem reported by
Ralf Wildenhues.
* NEWS: Mention this.
2006-11-27 22:47:33 +00:00
Paul Eggert
6c4b6b50d8 Regenerate. 2006-11-27 21:39:32 +00:00
Paul Eggert
a3787fd48a * Makefile.am: Put only a single '#' into the copyright notice,
so that it's also present in the output file.  Standardize wording
in makefile copyright notices to match GNU coding standards.
* bin/Makefile.am: Likewise.
* doc/Makefile.am: Likewise.
* lib/Makefile.am: Likewise.
* lib/freeze.mk: Likewise.
* lib/autoconf/Makefile.am: Likewise.
* lib/autoscan/Makefile.am: Likewise.
* lib/autotest/Makefile.am: Likewise.
* lib/m4sugar/Makefile.am: Likewise.
* man/Makefile.am: Likewise.
* tests/Makefile.am: Likewise.
* lib/emacs/Makefile.am: Remove copyright notice; it's just a
one-line file.
2006-11-27 21:35:37 +00:00
Paul Eggert
6d759252cd Rewrite config files generation: avoid quadratic growth in
the number of substituted variables by using awk instead of sed
for the bulk of the substitutions.
* NEWS: Mention this.
* doc/autoconf.texi (Setting Output Variables): `|#_!!_#|' is also
forbidden in the output (and thus input) file.
* lib/autoconf/status.m4 (_AC_AWK_LITERAL_LIMIT): New macro.
(_AC_OUTPUT_FILES_PREPARE): Instead of several sed scripts,
generate just one large awk script for substitutions,
eliminating much of the earlier complexity, while adding some
new complexity.  Only expand the substitution templates at
configure time, for smaller configure script size.  If
_AC_SUBST_FILES are used, test 'awk' for working getline support
at config.status time.  If absent, interpolate through the
shell.  The awk script was written with much help
from Paolo Bonzini and Paul Eggert.
(_AC_SED_CMD_NUM, _AC_SED_DELIM_NUM, _AC_SED_FRAG): Removed.
(_AC_SED_FRAG_NUM): Likewise.
(_AC_SUBST_CMDS): Renamed from...
(_AC_SED_CMDS): ...this.
(_AC_OUTPUT_FILE): Use _AC_SUBST_CMDS.
* tests/torture.at (Substitute a 2000-byte string): Also
substitute a line with 1000 words, and a variable with several
long lines.
(Substitute and define special characters): Test awk special
characters, and put substitution input strings `@foo@' in the
output, to test that no recursion happens; test several other
combinations from Paolo Bonzini.
2006-11-26 17:53:10 +00:00
Paul Eggert
d352fa108d * doc/autoconf.texi: Mention that if (i in a) doesn't work with traditional Awk. 2006-11-21 20:54:35 +00:00
Paul Eggert
1dff385e02 * doc/autoconf.texi (Limitations of Usual Tools): Don't claim
that traditional Awk lacks 3-arg "split".  It has it.
Mention that FS must be a single character, and a few other
99-byte limits of traditional Awk.
2006-11-21 17:29:01 +00:00
Paul Eggert
ac3beb3155 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
code for --enable, --disable, --with, and --without to...
(_AC_INIT_PARSE_ENABLE): ... a new macro.
* doc/autoconf.texi (Package Options):
* NEWS: Document that AC_ARG_ENABLE allows dots, too.
2006-11-17 00:16:27 +00:00
Paul Eggert
755c72db8f Import upstream changes. 2006-11-17 00:00:31 +00:00
Paul Eggert
0e4acb04cc * NEWS: Document the AC_ARG_WITH change.
2006-11-13  Bruno Haible  <bruno@clisp.org>

* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
options, transliterate also dots to underscores.
(_AC_ENABLE_IF): Transliterate also dots to underscores.
* doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
first argument may also contain dots.
2006-11-13 20:40:06 +00:00
Paul Eggert
aebb1f2c2c * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
* doc/autoconf.texi (C Compiler): Document them.
* lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
New macros, taken from gnulib.
2006-11-08 08:26:43 +00:00
Ralf Wildenhues
84c6b66796 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
`trap ... 0' inside a function, for AIX sh.
2006-10-27 23:01:06 +00:00
Eric Blake
0ae1775302 * THANKS: Update.
* doc/autoconf.texi (Evaluation Macros): Improve the example to
show effect on macros that expand with commas.
Reported by Joel E. Denny.
2006-10-26 16:32:11 +00:00
Eric Blake
0a7f8c543a * THANKS: Update.
* doc/autoconf.texi (Evaluation Macros): Improve the example to
show effect on macros that expand with commas.
Reported by Joel E. Denny.
2006-10-26 16:32:11 +00:00
Paul Eggert
33d227cece * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
Jim Meyering.
2006-10-25 20:21:05 +00:00
Paul Eggert
935387a0ef * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.
2006-10-25 00:35:45 +00:00
Paul Eggert
c8b3323bee * NEWS: Remove AC_CACHE_CHECK_INT.
* doc/autoconf.texi (Caching Results): Likewise.
* lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
AC_CACHE_CHECK_INT, since it's no longer public.
* lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
* tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
2006-10-23 06:12:40 +00:00
Ralf Wildenhues
4de32559bb * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos. 2006-10-20 16:25:30 +00:00
Eric Blake
a542d202ed * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
(m4_maketemp): Avoid warnings with M4 1.9a.
* lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
m4_mkstemp.
* doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
* NEWS: Likewise.
2006-10-20 01:34:32 +00:00
Eric Blake
fd8dd2e994 * doc/autoconf.texi (Setting Output Variables): Fix typo. 2006-10-17 02:31:44 +00:00
Eric Blake
c94a138300 * bin/autoconf.as (version): Reword to match GNU Coding
Standards.
* bin/autoheader.in (version): Likewise.
* bin/autom4te.in (version): Likewise.
* bin/autoreconf.in (version): Likewise.
* bin/autoscan.in (version): Likewise.
* bin/autoupdate.in (version): Likewise.
* bin/ifnames.in (version): Likewise.
2006-10-16 20:58:44 +00:00
Paul Eggert
6a414a9d3f (Imported from Automake.)
* build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
which incorrectly sets the mode of an existing destination
directory.  In some cases the unpatched install-sh could do the
equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
system.  We hope this is rare in practice, but it's clearly worth
fixing.  Problem reported by Alex Unleashed in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
Also, don't bother to check for -m bugs unless we're using -m;
suggested by Stepan Kasal.

2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>

Import this change from Automake:

2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
* lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
is enabled by default with gnu and gnits strictness.
Report from Bruno Haible.

2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
* lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
gnu and gnits modes.

Import this change from Config:

2006-09-20  Ben Elliston  <bje@gnu.org>
* build-aux/config.sub (score, score-*): New.

Import this change from Gnulib:

2006-09-16  Karl Berry  <karl@gnu.org>
* doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
to avoid sectioning errors.

Import these changes from Texinfo:

2006-10-04  Karl Berry  <karl@gnu.org>
* build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
(\quoteexpand): rename to \rquoteexpand.
(\codequoteleft): new def, to look for @set codequotebacktick.
(\lquoteexpand, \quoteexpand): new defs.
(\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
(\code): must use new \...Char values, since now ` is active.

2006-08-26  Karl Berry  <karl@gnu.org>
* build-aux/texinfo.tex (\textdegree): New command.

2006-08-12  Karl Berry  <karl@gnu.org>
* build-aux/texinfo.tex (error \box0): smaller font.
2006-10-15 00:58:25 +00:00
Ralf Wildenhues
3c556e3a0b * doc/autoconf.texi (Autoheader Macros): Fix syntax error. 2006-10-14 09:54:32 +00:00
Stepan Kasal
9ae405343e * doc/autoconf.texi (Autoheader Macros): Warn that the text
added to the template can get mangled.
2006-10-13 18:26:38 +00:00
Paul Eggert
13e36eb7cd * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
the NonStop platform.
* doc/autoconf.texi (Posix Variants): Likewise.
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
2006-10-11 22:38:42 +00:00
Paul Eggert
520f7f02ed * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
due to configuration hassles with this.  See Tonya Underwood's report
<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
* doc/autoconf.texi (Special Shell Variables): Likewise.

2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
    Stepan Kasal  <kasal@ucw.cz>

* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
(_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.

2006-10-11  Stepan Kasal  <kasal@ucw.cz>

* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
  initialization which is not inherited through the environment
(_AS_BOURNE_COMPATIBLE): ... to this new macro.
(_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
2006-10-11 19:35:57 +00:00
Paul Eggert
43a3be8e55 * doc/autoconf.texi (Limitations of Usual Tools): Describe
problems with mkdir -p -m.
2006-10-09 22:51:35 +00:00
Stepan Kasal
ee62b2bba5 Cancel the previous change for now. 2006-10-06 15:31:26 +00:00
Paul Eggert
71e8fdea43 * doc/autoconf.texi (Special Shell Variables): Autoconf-generated
shel scripts no longer export BIN_SH, due to configuration
hassles with this.
* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH
or DUALCASE.
(_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
Use AS_EXECUTABLE_P rather than test -f.
(AS_SHELL_SANITIZE): Set DUALCASE.
(AS_EXECUTABLE_P): Just invoke as_executable_p.
(_AS_TEST_PREPARE): Default to test -f, rather than to nothing.
2006-10-04 21:16:06 +00:00
Stepan Kasal
e3f2142f48 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for
standard error, `experr' should be used, not `expout'.
2006-09-27 16:47:08 +00:00
Paul Eggert
922d35a702 (Generic Declarations): Clarify that AC_CHECK_DECL
can apply to constants too, and that it checks for macro defns.
2006-09-26 20:41:13 +00:00
Paul Eggert
c3291e20d4 * NEWS: Recommend M4 1.4.7 instead of 1.4.6.
* README: Likewise.
* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.

2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
2006-09-26 06:04:35 +00:00
Eric Blake
18be0ccecf * m4/m4.m4: Change copyright.
* configure: Regenerate.
* Makefile.in: Likewise.
* bin/Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
* lib/Makefile.in: Likewise.
* lib/Autom4te/Makefile.in: Likewise.
* lib/autoconf/Makefile.in: Likewise.
* lib/autoscan/Makefile.in: Likewise.
* lib/autotest/Makefile.in: Likewise.
* lib/emacs/Makefile.in: Likewise.
* lib/m4sugar/Makefile.in: Likewise.
* man/Makefile.in: Likewise.
* tests/Makefile.in: Likewise.
2006-09-20 03:08:08 +00:00
Ralf Wildenhues
ff70b0c81e * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the
argument to `--prefix' for sub-configure scripts.
Pass `--silent' to sub-configure scripts.
* tests/torture.at (Configuring subdirectories): Add tests
for both changes.
* doc/autoconf.texi (Setting Output Variables): Fix example to
not show `--silent' being passed to a `configure' re-run.
2006-09-13 04:48:23 +00:00
Paul Eggert
2bb44c7941 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR.
* lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check
for the existence of the directory at configure-time.  That's
too late, anyway, and possibly the directory isn't part of the
distribution.  Problem reported by Stefan Seefeld.
2006-09-12 18:16:34 +00:00
Paul Eggert
3c4369a751 Undo previous change; it doesn't seem to have been true. 2006-09-12 07:01:50 +00:00
Paul Eggert
b7e638cc9a * doc/autoconf.texi (Here-Documents): Document bug in UnixWare
7.1.4 /usr/bin/posix/sh.
2006-09-11 15:37:27 +00:00
Paul Eggert
7f99bb811e * doc/autoconf.texi (Preset Output Variables): srcdir and
top_srcdir are not necessarily relative.
2006-09-05 23:27:53 +00:00
Ralf Wildenhues
cd5882df0f * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over
f90/f95 because the latter drivers of AIX Fortran 9.1 do not
accept files with extension `.f'.  For consistency, also prefer
xlf over f77.
* doc/autoconf.texi (Fortran Compiler): Remove mention of bug
from last patch.
2006-09-05 17:17:31 +00:00
Paul Eggert
4add5e895c * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution
of ERLANG_LIB_VER_* variables.
* doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_*
variables.
2006-09-05 14:36:17 +00:00
Paul Eggert
ae048f75de * doc/autoconf.texi (Fortran Compiler): Document that AC_PROG_CC should be
called before AC_PROG_FC, due to a bug in Autoconf.
2006-09-03 19:53:07 +00:00
Paul Eggert
8092331cbf * doc/autoconf.texi (Limitations of Builtins): Document
'unset' bugs of Bash 2.01 and 2.05a.
2006-09-03 19:41:12 +00:00
Paul Eggert
c9bf84b877 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the
old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT
except the first two arguments are reversed.
* doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT.
(Generic Compiler Characteristics): AC_COMPUTE_INT no longer
caches nor outputs a diagnostic.  Suggested by Bruno Haible.
* lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro,
equivalent to the old AC_COMPUTE_INT.
(AC_COMPUTE_INT): No longer caches or reports.  New signature.
All uses changed to AC_CACHE_CHECK_INT.
* tests/base.at (AC_CACHE_CHECK_INT): New test.
* tests/mktests.sh (ac_exclude_lsit): Add AC_CACHE_CHECK_INT.
2006-09-02 05:37:07 +00:00
Paul Eggert
bc5477ae6d * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
programs should use their Gnulib counterparts.
* doc/autoconf.texi (Particular Functions): Likewise.
(Macro Names, testsuite Invocation): Replace uses of these
obsolete macros with uses of non-obsolete macros.
2006-08-31 22:38:30 +00:00
Paul Eggert
351972e6ff Fix Lex library problem reported to us by Julio Garvia.
* doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
for the default, which the user can override.
* lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
deal with LEXLIB.
(_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
didn't work if some values were cached but not others.  Test for
broken lex libraries like native ia64-hp-hpux11.22; see
<http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
work around the problem by preferring an empty LEXLIB to -lfl or
-ll.  Let the user set LEXLIB='' to indicate no library needed.
2006-08-25 20:48:02 +00:00
Paul Eggert
d2cc5bd968 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
* README: Likewise.
* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2006-08-25 17:23:11 +00:00
Paul Eggert
2db42f6613 Regenerate. 2006-08-24 22:57:30 +00:00
Paul Eggert
1355dba882 * NEWS: The C99 check now tests for vararg macros and 64-bit
preprocessor ints.
* doc/autoconf.texi (C Compiler): Document // comments, va_copy.
* lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
64-bit preprocessor ints.  Check for static initialization of
long long.  Remove unnecessary casts.
2006-08-24 18:08:16 +00:00
Paul Eggert
306da87fe0 * doc/autoconf.texi (Particular Programs): Mention that
@INSTALL@ and @MKDIR_P@ may vary for different output files.
2006-08-24 16:58:54 +00:00
Paul Eggert
c19c2d5a27 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
longer supported by Sun.
2006-08-22 19:51:18 +00:00
Paul Eggert
427e34b361 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
-Wundef -Werror".  Problem reported by David Fang in
<http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
* doc/autoconf.texi (Header Templates, Default Includes):
(Particular Functions, Generic Functions, Header Portability):
(Particular Headers, Generic Headers, Generic Declarations, Guidelines):
(Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
(Present But Cannot Be Compiled, Preprocessor Symbol Index):
Prefer #ifdef to #if.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
(AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
(AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
Likewise.
* lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
(AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
* lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
(AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
* lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
this.
2006-08-15 16:24:42 +00:00
Paul Eggert
bf41565f6b OpenBSD -> Open@acronym{BSD} 2006-08-14 22:56:17 +00:00
Paul Eggert
a5b93304ab * doc/autoconf.texi (Limitations of Usual Tools): Document sed
problems with arg script text that doesn't end in newline, and
with '-e a...'.  Problems reported by Ralf Wildenhues.
2006-08-14 22:51:35 +00:00
Ralf Wildenhues
ca7e6407ad * doc/autoconf.texi (config.status Invocation): Adjust according
to last change.
2006-08-10 04:53:38 +00:00
Paul Eggert
dac52fe6c9 (Limitations of Usual Tools): Warn about sed stripping
leading white space from text.
2006-07-24 19:55:45 +00:00
Paul Eggert
9ef3d1d118 * doc/autoconf.texi (Volatile Objects): Be even a little
less skeptical about "volatile".
2006-07-24 19:35:50 +00:00
Paul Eggert
63b0709b94 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
2006-07-20 21:21:14 +00:00
Paul Eggert
f2b54ad2d0 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS
better, since it's also used when linking.  Similarly for
CXXFLAGS etc.
2006-07-20 17:09:10 +00:00
Paul Eggert
f2d54b1996 * README: Recommend M4 1.4.5.
* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2006-07-17 16:15:34 +00:00
Paul Eggert
8bed34d16a * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
under AC_C_VOLATILE.
(Volatile Objects): Be a little less skeptical about what
"volatile" means.  Derived from thoughts by Ben Pfaff in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
2006-07-07 18:43:49 +00:00
Ralf Wildenhues
8663480a9f * doc/autoconf.texi: Fix some typos. 2006-07-07 18:39:38 +00:00
Paolo Bonzini
c910e682cc 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
* doc/autoconf.texi (Generic compiler characteristics):
	Document AC_COMPUTE_INT.  Fix wrong statements on Default
	Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.

	* lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
	(_AC_COMPUTE_INT): Add obsoletion warnings.
	* lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
	AC_COMPUTE_INT.

	* NEWS: Document change.
2006-07-07 14:21:57 +00:00
Paul Eggert
a253ae0bb3 (Volatile Objects): Tune wording slightly.
Some of this was suggested by Ralf Wildenhues.
2006-07-05 22:05:53 +00:00
Paul Eggert
ca218b2ec5 * doc/autoconf.texi (Volatile Objects): New section. 2006-07-05 09:40:56 +00:00
Paul Eggert
60dc5a14da * doc/autoconf.texi: Be more consistent about using @acronym with
"HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
quite right (it talked about "OSF/Tru64", even though the
operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
and it even mentioned "OSF 4"!) and at this point there's little
reason to talk about OSF any more, since it died in 1994.
(Specific Compiler Characteristics): Simplify example of
negative-size array.
(File Descriptors): Reorder to make the text flow better.
Remove joke about "appreciate the various levels"; I didn't get it.
Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
(File Descriptors, Limitations of Usual Tools):
Tone down the advice against renaming or removing open files.
(Limitations of Usual Tools): Add a new section, on 'rm'.
2006-06-28 17:48:52 +00:00
Ralf Wildenhues
c56384c677 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for
datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is
not defined.
* doc/autoconf.texi (Changed Directory Variables): New node,
to document the whole `datarootdir' business a bit better.
* NEWS: Update.
* tests/torture.at (datarootdir workaround): Extend test.
Prompted by report by Alexandre Julliard.
2006-06-23 14:56:30 +00:00
Paul Eggert
d88b0fa532 * NEWS: Use "M4" rather than "m4" when appropriate.
Problem reported by Eric Blake.
* doc/autoconf.texi: Likewise.
Use @acronym around BSD, GCC, and GNU when appropriate.
(Why GNU M4): Renamed from "Why GNU m4".
(Redefined M4 Macros): Mention that Posix
m4wrap takes only 1 argument, but GNU M4 1.4.x takes more.
(Buffer Overruns): Mention size_t and ptrdiff_t as alternatives
to int.
2006-06-20 19:49:14 +00:00
Paul Eggert
814d1a1a07 * NEWS: Document that m4wrap/m4_wrap might not be LIFO.
* doc/autoconf.texi (): Likewise.
Rework example of m4wrap token-pasting trouble so that it doesn't
care whether it's LIFO or FIFO.
Fix some "contrary to"s that are awkward in English.
2006-06-19 23:12:16 +00:00
Paul Eggert
4ab90bf39b * doc/autoconf.texi:
(Installation Directory Variables, Build Directories):
(Automatic Remaking, Subdirectories, Fortran Compiler):
(Making testsuite Scripts, Defining Directories):
Quote variable usages better.
(Installation Directory Variables): Fix table item font.
Reword slightly to clarify.  Generalize advice about
not using special characters to include all file-related
vars, not just VPATH.
(Special Chars in Variables): Warn about special characters in
$(srcdir) too.
(Assignments): Clarify default-value example as suggested by
Ralf Wildenhues in
<http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>.
(Special Shell Variables): Note leading ./ or ../, as suggested
by Stepan Kasal.
(Limitations of Builtins): Under cd, warn about CDPATH.
(The Make Macro MAKEFLAGS): Untabify.  Problem reported by
Ralf Wildenhues.
2006-06-16 20:38:03 +00:00
Paul Eggert
c381a05d74 * README: Recomment m4 1.4.4 instead of 1.4.3..
* doc/autoconf.texi: Likewise.
(Special Chars in Names): Say that $(.FOO) is portable, as
suggested by Stepan Kasal.
2006-06-16 11:42:20 +00:00
Ralf Wildenhues
2f998c3bdc * doc/autoconf.texi (Configuration Actions): Remove duplicate
`@var', for texi2html.
(Systemology): Some more word wrapping, for DVI output.
(autom4te Invocation): The short option for `--melt' is `-M',
not `-m'.
2006-06-15 13:20:04 +00:00
Paul Eggert
11e1721603 * doc/autoconf.texi: More formatting and English tweaks,
many suggested by Ralf Wildenhues.
Reword to avoid "@code{...}'s" and the like, since it's ugly
with Emacs info mode.  discontents -> woes.
Put a few "will"s back.  time stamp -> timestamp.
side-effect -> side effect.
2006-06-15 08:47:20 +00:00
Paul Eggert
fed5d39370 Autocoonf -> Autoconf 2006-06-15 07:33:41 +00:00
Paul Eggert
1df936d42c * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node.
(Special Chars in Names): Renamed from Leading _ in Macro Names.
Mention other special chars, too.
2006-06-14 19:49:00 +00:00
Paul Eggert
0bce39bb91 * doc/autoconf.texi (Initializing configure, Shell Substitutions):
Warn about $@ not persisting.  Problem reported by Julien Danjou in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>.
2006-06-14 19:11:43 +00:00
Paul Eggert
1c847e3b05 behave -> behaves (fixing a typo in the previous patch). 2006-06-14 05:14:09 +00:00
Paul Eggert
0e8c81bbf2 * doc/autoconf.texi: Some systematic minor improvements, as
follows.  Use "makefile" when talking about makefiles
generally (which might be named "makefile" or "Makefile" or even
"foo.mk"), "Makefile" when talking about a specific makefile
called "Makefile".  This unclutters the text from weird quotes
(e.g., "`Makefile's" in info mode).  Similarly, use "@var{foo}
values" rather than "@var{foo}s" and similar constructs containing
"}s".  Use "Make rules" rather than "Makefile rules".  Minor
English-language improvements.  Change the prefix "sub-" to "sub"
and "re-" to "re".
Put blank lines around examples more consistently.
Avoid "rather" and "very" as intensifiers.
Avoid "will" as an auxiliary.
(Limitations of Make): Split this node into....
(Portable Make, $< in Ordinary Make Rules, Failure in Make Rules):
(Leading _ in Macro Names, Backslash-Newline-Newline):
(Backslash-Newline Comments, Long Lines in Makefiles):
(Macros and Submakes, The Make Macro SHELL, Comments in Make Rules):
(obj/ and Make, make -k Status, VPATH and Make):
(VPATH and Double-colon, $< in Explicit Rules):
(Automatic Rule Rewriting, OSF/Tru64 Directory Magic):
(Make Target Lookup, Single Suffix Rules, Timestamps and Make):
New nodes, resulting from splitup of Limitations of Make.
All cross-references changed.  Raise the top node from
a section to a chapter, and all subnodes accordingly.
Redo the introductory wording to match the new organization.
(Installation Directory Variables): Use an example that is
closer to what Autoconf actually does.  Mention that VPATH's
value should not contain metacharacters or white space.
(Fortran Compiler): Fix a VPATH bug in an example.
(Leading _ in Macro Names): Mention that this problem is no longer
of practical concern.
(VPATH and Make): Reword the advice to make it clearer
that Autoconf and Automake support VPATH in non-GNU make, but
many packages have bugs in this area.
($< in Explicit Rules): Refer to Build Directories rather
than using a (non-VPATH-safe) example.
(Automatic Rule Rewriting): Mention the sort of disaster that
can ensue with Solaris-style rule rewriting with VPATH.
2006-06-14 05:08:20 +00:00
Paul Eggert
5051b263e0 * doc/install.texi (Compilers and Options): Weaken the
suggestion to use GNU make for VPATH builds.
2006-06-14 03:41:56 +00:00
Ralf Wildenhues
d6d76e17c7 * doc/autoconf.texi (Installation Directory Variables):
Drop extra @samp from `@table @samp' item.
(Limitations of Usual Tools): Comment fix.
Do not nest @samp just to point to other table items.
(Writing testsuite.at) <AT_CHECK>: The second argument to
`@dvar' is already @samp'ed.
(Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise,
do not use @var in the second argument.
2006-06-08 17:25:10 +00:00
Paul Eggert
3ede61d43a * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1
typically overflows on x86 CPUs, even though the C standard
requires otherwise.
2006-06-06 01:44:53 +00:00
Paul Eggert
a870fa8da1 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem
reported by Ralf Wildenhues.
* doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise.
2006-06-05 08:39:57 +00:00
Paul Eggert
79a00aafb4 * doc/autoconf.texi: Modernize some of the references to Solaris. 2006-06-05 08:20:28 +00:00
Paul Eggert
b8dd7a4e22 * doc/autoconf.texi (Limitations of Usual Tools): Correct
information about race-free implementations of mkdir.
2006-06-04 20:22:48 +00:00
Paul Eggert
8eaa3f01d0 * bin/autoreconf.in (help): Document M4 environment variable.
* bin/autoconf.as (Usage): Likewise.
* bin/autom4te.in (help): Likewise.
* doc/autoconf.texi (autom4te Invocation): Likewise.
2006-06-04 19:56:27 +00:00
Paul Eggert
f0c7c42553 * NEWS: GNU make now recommended for VPATH builds.
Mention that some macros are now documented to be obsolescent.
* doc/autoconf.texi:
Prefer "current" to "modern" to describe
currently-used (albeit perhaps old-fashioned) hosts.
Mention which ancient features no longer need to be worried about.
setgid -> set-group-ID
setuid -> set-user-ID (these are the Posix terms)
Fix some misuses of "only".
(AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES):
(AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID):
(AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP):
(AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP):
(AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME):
(AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF):
(AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC):
(AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX):
(AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM):
Mention that these macros are obsolescent.
(Installation Directory Variables): shall -> should
(File Descriptors): Mention that 0, 1, 2 might get reopened.
Mention that it's now safe to use 3 and 4.
(Limitations of Usual Tools): cp -r is now specified by Posix.
Omit longwinded and obsolescent discussion of cp -f.
Modernize discussion of expr, ls.
(Limitations of Make): Modernize discussion of VPATH builds.
Mention $? as a workaround in some cases.
* doc/install.texi (Basic Installation):
Mention "./configure; make; make install" first.  Be more
specific about why this file is generic.  Remove unnecessary
parens.  Remove misleading "only".  Remove obsolete advice
about csh.  Don't say "configure" takes awhile; say it
might take a while.  Suggest CFLAGS=-g rather than CFLAGS=-O2,
and CC=c99 rather than CC=c89, as these are blessed by current
Posix.  Recommend GNU make if doing a VPATH build.
2006-06-04 07:38:28 +00:00
Paul Eggert
2f2f685cda * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for
examples involving shell prompts.
2006-06-03 23:21:06 +00:00
Paul Eggert
ab67a9cbf8 * doc/autoconf.texi (Here-Documents): Add details about the
pre-ksh93g bug.  Reword slightly to make it clearer.  Consistently
use "here-documents" instead of "here documents".
2006-06-02 22:42:32 +00:00
Ralf Wildenhues
c7492e72c0 * config/texinfo.tex, doc/standards.texi: Sync from upstream. 2006-06-01 18:17:54 +00:00
Paul Eggert
4494d7f0ea * doc/autoconf.texi (File System Conventions): Warn about ":"
anywhere in directory names.
2006-06-01 07:47:40 +00:00
Paul Eggert
f37ef5a127 (System Services): Do not document overriding EXEEXT via ac_cv_exeext=ext. 2006-05-31 20:20:13 +00:00
Paul Eggert
ef9577a76b ksh99g -> ksh93g 2006-05-31 19:51:39 +00:00
Paul Eggert
e07dda2d48 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative
about quoting the case statement, just in case.
* doc/autoconf.texi (Particular Programs) <AC_PROG_MKDIR_P>:
Document that ${MKDIR_P} understands --.
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the
comment.
2006-05-31 19:49:15 +00:00
Paul Eggert
3aba941494 * doc/autoconf.texi (autoheader Invocation): The first argument to
`AC_DEFINE_UNQUOTED' need not be a literal.  Mention the
alternatives and clear up the language a bit.
2006-05-27 22:22:01 +00:00
Paul Eggert
aa4a2459e6 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools):
Use better wording to talk about AC_PROG_MKDIR_P's thread-safety.
Don't use the term "thread-safe" to talk about mkdir race
conditions, since the problem is more a process than a thread
issue.  Problem reported by Stepan Kasal in:
http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics
the test for 'install' more closely.  Look at MKDIR_P first.
Look in the PATH, and at /opt/sfw/bin.
Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir).
Don't bother to try mkdir -p, since we already check mkdir --version;
just look at the version number.  (There's no easy way to check
for race-free implementations.)
* tests/tools.at (autoconf: subdirectories): Adjust to above
changes, since MKDIR_P now might end in "/mkdir -p".
2006-05-27 02:54:33 +00:00
Paul Eggert
3b73b97c85 * doc/autoconf.texi (autoheader Invocation): Mention that the
first arg of AC_DEFINE_UNQUOTED must not be a literal.
2006-05-27 00:05:36 +00:00
Paul Eggert
922c98ee7d * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
* doc/autoconf.texi (Special Chars in Variables): New section.
(Preset Output Variables): Warn about special chars in CPPFLAGS.
(Installation Directory Variables): Quote $(datadir) better.
(Limitations of Builtins): Describe some of eval's trickiness.
* lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
* lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
in front of every arg, not just trailing args.  Quote apostrophes.
(_AC_EVAL_ECHO): New macro.
(_AC_EVAL, AC_EVAL_STDERR): Use it.  Quote arg of eval.
(AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get
removed.
(_AC_LINK_IFELSE): Use proper rule for shell continuation lines,
exposed by quoting of eval argument.  Put the command on line line
so it logs better.
* lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely.
(_AC_PATH_X, AC_PATH_X): Quote more safely.
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely.
* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval.
* lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change.
Handle special chars in prefix, ac_srcdir, ac_aux_dir.
Use eval more safely.
(_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes.
* lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs
to be replaced.
* tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation
lines, exposed by quoting of eval argument.
2006-05-26 22:29:50 +00:00
Ralf Wildenhues
cf78c7e16e * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the
initialization of `ac_cv_exeext', do not override it if it was
already set, unless it was set to `no', for compatibility with
Autoconf-2.13, and comment this.
Do not export `ac_cv_exeext', Libtool hasn't needed this for years.
(_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it.
(_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos.
* doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>:
Document that this test may be overridden by setting
`ac_cv_exeext'.
2006-05-26 17:25:35 +00:00
Ralf Wildenhues
c1ea1267a6 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>:
Fix description of how the buggy `sed' works.
2006-05-25 17:23:11 +00:00
Ralf Wildenhues
beaa9ebbcb * doc/autoconf.texi (Here-Documents): We now know more about
the variable expansion in here documents bug.
Thanks to Tim Rice and Stepan Kasal.
2006-05-25 08:49:02 +00:00
Ralf Wildenhues
4814eec7e0 * doc/autoconf.texi (Making testsuite Scripts): Add an example
how to use TESTSUITEFLAGS.  Suggested by Eric Blake.
2006-05-25 07:39:57 +00:00
Paul Eggert
7298fd6c1f * doc/autoconf.texi (Particular Programs): Do not promise that
we always prefer the GNU version of the program, and that we
search according to PATH; both rules can have exceptions.
Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP,
AC_PROG_SED.  Move descriptions of limitations
to the Limitations of Usual Tools section.
(Limitations of Usual Tools) <sed>: Mention script length
limitations with Solaris /usr/ucb/sed.
<grep>: Fix wording for empty alternative.  Mention that -c and
-l should not be combined, and that -E and -F should not be
combined.
2006-05-22 17:27:50 +00:00
Stepan Kasal
a2cc685508 * doc/autoconf.texi (Defining Symbols): Literal parameter of
AC_DEFINE is now passed to m4_pattern_allow.
* NEWS: Mention that; likewise for AC_SUBST.
* lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass
the parameter to m4_pattern_allow.
* tests/tools.at: Add a check for that.
2006-05-22 15:54:09 +00:00
Stepan Kasal
408bb81c76 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For
the HP-UX sed limitation of 99 commands, labels do not count.
* lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that
in the comment.
(_AC_OUTPUT_HEADER): Revert the change from 2006-05-19.
2006-05-22 10:28:33 +00:00
Ralf Wildenhues
621112ccfb * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro.
* doc/autoconf.texi (C++ Compiler): Document it.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment.
* NEWS: Update.
2006-05-20 05:39:03 +00:00
Ralf Wildenhues
334d111e9e * config/config.guess, config/config.sub, config/texinfo.tex,
doc/make-stds.texi, doc/standards.texi: Sync from upstream.
2006-05-17 02:15:30 +00:00
Paul Eggert
9479591b3e * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now
sets MKDIR_P, not mkdir_p, to avoid collisions with Automake.
Warn about obsolete install-sh files.  Remove stray sentence
fragment and fix cross reference.
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on
install -d; this undoes the 2006-05-10 change.
(MKDIR_P): Mark with AN_MAKEVAR.
(AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so
that we don't require $INSTALL to be thread-safe.  Move comments
out of generated code.  Require AC_CONFIG_AUX_DIR_DEFAULT instead
of AC_PROG_INSTALL.  Output a message saying that we're checking
mkdir -p.  Set MKDIR_P rather than mkdir_p.  Do special magic for
MKDIR_P instead of AC_SUBST.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS):
Special magic for MKDIR_P, too.
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated
a dnl.
* tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P.
2006-05-13 09:54:51 +00:00
Paul Eggert
2da5c52e5a (Particular Programs): AC_PROG_MKDIR_P falls back on $INSTALL, not
necessarily install-sh.
2006-05-10 23:42:59 +00:00
Paul Eggert
0f696b8be5 * NEWS: New macro AC_PROG__MKDIR_P. AS_MKDIR_P is now more robust.
* config/install-sh: Don't use 'path' to talk about file names,
as per GNU coding standards.  Close a race condition reported by Ralf
Wildenhues and Stepan Kasal.  There is still a race condition
on hosts that predate POSIX 1003.1-1992, but we can't help this.
Don't mishandle weird characters like space on pre-POSIX hosts.
Invoke mkdir at most once per dir arg on pre-POSIX hosts.
* doc/autoconf.texi (Programming in M4sh): Cross-reference to
AC_PROG_MKDIR_P from AS_MKDIR_P.
(Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P
from mkdir.  Mention that Autoconf 2.60 install-sh is safe but
earlier editions are not (including Automake 1.8.3).
Do not suggest mkinstalldirs for thread-safety.
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the
presence of special characters and race conditions.
* tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables
in Autoconf's name space.

* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken
from Automake with minor changes.
* doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P.
2006-05-10 23:05:15 +00:00
Ralf Wildenhues
f3b87aad98 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document
`$*' and IFS concatenation issue with traditional shells and
bash-2.04.  Report by Seanster@Seanster.com.
2006-05-04 07:08:19 +00:00
Paul Eggert
5f047396ae * doc/autoconf.texi (Limitations of Usual Tools): Identify more
precisely which Mac OS X versions have the od problem.
2006-05-03 18:28:56 +00:00
Paul Eggert
28fb17bb76 * doc/autoconf.texi (Integer Overflow):
Mention the special case of integer division overflow.
2006-05-03 01:08:27 +00:00
Paul Eggert
04e292eda5 * doc/autoconf.texi: Use @option systematically. 2006-05-03 00:36:32 +00:00
Paul Eggert
30f1f062e5 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
about 'od'.
2006-05-03 00:30:23 +00:00
Paul Eggert
fe4647b2d0 Fix typo in previous checkin. 2006-05-02 03:20:26 +00:00
Paul Eggert
b5ade1c2b2 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
Mention more problems with the -e option.
2006-05-01 17:35:50 +00:00
Ralf Wildenhues
7a77927133 * NEWS: Typo.
* doc/autoconf.texi (Systemology): Mention the Heirloom Project.
2006-04-30 17:06:13 +00:00
Ralf Wildenhues
9d056f239b * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
in URLs to improve DVI formatted output (requires texinfo 4.6).
(System Services, Systemology, Shellology): Likewise.
(Limitations of Usual Tools): Rewrite Mac OS X example for nicer
output.
2006-04-30 17:05:05 +00:00
Ralf Wildenhues
2775732faa * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
continuous text.
(Runtime): Fix macro argument names to match description:
`action-if-found' -> `action-if-true' and similarly.
(Obsolete Macros): Likewise.
* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
(AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
(AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
2006-04-30 17:04:06 +00:00
Ralf Wildenhues
85cdefd01e * doc/autoconf.texi (Limitations of Make): Clean up markup. 2006-04-29 06:24:23 +00:00
Ralf Wildenhues
42388b3835 * ChangeLog: Typo.
* doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
DVI output.
2006-04-29 06:23:15 +00:00
Ralf Wildenhues
16562b36b8 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
/bin/sh set unsorted output.
* lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
* tests/local.at
2006-04-28 04:17:51 +00:00
Paul Eggert
12f2dd2d7f * doc/autoconf.texi (Portable C and C++, Varities of Unportability):
(Integer Overflow, Null Pointers, Buffer Overruns):
(Floating Point Portability, Exiting Portably): New sections.
(Writing Test Programs): Fix some langauge.  Recommend exiting
with status 1, not merely nonzero.  Clarify exit declaration.
(Run Time): Move C exit status stuff to new Exiting Portably section.
(Systemology): Mention Posix and levenez.  Update v7 reference.
(Portable Shell): Mention the Posix shell.
2006-04-26 20:30:54 +00:00
Paul Eggert
9aed71b2ec Undo many of the recent changes, substituting these instead:
* doc/autoconf.texi (Programming in M4sh): Comment out the
documentation of AS_BASENAME, for now.
(Shell Substitutions): Do not use AS_DIRNAME in an example.
(Limitations of Builtins) <basename>: Do not refer to
AS_BASENAME.
* bin/autoconf.as (me): Don't use AS_BASENAME.
(dir): Remove the unused variable.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
AS_DETECT_REQUIRED.  All uses changed.
(_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
All uses changed.
(_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
(AS_BASENAME): Use "basename --" to protect against leading "-".
(_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
(_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
(_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
(_AS_DIRNAME_PREPARE): Likewise.
(_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
(_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
(AS_DIRNAME): Use "dirname --".
2006-04-24 19:36:01 +00:00
Paul Eggert
a6e40381c6 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
of "run time" and "run-time" changed to "runtime", for consistency.
* lib/autoconf/fortran.m4: Likewise (in comment).
* lib/autoconf/functions.m4: Likewise.
* lib/autoconf/general.m4: Likewise.
* lib/autoconf/headers.m4: Likewise.
2006-04-24 06:51:53 +00:00
Paul Eggert
07a83b434a * doc/autoconf.texi (Run Time): Document the exit status situation
with more accuracy and detail.
2006-04-24 05:54:54 +00:00
Paul Eggert
df797abaf3 * NEWS: Remove mention of AS_VAR_SET_BASENAME and AS_VAR_SET_DIRNAME.
* doc/autoconf.texi (Programming in M4sh): Remove mention of
AS_VAR_SET_BASENAME, AS_VAR_SET_DIRNAME, and AS_BASENAME.
We have to keep AS_DIRNAME since it was part of a stable Autoconf,
but AS_BASENAME doesn't have to be supported.
2006-04-23 08:41:06 +00:00
Ralf Wildenhues
44635be039 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
Archive is not officially `GNU' any more.  Update URL.
(Defining Directories): Likewise
* lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
2006-04-23 07:13:52 +00:00
Paul Eggert
52d54c54e3 * NEWS: Remove AS_DIRNAME and AS_BASENAME, replacing them with
AS_VAR_SET_DIRNAME and AS_VAR_SET_BASENAME.
* doc/autoconf.texi (Programming in M4sh): Document this.  All uses
changed.  The newer interfaces are more reliable, as they allow
implementations that handle trailing newline correctly.  For now,
we're in a freeze, so I did not include the more-reliable
implementations, but I wanted to correct the interface before 2.60
goes out.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
AS_DETECT_REQUIRED.  All uses changed.
(_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
All uses changed.
(_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
(_AS_BASENAME): Renamed from AS_BASENAME.  All uses changed.
Use "basename --" to protect against leading "-".
(_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR.  All uses changed.
(_AS_BASENAME_SED): Renamed from AS_BASENAME_SED.  All uses changed.
(_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
(_AS_DIRNAME_PREPARE): Likewise.
(_AS_DIRNAME): Renamed from AS_DIRNAME.  All uses changed.
(_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR.  All uses changed.
(_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED.  All uses changed.
Use "dirname --".
(AS_VAR_SET_BASENAME, AS_VAR_SET_DIRNAME): New macros.
* tests/m4sh.at (AS_VAR_SET_DIRNAME): Renamed from AS_DIRNAME.
Test the new API.  Don't test internals, since they're probably
going to change anyway.
(AS_VAR_SET_BASENAME): Likewise, renamed from AS_BASENAME.

* bin/autoconf.as: Don't use AS_BASENAME or AS_DIRNAME.  This
removes a bootstrapping problem with the changes described above.
The AS_DIRNAME part wasn't used, anyway, and the AS_BASENAME
part can be done portably without all the deep Autoconf magic.
2006-04-23 06:49:53 +00:00
Paul Eggert
c324410a51 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF. 2006-04-19 07:10:13 +00:00
Ralf Wildenhues
ae4363ca9c Ignore autoconf' and standards'. 2006-04-12 18:56:05 +00:00
Ralf Wildenhues
67fa0de6f4 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
top-level tests after micro-suite has been run.   Used in...
(Debugging a successful test, Debugging script and environment),
(Debugging a failed test): ...these new tests.  The first of these
is fixed by...
* lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
macro, split out from...
(AT_INIT): ...here, so that using -d also generates a run script.
Document that -d inhibits top-level logging.
* doc/autoconf.texi (testsuite Invocation): Document that -d only
inhibits top-level logging; debug scripts are created.
2006-04-11 16:06:40 +00:00
Paul Eggert
18eb7c8e30 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE. 2006-04-10 18:55:27 +00:00
Ralf Wildenhues
16be6790c9 * doc/autoconf.texi: Remove unused words from word list.
* .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
.x-sc_trailing_space: New files.
2006-04-10 18:14:53 +00:00
Ralf Wildenhues
d3a7588793 * doc/standards.texi: Sync from gnulib. 2006-04-10 18:01:47 +00:00
Ralf Wildenhues
bf1cb2ead1 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
`LIBOBJDIR' as experimental.
2006-04-10 17:57:17 +00:00
Paul Eggert
309a01c200 Import macros from gnulib (often changing their name).
* NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
The manual mentions Gnulib more prominently.
* doc/autoconf.texi (Gnulib): New node.
(Pointers): Add Gnulib URL.
(Particular Functions): Alphabetize.  Add AC_FUNC_STRTOLD.
(Generic Functions): Add AC_CHECK_FUNCS_ONCE.  Refer to new
Gnulib section.
(Particular Headers): Add AC_HEADER_ASSERT.  For stdbool.h,
suggest a #define rather than a typedef for _Bool, and mention
Gnulib rather than trying to substitute stdbool code.
(Generic Headers): Add AC_CHECK_HEADERS_ONCE.
(Generic Declarations): Add AC_CHECK_DECLS_ONCE.
(Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
AC_STRUCT_DIRENT_D_TYPE.
(Particular Types): Mention stdint.h and inttypes.h as standard
headers too.
Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T,
AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
(C Compiler): Move AC_C_LONG_DOUBLE to ...
(Obsolete Macros): here.  Under AC_LONG_DOUBLE, mention
AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
(Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
(Coding Style).  Don't mention m4_expand_once.
* lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
AC_TYPE_LONG_DOUBLE_WIDER.  Now obsolete.
* lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
(AC_CHECK_FUNCS): Use it.
(AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
(AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
* lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
* lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
(AC_HEADER_ASSERT): New macro.
(AC_HEADER_STDBOOL): Don't assume "#error" works.
Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
Catch a bug in an HP-UX C compiler.
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
* lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
(AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
(AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
(AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
(_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
New macros.
2006-04-08 21:46:03 +00:00
Stepan Kasal
67b61ef700 Revert my change from 2006-03-17, in other words:
* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
  and DUALCASE=1.
(AS_SHELL_SANITIZE): Remove DUALCASE=1.
* doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
  it is set.
2006-04-07 18:00:55 +00:00
Ralf Wildenhues
67070903a4 * doc/autoconf.texi (Programming in M4sh): Document that
AS_MKDIR_P exits the script on failure.
* lib/autotest/general.m4: Remove redundant AS_ERROR.
2006-04-07 12:33:04 +00:00
Ralf Wildenhues
d53aec7560 * doc/make-stds.texi: Sync from gnulib. 2006-04-06 22:37:19 +00:00
Ralf Wildenhues
d370eb6e4e * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
shell issue with double-quoted command substitutions of native
commands.
Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
Marshall.
2006-04-06 17:51:22 +00:00
Paul Eggert
119f63f545 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
on a patch proposed by Ralf Wildenhues.
2006-04-06 07:58:20 +00:00
Noah Misch
a04993aa1d * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
(AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
* doc/autoconf.texi (Help Formatting): New node.
* NEWS: Announce AC_PRESERVE_HELP_ORDER.
2006-04-05 22:41:36 +00:00
Ralf Wildenhues
b7d9019376 * doc/autoconf.texi (Shell Substitutions): Document ^' vs. |'. 2006-04-05 16:18:20 +00:00
Stepan Kasal
2feb1c09a8 Use the original wording, it was not typo. 2006-04-03 08:06:22 +00:00
Paul Eggert
a71c24a704 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
* doc/autoconf.texi (Function Portability): Mention that C++
has trouble with 'exit'.
(Guidelines): Test programs shouldn't use 'exit'.
* lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
Remove; all uses removed.
(AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
Return from 'main' instead of calling 'exit'.
* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
(_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
(AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
(AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
(AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
(_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
* lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
* tests/compile.at: Likewsie.
2006-04-03 03:18:39 +00:00
Noah Misch
809e269455 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change. 2006-04-02 15:00:40 +00:00
Stepan Kasal
70c31ba6dc autoreconf: impement -vv 2006-04-01 18:09:07 +00:00
Stepan Kasal
552d9e9636 Spelling fixes. 2006-04-01 16:46:39 +00:00
Stepan Kasal
713895ae5c More autoupdate issues. 2006-04-01 15:57:02 +00:00
Paul Eggert
572ffd5b0b * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
of AS_BASENAME and AS_DIRNAME.  Reported by Stepan Kasal.
2006-03-31 18:55:43 +00:00
Paul Eggert
9295c8c723 (Programming in M4sh, Limitations of Usual Tools):
Tighten up the basename/dirname wording.
2006-03-31 06:08:36 +00:00
Ralf Wildenhues
28cc41f69a * Makefile.maint (sc_texi_notab): New check: do not use TABs
in texinfo files outside of verbatim environments.
(syntax-check-rules): Update.
* doc/autoconf.texi (Configuration Headers): Conform to it.
2006-03-30 19:54:08 +00:00
Stepan Kasal
6676554c47 Document that autoreconf doesn't pass -I to aclocal. 2006-03-30 17:37:47 +00:00
Paul Eggert
a597574279 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
Give an example for AS_DIRNAME instead of referring to Posix..
(File System Conventions): Put discussion of // versus / here, and
modernize it a bit.
(Limitations of Usual Tools): Add basename.  Remove verbiage
after dirname, since it got moved to the above sections.
All this was inspired by a patch proposed earlier by Ralf Wildenhues.
2006-03-30 06:42:56 +00:00
Stepan Kasal
de4d0b6bcd typo 2006-03-21 21:51:07 +00:00
Ralf Wildenhues
96aa2c31b2 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
(_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
(AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
(AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
(AC_LANG_BOOL_COMPILE_TRY(Objective C))
(AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
(AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
(_AC_PROG_OBJC_G): New macros.
(_AC_ARG_VAR_CPPFLAGS): Adjusted.
* doc/autoconf.texi (Objective C Compiler): New node.
(Preset Output Variables): Document OBJCFLAGS.
(Language Choice): Document `Objective C' language.
(Fortran Compiler): Fix typo.
* NEWS: Updated.
Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
2006-03-20 20:28:55 +00:00
Stepan Kasal
2ea44d31c2 typos 2006-03-20 14:46:12 +00:00
Stepan Kasal
13324b1dfd Removed BIN_SH=xpg4, moved DUALCASE=1 to AS_SHELL_SANITIZE. 2006-03-17 19:32:53 +00:00
Ralf Wildenhues
2b052b0538 * doc/autoconf.texi (contents): To fix texi2html output, hide
`@setcontentsaftertitlepage' for HTML.
(Writing Autoconf Macros): Likewise, insert space after `@c'.
(Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
`@,{c}'.
2006-03-17 03:59:05 +00:00
Stepan Kasal
4889a3742d Do not use cache vars. 2006-03-15 14:02:36 +00:00
Stepan Kasal
ca608a72f9 Cleaned up documentation for macros in erlang.m4. 2006-03-14 16:55:26 +00:00
Ralf Wildenhues
1e50e55ff9 * doc/autoconf.texi (Special Shell Variables): Missing word.
Reported by Keith Marshall <keith.marshall@total.com>.
2006-03-14 07:19:27 +00:00
Ralf Wildenhues
e1d5a93433 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
`expr' away if there is nothing to do.
< --keywords >: Simplify and robustify argument handling.
Revert erroneous comment from 2005-08-23.  Extend to allow
keyword negation with `!'.
Update help message.  Remove broken code to prevent running
tests multiple times.
* doc/autoconf.texi (testsuite Invocation) < --keywords >:
Update and fix the documentation accordingly.
* tests/autotest.at (Keywords): Renamed to..
(Keywords and ranges): .. this.  Extended to make sure negated
keywords, keywords taken from AT_SETUP arguments, and numeric
test ranges work, and that matching is case-insensitive.
2006-03-12 19:58:31 +00:00
Ralf Wildenhues
608e17bde8 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
example.  Do not emphasize `$%', it is hardly new and special.
Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
2006-03-11 13:15:55 +00:00
Ralf Wildenhues
cd0f024086 * doc/autoconf.texi (Limitations of Usual Tools): Document
OpenBSD and traditional `grep' failure to handle multiple
patterns separated by newlines.
2006-03-11 13:13:47 +00:00
Paul Eggert
0527671a06 * doc/autoconf.texi (several sections): Add documentation for macros
in erlang.m4.
2006-03-11 08:07:31 +00:00
Paul Eggert
abc44c1c57 * doc/autoconf.texi (Obsolete Macros): Fix wording of
AC_TRY_LINK_FUNC.
2006-03-10 20:59:18 +00:00
Paul Eggert
60a9e484c6 * doc/autoconf.texi: Use @acronym more consistently for acronyms
like BSD, GPL, LGPL.  Fix minor English typos.
(AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
Mention that these macros are becoming obsolete.
(AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
Use more modern terminology for which standard is what.
(AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
and to ansi2knr.
(AC_PROG_CXX): Likewise.
(AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
Remove obsolete discussion about how to port to K&R.
(Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
the obsolescent AC_HEADER_STDC.
(AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
can't rely on it.
2006-03-10 20:54:53 +00:00
Ralf Wildenhues
2602ca4aa5 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
HP-UX sed is 99 commands, not 100.
(_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
_AC_SUBST_FILES fragment.  Separate `{' and `r' commands by
newline for portability.
* tests/torture.at (Torturing config.status): Also test 100
AC_SUBST_FILE invocations.  Fix test to actually verify the
AC_CONFIG_FILES output.
* doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
command, label, and read-file `r' limits.  Unify HP-UX spelling.
2006-03-06 22:34:34 +00:00
Ralf Wildenhues
bb44ff85bc * doc/autoconf.texi (Caching Results): Fix the examples to use a
recommended quoting style and discard unwanted output.
2006-03-05 09:09:47 +00:00
Paul Eggert
2e38fe93be * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
(AT_INIT): Use it, to remove arbitrary limit of 999,999 test
cases, and to work around Tru64 expr bug.
* doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
expr bug that turns the result of a regex match into a number if
possible.
2006-03-05 08:29:49 +00:00
Ralf Wildenhues
65b3b33be3 * doc/autoconf.texi (Text processing Macros): New node to
document the m4sugar macros m4_re_escape, m4_tolower,
m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
2006-02-22 20:18:23 +00:00
Ralf Wildenhues
a628e04465 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
test, as in `if tests; then cmd1; elif ...; else ...; fi'.
* doc/autoconf.texi (Programming in M4sh): Adjusted.
* tests/m4sh.at (AS_IF and AS_CASE): Test this.  Also make sure
both macros are defun'ed so that required macros are evaluated
outside.
2006-02-21 09:30:01 +00:00
Ralf Wildenhues
8ff7792b2a * doc/autoconf.texi (Prerequisite Macros): State more precisely
where a required macro will be expanded.
(Coding Style): Another reason not to use `m4_define'.
2006-02-21 09:28:34 +00:00
Ralf Wildenhues
14f61daa3c * doc/autoconf.texi (Looping constructs): New node, to
document m4_for, m4_foreach, m4_foreach_w, and mention
obsolete AC_FOREACH.
(Obsolete Macros): Document AC_FOREACH.
* lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
(m4_for): Fix to never loop (almost) endlessly, work correctly
with arithmetic expressions in arguments, a step of zero or
non-integer multiple of the interval, and avoid integer
overflow.
* tests/m4sugar.at: New test for m4_for, m4_foreach, and
m4_foreach_w.
2006-02-20 21:43:05 +00:00
Paul Eggert
b7484c4c76 Regenerate. 2006-02-20 08:59:37 +00:00
Ralf Wildenhues
cff03cfc50 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
2006-02-20 08:41:53 +00:00
Ralf Wildenhues
6fab15fe41 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
(_AS_CASE): Private helper macro.
* tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
* doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
Fix syntax of AS_IF description
(Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
for the AC_REQUIRE mess.
* NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
AS_SHELL_SANITIZE.
2006-02-15 07:00:29 +00:00
Paul Eggert
cbb28abf85 * doc/autoconf.texi: Minor style cleanup.
Be consistent about spaces after commas.
Insert [] where empty args look a bit funny.
Fix some "i.e." and "e.g." usages.
Try to avoid "X/Y" usages.
Don't be pedantic about "ISO C99"; just say C99.
Prefer GNU style for spaces in front of parens.
(Function Portability): Comment about C89 versus C99
signed integer division.
(Particular Headers): Use current gnulib style for dirent
includes.
2006-02-15 06:42:16 +00:00
Ralf Wildenhues
8d75399149 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
macros without parameters.
* lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
* doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
* tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
`$#' bug.
(autoupdate): Updated to match AU_ALIAS fix.
2006-02-14 23:18:51 +00:00
Paul Eggert
9a0e3a3558 * doc/autoconf.texi (Programming in M4sh): Document
AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
(AS_BOURNE_COMPATIBLE): ..this.
(_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
2006-02-13 18:46:04 +00:00
Paul Eggert
25ca4c3c70 * doc/install.texi (Defining Variables): Tighten up the
CONFIG_SHELL wording.
2006-02-13 07:59:10 +00:00
Ralf Wildenhues
b82b4e96ce * doc/autoconf.texi (Running the Compiler, Running the Linker):
Changes the macro arguments in summaries to match the
descriptions.
2006-02-10 10:32:33 +00:00
Stepan Kasal
32629b44f8 Call the CONFIG_SHELL hint a workaround. 2006-02-04 14:10:46 +00:00
Ralf Wildenhues
8e944069ad * bin/autoreconf.in: New option `--no-recursive'.
Improve wording for subpackages a bit.
* doc/autoconf.texi (autoreconf Invocation): Updated.
* NEWS: Updated.
2006-01-31 12:07:40 +00:00
Ralf Wildenhues
0b9bb6512e * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
in environment of `configure', not the command line.
Reported by Howard Chu <hyc@highlandsun.com>.
2006-01-31 12:03:32 +00:00
Paul Eggert
39569a7d4e * doc/autoconf.texi (Limitations of Builtins): Document the
problem with "trap -".
2006-01-25 22:14:16 +00:00
Stepan Kasal
b3863403ab 2006-01-11 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
	requires sys/stream.h.  Reported by Oliver Kiddle.
2006-01-11 18:17:25 +00:00
Paul Eggert
f292fd9dd5 * Makefile.maint (sc_root_tests): Use recommend style s/a/b/ for
sed substitutions.
* doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
for file names, again.  Reported by Noah Misch.
(Coding Style): Explain that s|a|b| is preferred for file names.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
(AC_OUTPUT_MAKE_DEFS): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
* tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
2006-01-06 00:02:26 +00:00
Paul Eggert
0ee621917a Fix Posix-conformance bugs re use of { command in sed scripts,
and improve the sed-related documentation a bit.
* doc/autoconf.texi (Installation Directory Variables): Use
our own style advice re 's,a,b,' versus 's|a|b|'.  Use "Sed"
rather than "sed" when talking about Sed in general.
(Particular Programs): Likewise.
(Coding Style): y is like s with respect to / and ,.
(Limitations of Usual Tools): Document the weird restrictions
that Posix has about { }.  Use better quoting.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
Rewrite to conform to Posix rules about { } in sed scripts.
* lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
* tests/foreign.at (Libtool): Likewise.
* tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
Use our own style advice re 's,a,b,' versus 's|a|b|'.
2006-01-05 21:43:44 +00:00
Paul Eggert
8bf83c29b9 Update copyright (and other) dates to 2006. 2006-01-04 22:28:37 +00:00
Paul Eggert
25d63b3dc8 (Shellology): Mac OS X 10.2 changed the default
shell from zsh to bash.
2006-01-04 22:26:11 +00:00
Paul Eggert
31fd5d5e0a * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
parentheses in $(...).  Problem reported by Eric Blake.
2005-12-29 21:28:30 +00:00
Paul Eggert
3f00622449 * doc/autoconf.texi (Limitations of Usual Tools):
Mention which characters can be escaped with \ in portable regular
expressions used in grep, sed, expr.  Mention the leading ^ problem
with expr.  Clean up some confusing wording.  Mention which
grep options are portable.
2005-12-12 18:46:50 +00:00
Paul Eggert
b27def5b65 Fix typos in previous patch. 2005-12-02 19:19:23 +00:00
Paul Eggert
599d7e2936 * doc/autoconf.texi (Shellology): Document eval $? problem
with ash.
(Limitations of Builtins): Likewise.
2005-12-01 21:02:40 +00:00
Ralf Wildenhues
fffd9421d8 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
CONFIG_SHELL in the environment of the configure rerun.
* doc/autoconf.texi (Here-Documents, config.status Invocation):
Suggest passing CONFIG_SHELL absolute, and in the environment
rather than as option.
2005-11-10 18:57:58 +00:00
Stepan Kasal
80d82bbbda Document that ${10} is not portable. 2005-10-21 05:46:49 +00:00
Jim Meyering
5db7bd7937 Typo: s/feature/features/ in ``the features of the latter'', in two places. 2005-10-20 07:01:29 +00:00
Paul Eggert
f50d0bd4c7 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
AC_LANG_PROGRAM, fixing a typo.  Don't give details about
the inner workings of AC_LANG_FUNC_LINK_TRY.
* lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
AC_LANG_FUNC_LINK_TRY.  This involves returning the value returned
by the function rather than ignoring it.
(AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
comparing its address.  Intel's interprocedural optimization was
outsmarting the old heuristic.  Problem reported by
Mikulas Patocka.
2005-10-19 22:35:51 +00:00
Stepan Kasal
6d3f3b1995 Add an index entry for AH_HEADER. 2005-09-01 13:49:01 +00:00
Stepan Kasal
0058d8366e Fix the examples for AS_TR_CPP and AS_TR_SH. 2005-08-26 16:12:21 +00:00
Paul Eggert
7753b867c0 Regenerate. 2005-08-25 21:33:19 +00:00
Stepan Kasal
9b3a6b5e1d Implement AH_HEADER 2005-08-23 08:50:54 +00:00
Noah Misch
24396108a6 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
(Autotest Logs, Writing testsuite.at, testsuite Invocation):
Language cleanup.

* doc/autoconf.texi (Defining Symbols, Changed Results):
Prepend to LIBS, not append, in examples.
2005-08-21 18:40:45 +00:00
Paul Eggert
7d9430d8b1 * NEWS: New macro AC_C_TYPEOF.
* doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
* lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
* tests/c.at (C keywords): Test AC_C_TYPEOF.
2005-07-06 21:39:30 +00:00
Stepan Kasal
65d032086c Change the explanation about #include <config.h>. 2005-07-01 05:55:41 +00:00
Stepan Kasal
4ee05f5044 minor rewording 2005-06-30 12:55:46 +00:00
Stepan Kasal
acfaed3aff Mention Gnulib. 2005-06-30 12:29:19 +00:00
Stepan Kasal
425048cf51 Use #!/, without space. 2005-06-29 10:47:38 +00:00
Stepan Kasal
8b91927a02 ksh looses redirections on exec 2005-06-29 10:36:04 +00:00
Derek Price
a8a6a41553 * doc/autoconf.texi (Limitations of Usual Tools <sed>): Reword recent
addition.
2005-06-28 13:08:29 +00:00
Paul Eggert
8bf5f56cf9 * doc/autoconf.texi (Subdirectories): Fix markup typos. 2005-06-24 00:54:00 +00:00
Paul Eggert
124c037f3d Regenerate. 2005-06-23 20:11:18 +00:00
Stepan Kasal
91ac8c668f fix AT_CONFIG_CMP 2005-06-22 12:13:59 +00:00
Stepan Kasal
79539e6fbf No blanks after sed command ":" and other minor fixes. 2005-06-21 16:03:58 +00:00
Paul Eggert
f149ecd2b8 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
* doc/autoconf.texi:
Don't mention Solaris versions so much, if a
problem is common to all extant versions of Solaris.  Say "SunOS
4" instead of "SunOS" for SunOS 4.
(awk): Mention more of the limitations of traditional Awk.
(cat): Don't talk about cat -v.
2005-06-17 20:37:36 +00:00
Paul Eggert
7a2fe7a963 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
on Mac OS X 10.4 reported by Peter O'Gorman in:
http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
Use shell builtins rather than 'expr', to work around expr bug.
2005-06-16 07:24:42 +00:00
Paul Eggert
9cafea1a75 Use ":label" rather than ": label" for sed scripts,
as Posix suggests.
2005-06-11 07:01:37 +00:00
Paul Eggert
2fb1b97ad0 * doc/autoconf.texi: "filesystem" -> "file system".
"behavior" -> "behavior".
Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
* lib/autoconf/general.m4: Omit blank after ":" sed command,
as per POSIX.
* lib/m4sugar/m4sh.m4: Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
with Solaris sed.  Fix by Stepan Kasal.
2005-06-11 06:05:11 +00:00
Derek Price
647d972332 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
AS_TR_SH.
2005-06-10 15:42:42 +00:00
Paul Eggert
85084d669a Fix texinfo typo in my previous change. 2005-06-08 20:27:20 +00:00
Derek Price
3a69199220 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
redefined M4 macros to this node.  Document m4_include & m4_sinclude.
Move m4_undefine to alphabetical order.
2005-06-08 15:44:09 +00:00
Paul Eggert
45ee5fe26b * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
Tru64 ksh pattern matching bug.  Reported against Libtool by
Albert Chin <libtool@mlists.thewrittenword.com> and
Nicolas Joly <njoly@pasteur.fr>.
2005-06-08 07:55:28 +00:00