Noah Misch
aa643c7ef8
* lib/autotest/general.m4 (AT_INIT): Handle absolute `srcdir'.
...
* tests/autotest.at (srcdir propagation): Test absolute `srcdir' and
`srcdir' as subdirectory of `builddir'.
2007-06-19 19:49:05 +00:00
Noah Misch
fdb749cd8a
* lib/autotest/general.m4 (AT_INIT): Compute $srcdir correctly.
...
* tests/autotest.at (srcdir propagation): New test.
* THANKS: Update.
Reported by Mike Frysinger.
2007-06-14 01:32:28 +00:00
Paul Eggert
4f0bfe866d
Regenerate.
2007-06-13 17:32:36 +00:00
Paul Eggert
48656aea07
* lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Set FPATH too.
...
Problem reported by Fred Kreek in
<http://lists.gnu.org/archive/html/bug-autoconf/2007-06/msg00009.html >.
* doc/autoconf.texi (Special Shell Variables): Warn about FPATH.
(Macro Names, Defining Directories): Don't mention PATH as a name
for a fully qualified file name, as this usage violates the GNU
coding standards and we shouldn't recommend it.
* lib/autotest/general.m4 (AT_INIT): Don't set PATH to the empty
string and then assume shell builtins like "test" will work.
2007-06-13 16:52:24 +00:00
Noah Misch
e7f613e8a8
* lib/autoconf/general.m4 (AC_SUBST): Raise a fatal error if VARIABLE is
...
not a valid shell variable name.
* tests/mktests.sh (ac_exclude_list): Add AC_ARG_VAR.
* tests/torture.at (AC_SUBST: variable name validation): New test.
Reported by Andreas Schwab.
2007-06-12 11:36:56 +00:00
Noah Misch
77ad2865a2
* doc/autoconf.texi (AC_F77_MAIN): Give a specific usage example that
...
works with both C and C++.
2007-06-04 22:49:41 +00:00
Noah Misch
b336c6f28f
* lib/autoconf/c.m4 (AC_OPENMP): Use a simple loop instead of compiler
...
brand tests.
2007-06-04 03:16:36 +00:00
Paul Eggert
f833ad61af
Fix typo in previous checkin.
2007-05-31 19:36:57 +00:00
Paul Eggert
a3f4e9eb1a
* doc/autoconf.texi (Particular Types): Give example of use for
...
AC_TYPE_UINT8_T.
2007-05-31 19:35:45 +00:00
Stepan Kasal
29c932691f
* lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Fix a typo.
2007-05-29 11:46:29 +00:00
Paul Eggert
2f7eaa0d65
* doc/autoconf.texi (Particular Types): AC_TYPE_INT8_T does not
...
define HAVE_INT8_T, and likewise for similar macros.
Problem reported by Patrick Welche in
<http://lists.gnu.org/archive/html/autoconf/2007-05/msg00062.html >.
2007-05-29 05:36:28 +00:00
Paul Eggert
ea2524de94
Regenerate.
2007-05-27 23:21:06 +00:00
Paul Eggert
a02d3c111e
* bin/Makefile.am ($(top_builddir)/bin/autom4te): New dependency.
2007-05-25 22:52:12 +00:00
Paul Eggert
12bfe452a5
* lib/autoconf/c.m4 (AC_OPENMP): Don't echo --enable-openmp
...
choice, since that's what we do with --enable-largefile etc.
Redo indenting and assignments to simplify things a bit, and make
the parens work with Emacs.
2007-05-21 23:10:09 +00:00
Paul Eggert
21dded8066
* doc/autoconf.texi (Generic Compiler Characteristics): Fix typo
...
in my previous change: AC_C_OPENMP -> AC_OPENMP. Reported by Bruno
Haible.
2007-05-21 22:42:12 +00:00
Noah Misch
8593af460c
* lib/autoconf/c.m4 (AC_OPENMP): Simplify use of AC_ARG_ENABLE.
...
* tests/local.at (AT_CHECK_ENV): Exempt OPENMP_CFLAGS.
2007-05-21 22:31:18 +00:00
Paul Eggert
19a9b3c937
* NEWS: Rename AC_C_OPENMP to AC_OPENMP.
...
* lib/autoconf/c.m4 (AC_OPENMP): Renamed from AC_C_OPENMP.
* doc/autoconf.texi (Generic Compiler Characteristics): Move
renamed AC_OPENMP documentation here, from "C compiler".
Mention C++ and Fortran.
* NEWS: Mention AC_C_OPENMP.
2007-05-21 17:50:57 +00:00
Paul Eggert
c31d039a4e
* doc/autoconf.texi (C Compiler): Tweak OpenMP documentation a bit.
...
2007-05-21 Bruno Haible <bruno@clisp.org>
* lib/autoconf/c.m4 (AC_C_OPENMP): New macro.
* doc/autoconf.texi (C Compiler): Document AC_C_OPENMP.
* NEWS: Mention AC_C_OPENMP.
2007-05-21 17:39:09 +00:00
Ralf Wildenhues
08c188963a
* bin/autom4te.in: Fix typos.
2007-05-17 08:20:31 +00:00
Noah Misch
d95fafd9bf
* bin/autoconf.as: Handle `-' just like other input files.
...
* bin/autom4te.in (parse_args): Pass `-' through.
(handle_output): Skip the forbidden token search if we read from stdin.
(up_to_date): Always treat stdin as out of date.
* tests/tools.at (autoconf: input from stdin): New test.
(autoconf: forbidden tokens, basic): Check a second `autoconf' run.
2007-05-17 02:43:12 +00:00
Stepan Kasal
1075b52a96
* tests/foreign.at tests/semantics.at, tests/tools.at: Remove
...
parameters for AT_CLEANUP.
* tests/local.at (AT_CHECK_AU_MACRO): Likewise.
2007-05-16 09:42:25 +00:00
Paul Eggert
d15e584f46
* NEWS: Document that AC_C_RESTRICT checks 'restrict' last.
...
* doc/autoconf.texi (C Compiler): Likewise.
2007-05-14 Noah Misch <noah@cs.caltech.edu>
* lib/autoconf/c.m4 (AC_C_RESTRICT): Check `restrict' last.
* doc/autoconf.texi (Caching Results): The CACHE-ID variable
2007-05-14 16:54:55 +00:00
Stepan Kasal
8c07b48727
* doc/autoconf.texi: Direntry for "autoconf Invocation"
...
renamed to "autoconf-invocation"
2007-05-09 11:40:27 +00:00
Stepan Kasal
02965a6b0e
* doc/autoconf.texi (Caching Results): The CACHE-ID variable
...
in the examples should not use the internal "ac_" prefix.
2007-05-09 10:38:23 +00:00
Noah Misch
9492c4ce65
* lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): Use `eval'.
...
* doc/autoconf.texi ($@, case): Document Zsh limitations.
2007-05-07 19:56:56 +00:00
Paul Eggert
18d78d3a55
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Put a.out first.
...
Reorganize the comments before and in the macro.
2007-05-03 17:23:39 +00:00
Stepan Kasal
4e11a505ac
* lib/autoconf/lang.m4, lib/autoconf/c.m4,
...
lib/autoconf/fortran.m4, lib/autoconf/erlang.m4: Cleanup of
section titles and other comments; no code change.
2007-05-03 14:47:12 +00:00
Paul Eggert
e0c30d64b4
* doc/autoconf.texi (Particular Programs): Typo
...
@acindex{AC_PROG_MKDIR_P} shouldn't have "AC" in that call.
2007-05-02 02:21:23 +00:00
Paul Eggert
43e384db53
Fix typo in previous message.
2007-04-30 17:11:50 +00:00
Paul Eggert
e53160abef
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
...
'configure' will fail if the shell lacks proper support for shell
functions. Suggested by RMS.
2007-04-30 17:08:07 +00:00
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