Commit Graph

5082 Commits

Author SHA1 Message Date
Eric Blake
3be109e22d Editing eye-candy.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Restore
font-lock balance.
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Likewise.
* configure: Regenerate.
2007-09-13 21:51:19 +00:00
Eric Blake
01b1013546 Clean up 'make dist' of previous patch.
* tests/Makefile.am (EXTRA_DIST): Distribute mktests.stamp.
(CLEANFILES): Don't clean the stamp, since we distribute the
generated files pre-built.
(MAINTAINERCLEANFILES): Clean it here instead.
* tests/Makefile.in: Regenerate.
2007-09-13 20:39:33 +00:00
Eric Blake
f58a63325c Avoid parallel 'make check' issue.
* tests/Makefile.am (mktests.stamp): New witness.
(TESTSUITE_GENERATED_AT): Use it.
(CLEANFILES): Clean the witness.
* tests/.cvsignore (mktests.stamp): Ignore the witness.
2007-09-13 19:59:18 +00:00
Eric Blake
097669a284 Document another awk pitfall.
* doc/autoconf.texi (Limitations of Usual Tools) <awk>: Document
limitation of field variables in END.
Reported by Gary V. Vaughan.
2007-09-13 16:50:38 +00:00
Eric Blake
26073149c1 * AUTHORS: Add missing entries. 2007-09-13 14:13:13 +00:00
Eric Blake
b6ef3cc579 Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION.
* doc/autoconf.texi (Text processing Macros): Document
m4_version_compare, m4_AUTOCONF_VERSION, m4_PACKAGE_VERSION.
(Redefined M4 Macros): Document m4_ifndef.
* lib/m4sugar/m4sugar.m4 (m4_AUTOCONF_VERSION): New macro; we
can't obsolete m4_PACKAGE_VERSION at this time since Autoconf 1.10
used it while it was undocumented.
* NEWS: Document this change.
* lib/m4sugar/Makefile.am (version.m4): Update copyright dates.
* lib/m4sugar/Makefile.in: Regenerate.
* tests/m4sugar.at (m4@&t@_version_compare): New test.
Reported by Bruno Haible.
2007-09-13 03:21:18 +00:00
Eric Blake
89b411a893 * doc/autoconf.texi (Generic Compiler Characteristics): Add
missing index entries.
2007-09-13 02:35:41 +00:00
Eric Blake
6add6e92a6 Centralize all system extensions checks.
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
from AC_AIX, AC_GNU_SOURCE, AC_MINIX.  Add Interix support.
(AC_AIX, AC_GNU_SOURCE, AC_MINIX): Obsolete, and point to
AC_USE_SYSTEM_EXTENSIONS.
(AC_ISC_POSIX): Obsolete, and point to AC_SEARCH_LIBS.
(AC_XENIX_DIR, AC_IRIX_SUN): Promote proper quoting in AU_DEFUN.
* doc/autoconf.texi (Posix Variants): Reword this section,
emphasizing that AC_USE_SYSTEM_EXTENSIONS is the preferred method,
rather than a series of system-specific checks.
(Obsolete Macros): Add AC_AIX, AC_GNU_SOURCE, AC_ISC_POSIX,
AC_MINIX.
* NEWS: Document this change.
* THANKS: Update.
Reported by Martin Koeppe.
2007-09-11 17:13:13 +00:00
Eric Blake
1579d78cda Clean up obsolete macros references.
* doc/autoconf.texi: Add anchors to support better
cross-referencing.
(Particular Structures): Move obsolete macros descriptions...
(External Software): Likewise.
(Package Options): Likewise.
(Obsolete Macros): ...to here.  Add cross-references to
documentation on replacements.
* NEWS: Mention that these macros have been obsolete for a while
now: AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH AC_ENABLE.
2007-09-08 21:47:37 +00:00
Eric Blake
f3aee13bfa Improve M4 path searching during configure.
* lib/autoconf/programs.m4 (AC_PATH_PROGS_FEATURE_CHECK): New
macro.
(_AC_PATH_PROG_FEATURE_CHECK): Rename...
(_AC_PATH_PROGS_FEATURE_CHECK): ...to this, add defaulted action
parameter, and kill side effects.
(_AC_PROG_GREP, AC_PROG_SED): Adjust callers.
(_AC_FEATURE_CHECK_LENGTH): Kill extra whitespace.
* m4/m4.m4 (AC_PROG_GNU_M4): Don't stop searching until working m4
is found.
(AC_PATH_PROGS_FEATURE_CHECK): Add backwards compatibility hack to
allow bootstrapping with autoconf 2.61.
* configure.ac (M4): AC_PROG_GNU_M4 now exits on failure.
* configure: Regenerate.
* doc/autoconf.texi (Generic Programs): Document new macro.
* tests/mktests.sh (au_exclude_script): Exclude auto-testing new
macro.
* tests/semantics.at (AC_PATH_PROGS_FEATURE_CHECK): New test.
* NEWS: Document the change.
* THANKS: Update.
Reported by Hans Aberg.
2007-09-08 14:48:49 +00:00
Eric Blake
5b84fb1716 * doc/autoconf.texi (Generic Programs): Fix typo. 2007-09-08 14:16:58 +00:00
Eric Blake
13a845e2a2 * doc/autoconf.texi (Generic Programs): Use $PATH_SEPARATOR, not
:, and make it clear that optional @var{path} defaults to $PATH.
(Erlang Compiler and Interpreter): Likewise.
2007-09-06 23:21:45 +00:00
Eric Blake
ea0d496c21 Texinfo cleanup.
* doc/autoconf.texi: Avoid lines > 80 columns when possible.
Reword some paragraphs to avoid overfull, underfull hbox
warnings.  Add index entries to avoid overfull vbox warnings.
2007-09-06 15:43:58 +00:00
Eric Blake
6f07a68ee3 * NEWS: Adjust wording for AC_CONFIG_LINKS.
Reported by Ralf Wildenhues.
2007-09-05 21:46:29 +00:00
Eric Blake
7ea5d50ec0 * NEWS: Document fixes that have been applied since 2.61a. 2007-09-03 22:16:12 +00:00
Eric Blake
afe4515438 Housekeeping.
* THANKS: Update, and convert to UTF-8 encoding.
* AUTHORS: Likewise.
2007-09-03 21:49:28 +00:00
Ralf Wildenhues
ef81904136 * lib/autoconf/general.m4 (AC_SITE_LOAD): Guard against file
names beginning with `-' again.
2007-08-23 18:36:06 +00:00
Ralf Wildenhues
4bda609982 * doc/autoconf.texi (Defining Directories): Mention
AM_CPPFLAGS, as the way to modify CPPFLAGS when using Automake.
2007-08-22 05:00:47 +00:00
Ralf Wildenhues
673d7738a4 * lib/autoconf/general.m4 (AC_SITE_LOAD): Do not overwrite "$@"
here, this macro is expanded by AC_INIT.  Fixes 2.60 regression.
* tests/base.at (configure arguments): New test.
* THANKS: Update.
Report by Olaf Lenz.
2007-08-21 20:23:16 +00:00
Ralf Wildenhues
220d051d92 * lib/autoconf/general.m4 (_AC_ENABLE_IF): Expand macro
arguments in comment.
Report by Vincent Torri <vtorri at univ minus evry dot fr>.
2007-08-21 17:32:39 +00:00
Ralf Wildenhues
dac68acaee * doc/autoconf.texi (File System Conventions): Index the proper
way of detecting absolute file names.
2007-08-20 21:29:36 +00:00
Ralf Wildenhues
891dc3af63 * build-aux/config.guess, build-aux/config.sub,
build-aux/elisp-comp, build-aux/install-sh, build-aux/mdate-sh,
build-aux/missing, build-aux/texinfo.tex, doc/fdl.texi,
doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
* doc/autoconf.texi (GNU Free Documentation License): Adjust for
sectioning change in fdl.texi.
2007-08-20 21:23:37 +00:00
Ralf Wildenhues
ff8db57440 * bin/autoconf.as: Update --version output to match current GCS.
* bin/autoheader.in: Likewise.
* bin/autom4te.in: Likewise.
* bin/autoreconf.in: Likewise.
* bin/autoscan.in: Likewise.
* bin/autoupdate.in: Likewise.
* bin/ifnames.in: Likewise.
2007-08-20 21:12:33 +00:00
Ralf Wildenhues
acb069f9d2 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK): Do not try to link a
file to itself if source and build trees coincide.
* tests/torture.at (AC_CONFIG_LINKS and identical files): New
test.
Report by Sebastian Freundt <hroptatyr@gna.org>.
2007-08-18 09:07:20 +00:00
Paul Eggert
b411b77358 Reword the copyright notices to match what's suggested in GPLv3. 2007-07-20 23:11:49 +00:00
Paul Eggert
96a2e9b0e1 Grant more permissions to copying, as per the usual GNU standard these
days for ChangeLog files.
2007-07-20 23:11:23 +00:00
Paul Eggert
c8552a588c * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
limitation reported by Leo Moisio in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
2007-07-13 17:38:13 +00:00
Paul Eggert
f448ac9647 Update to GPLv3. 2007-07-03 20:28:58 +00:00
Paul Eggert
63c2746598 * doc/autoconf.texi (Limitations of Usual Tools): sed -e ''
fails on AIX 5.3.
2007-06-26 17:42:27 +00:00
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