Commit Graph

5023 Commits

Author SHA1 Message Date
Paul Eggert
38e5e0818e * doc/autoconf.texi (Limitations of Builtins): Correct the warning
about Solaris /bin/printf '%010000x' 123.  Problem reported by
Bruno Haible.
2007-04-29 08:22:04 +00:00
Paul Eggert
cadaf30a72 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't look
for a.* when searching for executables, as this prevents users
from having files like a.c.  Problem reported by Ralf Wildenhues in:
http://lists.gnu.org/archive/html/autoconf-patches/2007-04/msg00029.html
This fixes a problem introduced on 2000-12-19.
2007-04-29 05:50:27 +00:00
Paul Eggert
c470a65ca3 * doc/autoconf.texi (Limitations of Builtins): Warn about Solaris
/bin/printf '%010000x' 123.  Problem reported by Arto C. Nirkko
via Bruno Haible.
2007-04-26 19:50:46 +00:00
Paul Eggert
4ccb447218 * NEWS: Document recent changes to AC_CHECK_ALIGNOF, AC_CHECK_SIZEOF,
AC_CHECK_TYPE, AC_CHECK_TYPES.
* doc/autoconf.texi (Generic types): C types must be type-names
(the C terminology), not type-ids (the C++ term).  C++ types
must not be anonymous.
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Remove special case
for C++; this drops support for anonymous struct and union types,
which were problematic anyway.
* tests/semantics.at (AC_CHECK_HEADERS_NEW): Adjust test to work even
for C++.
2007-04-13 07:52:57 +00:00
Jim Meyering
ea9f58330b * doc/autoconf.texi (Libraries): Typo fix: insert missing "in". 2007-04-12 19:41:03 +00:00
Ralf Wildenhues
d09b879309 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Fix AC_CONFIG_LINKS
to prefer a link source from the build tree, if it exists.
Report by Pallav Gupta <pallavgupta@gmail.com>.
2007-04-12 05:39:00 +00:00
Paul Eggert
fb82e1a122 * doc/autoconf.texi (Generic Types): Document the restrictions
on types imposed by AC_CHECK_TYPE, AC_CHECK_TYPES.
(Generic Compiler Characteristics): AC_CHECK_SIZEOF now works
with objects too.  Document the restrictions on its use.
Document the restrictions on AC_CHECK_ALIGNOF's type argument.
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW):
For C, just try sizeof (TYPE) and sizeof ((TYPE)); if the former
works but the latter doesn't, then it's a valid type.
This lets people use function types and so forth.
For C++ there doesn't seem to be a simple solution, so leave it alone.
(AC_CHECK_SIZEOF): Allow argument to be a variable.
(AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Don't bother to invoke
AC_CHECK_TYPE; that wasn't documented or necessary.
2007-04-12 00:12:06 +00:00
Paul Eggert
3d917d1923 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Skip AS_TEST_X
when cross-compiling.

2007-04-11  Stepan Kasal  <kasal@ucw.cz>
2007-04-11 17:32:27 +00:00
Stepan Kasal
02452ea7e0 * doc/autoconf.texi (External Software): Fix a typo in the
previous change.
2007-04-11 17:15:36 +00:00
Ralf Wildenhues
6acc1e3af7 * doc/autoconf.texi (External Software, Package Options):
Fix ambiguous wording.  Report by Reuben Thomas <rrt@sc3d.org>.
2007-04-11 03:50:11 +00:00
Paul Eggert
6a469a7964 Say who suggested it. 2007-04-07 05:55:37 +00:00
Paul Eggert
f944fa8e91 * doc/autoconf.texi (Particular Types): AC_C_LONG_DOUBLE is now
obsolescent.
* NEWS: Document this.
2007-04-07 05:54:25 +00:00
Paul Eggert
da7c7673c8 * doc/autoconf.texi (Here-Documents, Limitations of Builtins):
(Limitations of Usual Tools): Don't say "older" if Solaris 10 by
default still has the problem.  Problem reported by Bruce Korb.
2007-03-29 22:25:17 +00:00
Stepan Kasal
a48a8158f2 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix a
comment in the generated config.status.
2007-03-28 19:16:30 +00:00
Stepan Kasal
c2b51bf315 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Update comment. 2007-03-27 12:58:17 +00:00
Paul Eggert
b0fd59a2a7 * doc/autoconf.texi (Shellology): Rework treatment of the 'test'
command and case statements to make it a bit clearer and describe
more pitfalls.
2007-03-26 20:19:23 +00:00
Paul Eggert
83c9a63e19 * doc/autoconf.texi (C Compiler): Mention that AC_PROG_CC_C99 also
checks for unsigned long long int.
2007-03-23 14:53:18 +00:00
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
Stepan Kasal
cc3cf17c22 Replace the entry for my 2007-01-15 change by the right one. 2007-03-09 19:42:09 +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
3b878cdaef Regenerate. 2007-03-01 00:19:57 +00:00
Paul Eggert
b99a9b898d * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Fix typo "__LITLE_ENDIAN__".
Problem reported by Paolo Bonzini in:
http://lists.gnu.org/archive/html/autoconf-patches/2007-02/msg00024.html
* tests/semantics.at (AC_C_BIGENDIAN): Don't reject hosts that have
universal binaries.  Problem reported by Elias Pipping.
2007-03-01 00:18:28 +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
Eric Blake
74416a3598 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Update
copyright.
* lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
(_AT_DECIDE_TRACEABLE): Fix syntax highlighting.
2007-02-24 21:48:24 +00:00
Ralf Wildenhues
b76181e460 * lib/autotest/general.m4 (AT_INIT): With --clean, return exit
status of rm so we know when it failed.
If cleaning of test dir failed before running the test, warn.
Output the line separator in verbose mode before the warning
to make clear the warning belongs to the following test.
2007-02-13 06:22:45 +00:00
Ralf Wildenhues
735a7ff4bd Regenerate. 2007-02-11 17:26:01 +00:00
Paul Eggert
6ca599819c * doc/autoconf.texi (Parentheses): Mention problem with (( in
shells.
2007-02-08 23:42:46 +00:00
Paul Eggert
039348cde8 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Fix quoting
errors introduced in last change.
2007-02-08 04:26:44 +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
Ralf Wildenhues
c538d56624 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Redirect
input from /dev/null in awk test, so even Solaris /usr/bin/awk
will not wait for input with a script containing only a BEGIN
rule.
2007-02-06 18:52:33 +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
Eric Blake
69152e8a8a * NEWS: Update copyright. 2007-02-02 14:11:43 +00:00
Eric Blake
b6386a5ae7 * m4/m4.m4 (AC_PROG_GNU_M4): Reject M4 1.4 through 1.4.4 as
broken.
* configure.ac: Update error message.
* NEWS: Note that M4 1.4.5 or later is now a hard dependency.
Reported by Gary Vaughan and Jim Meyering, and problem analyzed
by Stepan Kasal:
http://lists.gnu.org/archive/html/bug-autoconf/2006-11/msg00025.html
2007-02-02 14:07:38 +00:00
Eric Blake
82bce5064f * THANKS (people): Update. 2007-01-31 23:49:25 +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
d9b0257f67 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Also
AC_SUBST([MKDIR_P]), so that Automake < 1.10 will pick up its
trace, if a package uses AC_PROG_MKDIR_P explicitly.  The actual
substitution will still be done by the special code.
Report by Jim Meyering.
2007-01-23 18:54:37 +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
32d25b894b Regenerate. 2007-01-19 06:55:05 +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
53c3cb4d02 Regenerate. 2007-01-11 21:17:43 +00:00
Ralf Wildenhues
af97d7255d * lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
early on the reader side, drop stderr of the input to avoid
`broken pipe' error output; this may happen even with shell
builtin `echo' of some bash versions.  Reports by Ian Macdonald
<iamacdo@telkomsa.net> and Sam Sexton <Sam.Sexton@reuters.com>.
2007-01-11 21:17:37 +00:00
Ralf Wildenhues
084610c20d Regenerate. 2007-01-10 18:00:03 +00:00
Ralf Wildenhues
a7454f4e4e * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Use newlines to
separate items of `ac_user_opts', to avoid long lines.
(_AC_INIT_PARSE_ENABLE2, _AC_ENABLE_IF_ACTION): Adjust.
2007-01-10 17:59:57 +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
Eric Blake
c78eaa47a9 * bin/Makefile.am (RELEASE_YEAR): New macro.
(edit): Use it to supply correct copyright year to scripts.
* bin/autoconf.as (version): Use it.
* 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.
2007-01-04 16:43:06 +00:00