Commit Graph

714 Commits

Author SHA1 Message Date
Steven G. Johnson
577c69561b slight change suggested by Alexandre Oliva 2001-04-24 23:44:09 +00:00
Steven G. Johnson
3ef461c66f added chapter: The GNU build system 2001-04-24 17:23:26 +00:00
Steven G. Johnson
fb3e27e1a2 Replace documentation for obsolete AC_LIBOBJ_DECL with clearer
documentation for AC_LIBSOURCE and AC_LIBSOURCES, improving the
AC_LIBOBJ docs as well.
2001-04-18 04:26:08 +00:00
Steven G. Johnson
21fa69cf75 Fixes for punctuation and grammar.. Replace "..." with "@dots{}"
except when "..." is in literal code.
2001-04-17 16:02:57 +00:00
Steven G. Johnson
bdf2267cb1 Still more minor modifications for clarity, felicity, and grammar. 2001-04-13 15:09:49 +00:00
Steven G. Johnson
304bc71471 Mention C++ as well as C. In the example, don't #ifdef F77_FUNC
before using it, as that would push any errors to link-time rather
than compile-time; note that the user can test this to invoke
alternative behavior.
2001-04-12 02:59:07 +00:00
Akim Demaille
48ecaeea39 * autoconf.sh (Task script): Be sure that `forbidden.rx' and
`allowed.rx' exist when AWK loads then.
Reported by Rainer Orth.
2001-04-11 16:29:14 +00:00
Lars J. Aas
236dddbd7f FSF header updates 2001-04-11 15:15:20 +00:00
Steven G. Johnson
107d7290bb A few more minor modifications for clarity, grammar, and formatting. 2001-04-11 14:20:13 +00:00
Steven G. Johnson
8656f8c4e6 Replace all tab characters with (8) spaces, lest the formatting of
example code, etcetera, be messed up.
2001-04-10 03:33:26 +00:00
Steven G. Johnson
713a751d87 Rephrase various parts for clarity, felicity, and/or grammar. 2001-04-10 03:28:41 +00:00
Steven G. Johnson
3f8b967ef8 Clean up cache documentation: Document --config-cache/-C option, and
recommend instead of --cache-file.  Indent example AC_CACHE_VAL macros
for clarity.  Add new "Cache Checkpointing" section for AC_CACHE_SAVE
(and AC_CACHE_LOAD), so that the "Cache Files" section focuses solely
on features visible to end-users (e.g. to better fit the cross
references).  Various minor rewordings for clarity, felicity, and/or
grammar.
2001-04-10 03:24:34 +00:00
Steven G. Johnson
a56c6afbc5 Revert to "configure.in" in the history, since
"configure.ac" wasn't used in the past, and in any case it is
probably a good idea to preserve this section verbatim.
2001-04-10 03:17:30 +00:00
Akim Demaille
a50e90e712 * doc/autoconf.texi: Use "invalid" instead of "illegal," as
suggested by the GNU coding standards.
2001-03-30 12:50:29 +00:00
Akim Demaille
73c36c1b77 * doc/autoconf.texi: Minor tweaks. 2001-03-27 12:03:51 +00:00
Akim Demaille
a13d60e28b * doc/autoconf.texi (Limitations of Usual Tools): Some about
`touch'.
From Jim Meyering, Volker Borchert, and Peter Eisentraut.
2001-03-20 16:45:32 +00:00
Akim Demaille
60d7c0d0ee * doc/autoconf.texi: A couple of grammatical tweaks. 2001-03-20 10:40:19 +00:00
Akim Demaille
848752c32f * acfunctions.m4 (AC_FUNC_STRERROR_R): Update to
fileutils-4.0.42's.
2001-03-19 11:22:10 +00:00
Akim Demaille
7862e20827 * doc/autoconf.texi: Expand section on DOS issues.
Add link to the `doschk' package.  Fix minor typo.
Clean up white spaces.
2001-03-13 12:34:49 +00:00
Akim Demaille
52b83bcc4b Update. 2001-03-08 16:31:32 +00:00
Akim Demaille
9c1db6a872 Missing maindex, from Enrique Robledo Arnuncio. 2001-02-26 14:37:24 +00:00
Akim Demaille
ccd6ec2a20 * doc/autoconf.texi: Typos and formatting changes. 2001-02-22 18:01:32 +00:00
Akim Demaille
effd5f84fa * doc/autoconf.texi: Add new node discussing issues related to
file systems (DOS, specifically). Document DJGPP's bash's special
handling of $PATH_SEPARATOR.
2001-02-21 09:41:03 +00:00
Akim Demaille
f2cdbc6f5e Typo. 2001-02-05 16:36:11 +00:00
Akim Demaille
b8d698ca1d The recent addition of `exit's prototype in confdefs.h causes
AC_OUTPUT_MAKE_DEFS to include junky -D switches.
Reported by Wolfgang Mueller.
* tests/torture.at (#define header templates): Include trash in
confdefs.h.
* tests/atgeneral.at (AT_INIT): Don't expect `find' to support
-maxdepth, hence don't use -follow either.
Reported by Nicolas Joly.
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS) <confdef2opt.sed>: In the
`quote' section, `p'rint the result.
If neither `#define' pattern match, just call `d' to start a new
cycle.
Call this sed program with -n.
2001-01-30 19:29:38 +00:00
Pavel Roskin
9f999a6c43 Don't use filenames that can be reduced to "conftest" on DOS.
* acfunctions.m4 (AC_FUNC_MMAP): Use conftest.mmap, not
conftestmmap.
(AC_FUNC_UTIME_NULL): Use conftest.data, not conftestdata.
* acspecific.m4 (AC_PROG_MAKE_SET): Use conftest.make, not
conftestmake.
(_AC_PATH_X_XMKMF): Use conftest.dir, not conftestdir.
* acgeneral.m4 (AC_ARG_PROGRAM): Use conftest.sed, not
conftestsed.
* m4/sanity.m4: Use conftest.file, not conftestfile.
* doc/autoconf.texi (Guidelines for Test Programs): Suggest
using conftest.data, not conftestdata.
2001-01-29 22:36:09 +00:00
Akim Demaille
de7bbeb9f4 * m4sh.m4 (_AS_TEST_PREPARE): Discard output when testing `test
-x' and `test -f' to avoid confusing users with error messages.
(AS_MKDIR_P): Invert order of separators in IFS to avoid problem
with some shells adding backslash between fields and parsing the
result for escapes.
* doc/autoconf.texi (Special Shell Variables): Document IFS.
2001-01-29 15:24:10 +00:00
Akim Demaille
fea900426a Follow Tim Van Holder's suggestions for a uniform handling of
symlinks.
* m4sh.m4: Stay in `as_', not `ac_'.
(_AS_LN_S_PREPARE): Eve out from...
* acspecific.m4 (AC_PROG_LN_S): here.  Adjust.
* m4sh.m4 (AS_LN_S): New.
(AS_SHELL_PREPARE): Call _AS_LN_S_PREPARE.
2001-01-27 13:19:14 +00:00
Akim Demaille
ebec93d7e6 * m4sh.m4 (AS_EXECUTABLE_P, _AS_TEST_PREPARE): New macros.
(AS_SANITIZE_SHELL): Call _AS_TEST_PREPARE.
* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Use AS_EXECUTABLE_P
instead of test -f.
2001-01-24 08:24:44 +00:00
Akim Demaille
041658b3a7 Typo. 2001-01-24 07:57:35 +00:00
Akim Demaille
58135fd6dc * acspecific.m4 (AC_PROG_LN_S): Detect DJGPP < 2.04, which only
supports 'ln -s' for executables.
2001-01-22 19:21:58 +00:00
Akim Demaille
abad4f0576 * doc/autoconf.texi: Some about diff and cmp. 2001-01-22 08:59:14 +00:00
Akim Demaille
8432ef4226 * acgeneral.m4 (AC_INIT, AC_OUTPUT): Don't take care of completing
the log.
(_AC_INIT_PREPARE): Do it in the trap 0.
2001-01-22 08:58:47 +00:00
Akim Demaille
70b6f5cc93 Various cleanups and consistency checks.
* m4sugar.m4: Formatting changes.
* acgeneral.m4 (AC_DIVERT_PUSH, AC_DIVERT_POP, AC_REQUIRE)
(AC_DIAGNOSE, AC_FATAL, AC_MSG_WARN, AC_MSG_NOTICE, AC_MSG_ERROR):
Use m4_copy to define them, in order to keep a good $0.
(AC_INIT): AC_LANG_PUSH C, not AC_LANG, to initialize the stack.
* aclang.m4 (AC_LANG_PUSH): Dont't use m4_defn on undefined macros.
(AC_LANG_POP): Admit an argument specifying the language we quit
when popping.
Adjust Autoconf's AC_LANG_POPs.
* tests/tools.at (AWK portability): Don't depend on AC_INIT.
(autoconf --trace: user macros): Obviously I
meant TRACE1, not AC_TRACE1.
2001-01-18 09:15:31 +00:00
Akim Demaille
9cb72c7248 Work around the Ultrix limitations on ``multiple redirections''.
Reported by Harlan Stenn.
* acgeneral.m4 (_AC_EVAL_STDERR): New.
(_AC_PREPROC_IFELSE): Use it.
2001-01-16 20:46:00 +00:00
Akim Demaille
8448b8f911 * tests/atgeneral.m4 (AT_data_files): Fix the computation of PATH. 2001-01-16 13:48:55 +00:00
Akim Demaille
10498c169e * doc/autoconf.texi: Lots of additions and changes.
(File Descriptors): New.
(Limitations of Make): New.
2001-01-16 10:45:22 +00:00
Akim Demaille
4c6ce32f58 * m4sh.m4 (AS_EXIT): Don't rely on exit == exit $?.
Reported by Tim Van Holder.
2001-01-16 10:27:19 +00:00
Akim Demaille
3becb30f56 When default headers are used, check for their presence.
Suggested by Jim.
* acgeneral.m4 (_AC_INIT_DEFAULTS): Don't define
ac_includes_default, since...
(_AC_INCLUDES_DEFAULT_REQUIREMENTS): this new macro does.
(AC_INCLUDES_DEFAULT): Require the former when default includes
are used.
(AC_CHECK_MEMBERS, _AC_CHECK_TYPE_NEW): Don't require
AC_HEADERS_STDC, that's a job for stupendous AC_INCLUDES_DEFAULT.
* acfunctions.m4 (AC_FUNC_MALLOC): Check for stdlib.h.
2001-01-16 10:21:44 +00:00
Akim Demaille
6ca39d4f17 * doc/autoconf.texi: Normalize sh samples. 2001-01-15 07:40:11 +00:00
Akim Demaille
55953c9b14 With expr's that return 0' on failures, the executable suffix is
`0'.  Test and fix.
Reported by Assar Westerlund.

* Makefile.am (maintainer-check): New target.
* tests/Makefile.am (maintainer-check, maintainer-check-posix)
(maintainer-check-c++, expr): Likewise.
* configure.in (EXPR): Look for it.
* tests/atgeneral.m4 (AT_CHECK): Propagate $2's default value.
* tests/compile.at (Extensions): New test.
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
Distinguish files with or without a dot.
2001-01-12 09:39:26 +00:00
Akim Demaille
5058e82d54 * acgeneral.m4: Last changes for `configure.ac'.
(_AC_INIT_HELP, _AC_OUTPUT_SUBDIRS): Take `configure.ac' into
account.
* autoreconf.sh: Likewise.
2001-01-12 09:19:59 +00:00
Akim Demaille
5b827102b4 Mention Bash before Ksh. 2001-01-11 15:57:48 +00:00
Akim Demaille
6a0c144a03 * autoconf.texi (Shellology): Fix an @end itemize, and a typo. 2001-01-11 14:26:45 +00:00
Akim Demaille
cd7cd7bf31 * autoconf.sh: Promote configure.ac' over configure.in'.
* autoreconf.sh: Likewise.
* autoheader.sh: Ditto.
* autoupdate.sh: Similarly.
* doc/autoconf.texi: Adjust.
* tests/atspecific.m4: Be sure to remove configure.in.
Adjust the test suite to use `configure.ac'.
2000-12-23 10:11:57 +00:00
Pavel Roskin
d8264906a3 * doc/autoconf.texi (Installation Directory Variables): More info
on prefix and exec_prefix.
2000-12-19 16:47:50 +00:00
Akim Demaille
f5f59b7932 Mention the meaning of CYGWIN. 2000-12-15 14:03:00 +00:00
Pavel Roskin
86f937ed41 Synchronized with ftp://ftp.gnu.org/ 2000-12-14 22:56:19 +00:00
Akim Demaille
6c3edbb4c4 Put back AC_CYGWIN etc. under the responsibility of the
configure.in maintainer, but discourage its use.
* acspecific.m4 (_AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2): Rename as...
(AC_CYGWIN, AC_MINGW32, AC_EMXOS2): these.
AU defined on top of AC_CANONICAL_HOST and $host_os.
* tests/mktests.sh (update_exclude_list): Add AC_CYGWIN,
AC_MINGW32, and AC_EMXOS2.
2000-12-14 09:39:33 +00:00
Akim Demaille
61231f5399 EXEEXT and OBJEXT don't need to know $CYGWIN etc.
* acspecific.m4 (AC_EXEEXT, AC_OBJEXT, _AC_EXEEXT, _AC_OBJEXT):
Move as...
* aclang.m4 (AC_EXEEXT, AC_OBJEXT, _AC_COMPILER_EXEEXT)
(_AC_COMPILER_OBJEXT): these.
(_AC_COMPILER_EXEEXT): Use _AC_LINK_IFELSE.
Don't depend upon $CYGWIN and the like.
(_AC_COMPILER_OBJEXT): Model after _AC_COMPILER_EXEEXT.
Skip more extensions.
Use _AC_COMPILE_IFELSE.
2000-12-13 12:36:54 +00:00
Akim Demaille
d0bbf5dcb6 * doc/autoconf.texi (System Services) <AC_PATH_XTRA>: Adjust the
documentation about X_DISPLAY_MISSING to the code.
2000-12-08 14:27:20 +00:00
Akim Demaille
89b05bc4aa * doc/autoconf.texi (Limitations of Usual Tools) <awk>: `for' on
arrays is nondeterministic across AWK implementations.
* tests/tools.at (autoconf: forbidden tokens): Sort the error
message to guarantee its uniqueness.
2000-12-06 15:00:45 +00:00
Pavel Roskin
c76c5e9199 Updated from Automake CVS. 2000-12-01 16:40:17 +00:00
Pavel Roskin
d01c05ed5a Updated from ftp://ftp.gnu.org/ 2000-12-01 16:34:49 +00:00
Akim Demaille
0f93c89c4e * doc/autoconf.texi (Assignments): Don't read $? after an
assignment.
2000-11-30 17:48:50 +00:00
Akim Demaille
264fc11c21 * sh.m4 (AS_EXIT): Don't rely on false exiting 1.
Actually, always use `(exit $val); exit', don't try smart stuff.
* doc/autoconf.texi (Limitations of Builtins) <false>: new.
2000-11-30 17:27:32 +00:00
Akim Demaille
618eeb55e3 * doc/autoconf.texi (Systemology): New section.
Some about QNX 4.
2000-11-30 14:48:02 +00:00
Akim Demaille
ec675a8991 * doc/autoconf.texi (Special Shell Variables): Document RANDOM. 2000-11-30 12:51:12 +00:00
Akim Demaille
6cd1dc946c * doc/autoconf.texi (Limitations of Usual Tools): Some about cp
and mv, thanks to Ian.
2000-11-30 09:50:48 +00:00
Akim Demaille
f5e4fecdaa Missing quotes. 2000-11-29 17:44:19 +00:00
Akim Demaille
1e84e1a44b * doc/autoconf.texi (Shell Substitutions): More on the variations
around ${foo=bar}.
(Assignments): Rewrite as a summary of the previous section.
* acgeneral.m4 (AC_CACHE_SAVE): Be protected against the Solaris'
`${foo='${bar}'}' bug.
2000-11-29 17:43:00 +00:00
Akim Demaille
9f5b35eb49 QNX 4.2.5's expr always exits 1 when `:' is used with parens.
* doc/autoconf.texi (Limitations of Usual Tools) <expr>: More
information, thanks to Paul Berrevoets, Paul Eggert and David
Morgan.
* sh.m4 (_AS_EXPR_PREPARE): New.
(AS_DIRNAME): Use it.
2000-11-29 15:52:02 +00:00
Pavel Roskin
c30a647174 * doc/autoconf.texi (Fortran 77 Compiler Characteristics):
Don't suggest obsolete AC_LANG_FORTRAN77.
(Language Choice): Better preamble.
2000-11-28 18:58:15 +00:00
Pavel Roskin
b33c492dd7 * doc/install.texi: Minor changes to eliminate TeX warnings.
* doc/autoconf.texi: Likewise. Typo fixes.
2000-11-28 16:53:56 +00:00
Akim Demaille
7abc919fd0 * acgeneral.m4 (_AC_INIT_DEFAULTS) <ac_includes_default>: Include
sys/stat.h.
* acspecific.m4 (AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_BLOCKS)
(AC_STRUCT_ST_RDEV): Simplify.
* acfunctions.m4 (AC_FUNC_MMAP): Include sys/stat.h unconditionally.
* doc/autoconf.texi (Default Includes): Adjust.
(Particular Structures) <AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV>:
Adjust.
2000-11-17 16:45:24 +00:00
Akim Demaille
41d067d649 Typo. 2000-11-16 18:04:42 +00:00
Akim Demaille
eb6a72ebf4 * doc/autoconf.texi (Limitations of Usual Tools) <expr>:
expr 'a' : '(b)'.
From Paul Eggert.
2000-11-16 16:30:39 +00:00
Akim Demaille
5eb1d8aeb6 POSIX doesn't require s/[^/]// to work.
From Paul Eggert and Johan Danielsson.
* doc/autoconf.texi (Limitations of Usual Tools) <sed>:
Reorganize.  Document this issue.
* autoupdate.sh (dir): Use `,' as separator instead of `/'
* autoreconf.sh: Likewise.
* autoupdate.sh: Ditto.
2000-11-16 10:12:50 +00:00
Akim Demaille
d286d1d41e * acspecific.m4 (AC_SYS_LARGEFILE): Don't worry about
whether fseeko and ftello are properly declared.
* acfunctions.m4 (AC_FUNC_FSEEKO): New macro, which worries about
fseeko (and presumably ftello).  Do not set _XOPEN_SOURCE; that
causes too many problems in practice.
* acfunctions (fteelo, fseeko): Trigger AC_FUNC_FSEEKO.
* doc/autoconf.texi: Adjust.
2000-11-14 16:01:05 +00:00
Akim Demaille
2014a4b07e * doc/autoconf.texi (Limitations of Builtins): Comment `true'. 2000-11-14 14:22:13 +00:00
Akim Demaille
774e64915e * doc/autoconf.texi (autoconf Invocation): Explain `-W error'
gives back traces.
2000-11-14 10:00:25 +00:00
Pavel Roskin
03d06c0d47 * acfunctions.m4: Always quote first argument of AC_MSG_ERROR,
AC_MSG_WARN, AC_MSG_CHECKING, AC_MSG_RESULT,
AC_MSG_RESULT_UNQUOTED.
* acgeneral.m4: Likewise.
* aclang.m4: Likewise.
* acspecific.m4: Likewise.
* configure.in: Likewise.
* doc/autoconf.texi: Likewise.
2000-11-11 05:59:21 +00:00
Pavel Roskin
fa48839ba3 * doc/autoconf.texi (Particular Structures): Fix examples for
AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV.
2000-11-11 04:24:29 +00:00
Pavel Roskin
9e7be4c525 Ignore PS and PDF files. 2000-11-11 04:15:57 +00:00
Pavel Roskin
00a0e79b34 * doc/autoconf.texi (Limitations of Usual Tools): Don't use
uncommon abbreviations.
2000-11-10 17:14:14 +00:00
Akim Demaille
443972e0fc * doc/autoconf.texi (Limitations of Builtins): Some information
about `trap'.
Document the Free BSD bug observed by Pavel.
2000-11-10 16:56:22 +00:00
Akim Demaille
6b14324407 * doc/autoconf.texi (Limitations of Usual Tools): `&' in sed's rhs
is portable.
2000-11-10 15:04:10 +00:00
Akim Demaille
b621286c09 * doc/autoconf.texi (Shell Substitutions): Some information about
Solaris' sh handling of ``foo=${foo='}'}'' collected by Alexandre,
reported by David Taylor.
2000-11-10 14:55:37 +00:00
Akim Demaille
ac2ea1b00c Typos. 2000-11-10 14:44:30 +00:00
Akim Demaille
d2329b45d3 * doc/autoconf.texi (Limitations of Builtins): `for i; do'. 2000-11-10 14:24:46 +00:00
Akim Demaille
ab3629569e * doc/autoconf.texi (Shellology): Some about /usr/xpg4/bin/sh on
Solaris.
Sort the entries.
Some words about POSIX vs Bourne shell.
From Russ Allbery and Robert Lipe.
2000-11-10 12:10:13 +00:00
Akim Demaille
c0ab107534 Typo. 2000-11-10 11:45:45 +00:00
Akim Demaille
ea5e4b0457 * doc/autoconf.texi (Shell Substitutions): Split into...
(Shell Substitutions, Assignments): these.
Move them before `Special Shell Variables'.
(Shell Substitutions): Include information on `$()' from Russ
Allbery.
2000-11-10 11:43:23 +00:00
Akim Demaille
528a6b7122 The documentation is not clear about the obsoleteness of
`acconfig.h', `config.h.top', and `config.h.bot'.
Reported by Aharon Robbins.
* doc/autoconf.texi (Making configure Scripts)
(Automatic Remaking, Defining Symbols, Distributing): Forget about
these files.
(acconfig.h): Reword.
Display the old scheme presenting the dependencies between input
and output files.
(Changed File Names): Clarify.
2000-11-02 17:44:02 +00:00
Akim Demaille
5243fda44e * doc/autoconf.texi (Limitations of Usual Tools): Some about
dirname.
2000-11-02 17:35:53 +00:00
Pavel Roskin
69a9124176 * doc/autoconf.texi (Limitations of Builtins): Recommend using
AC_MSG_ERROR instead of exit.
        (Autoconf Language): Fix examples.
2000-10-27 17:29:23 +00:00
Pavel Roskin
0dd3144b2e * autoconf.sh: Don't show obsolete options on "--help". Report
obsolete options to stderr. Adjust list of options. Correct
        processing of options. Process options with values separated by
        "=" first, so that abbreviations work. Don't accept "=" with
        short options.
        * autoheader.sh: Likewise.
        * autoreconf.sh: Likewise.
        * autoupdate.sh: Likewise.
        * ifnames.sh: There is no "--verbose" option.
        * doc/autoconf.texi: Option "-A" requires an argument.
        (autoreconf Invocation): Document "--install", "--symlink",
        "--m4dir" and the options passed to Automake.
2000-10-26 22:27:48 +00:00
Pavel Roskin
1328e61cb7 * NEWS: Documented changes in AC_PROG_CPP and AC_TRY_CPP.
* doc/autoconf.texi (Compilers and Preprocessors): Likewise.
        * acgeneral.m4 (AC_TRY_CPP): Comment changes.
2000-10-20 00:15:34 +00:00
Pavel Roskin
247e1d11ad * doc/autoconf.texi (Shellology): Documented quirks in ash-0.2. 2000-10-19 21:30:29 +00:00
Akim Demaille
11090b5d3c * acspecific.m4 (AC_PROG_LN_S): If neither ln -s' nor ln' work,
fall back to `cp'.
2000-10-18 11:05:32 +00:00
Akim Demaille
1da0262276 * doc/autoconf.texi (The GNU build system): Sketch of new a
chapter.
2000-10-17 12:33:01 +00:00
Akim Demaille
b749414003 * doc/autoconf.texi (Particular Programs): Some notes on the
portability of Flex.
2000-10-17 09:03:17 +00:00
Akim Demaille
6af38a6c4e More entries in .cvsignores. 2000-10-12 12:43:22 +00:00
Akim Demaille
174ad6ea74 Update auxiliary files. 2000-10-04 12:42:34 +00:00
Akim Demaille
3674f52d77 * acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Check for configure.gnu
as well.
(_AC_INIT_HELP): Likewise.
(NEWS): Note checking for configure.gnu.
* doc/autoconf.texi: Document checking for configure.gnu when
recursing subdirectories.
2000-09-18 11:05:41 +00:00
Akim Demaille
4148b84bca * doc/autoconf.texi (Preset Output Variables): Correctly specify
what languages are affected by CPPFLAGS, LDFLAGS and LIBS.
Extended description of LDFLAGS and LIBS.
(Compilers and Preprocessors, C Compiler Characteristics):
Recommend Automake as the source of ansi2knr.
(Autoconf Language, Quotation and Nested Macros): English fixes.
(Quotation and Nested Macros): Unclear example replaced with
an explanation of when m4 expands quotes. Added explanation why
unquoted calls are dangerous.
2000-09-11 07:04:38 +00:00
Akim Demaille
62113b916e * doc/autoconf.texi: Always use one space before the opening
parenthesis in @defmac
2000-09-08 15:38:21 +00:00
Akim Demaille
a81a0372c4 * autoconf.texi: English and typo fixes. 2000-09-06 09:06:21 +00:00
Akim Demaille
35e933c528 Add .cvsignore in each directory. 2000-08-09 08:47:01 +00:00
Akim Demaille
4df82da14e * autoconf.sh (finalize.awk): Don't leave spaces before the user
function calls.
Reported by John David Anglin.
* doc/autoconf.texi (Limitations of Usual Tools): Start the AWK
section.
* tests/tools.m4 (AWK portability): New test.
2000-08-09 06:53:07 +00:00
Akim Demaille
787433a2e8 * acgeneral.m4 (AC_MSG_NOTICE): New macro, suggested by Pavel
Roskin.
(AC_MSG_ERROR): Use it.
2000-08-07 12:06:49 +00:00
Akim Demaille
01383c4818 * acspecific.m4 (AC_PROG_RANLIB): Use AC_CHECK_TOOL.
* doc/autoconf.texi (Limitations of Usual Tools): Typos.
2000-08-04 09:21:52 +00:00
Akim Demaille
ee125c3a4e Solaris' /usr/ucb/expr, and SunOS' /usr/bin/expr fail with the `:'
operator when \(\) is used, and matches a string longer than 120
characters.
Reported by Geoff Keating.

* doc/autoconf.texi (Limitations of Usual Tools): Some words about
this.
* acgeneral.m4 (_AC_SHELL_DIRNAME): Fall back to echo|sed if expr
fails.
From Paul Eggert.
2000-08-04 09:13:16 +00:00
Akim Demaille
b66e6d48bc Update imported files. 2000-08-04 08:59:17 +00:00
Akim Demaille
b1775923a8 Release Automake from being a substitute to Autoconf.
* acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H,
_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL, AC_HEADER_TIOCGWINSZ,
AC_SYS_POSIX_TERMIOS): New macros from both Automake and the
fileutils.
2000-08-02 17:40:25 +00:00
Akim Demaille
c62ab1aab0 * doc/autoconf.texi (Special Shell Variables): More emphasis on
the dangers of character ranges.
From Paul Eggert.
2000-08-02 07:58:34 +00:00
Akim Demaille
3385e2beac AC_VALIDATE_CACHED_SYSTEM_TUPLE no longer works properly since the
AC_CANONICAL_* revamping.
Reported by Peter Eisentraut.
In fact, let's just use the precious variables handling.

* acgeneral.m4 (AC_VALIDATE_CACHED_SYSTEM_TUPLE): Obsoleted.
(_AC_ARG_VAR_PRECIOUS): New macro, eved from...
(AC_ARG_VAR): this macro.  Adjust.
(_AC_INIT_PREPARE): `build_alias', `host_alias', and
`target_alias' are precious.
* doc/autoconf.texi: Adjust.
2000-08-01 12:20:14 +00:00
Akim Demaille
6e867eb5ee * acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Neutralize also
LC_COLLATE and LC_NUMERIC.
* autoconf.m4: Don't rely on character ranges with tr.
* doc/autoconf.texi (Special Shell Variables): Adjust.
2000-08-01 11:22:42 +00:00
Akim Demaille
7bd04c77a0 * acfunctions.m4 (_AC_LIBOBJ_STRTOD, AC_FUNC_STRTOD,
AM_FUNC_STRTOD): New macros, from Automake.
* acfunctions: Adjust.
2000-08-01 11:16:33 +00:00
Akim Demaille
20a739fc2e * acfunctions.m4 (AC_FUNC_ONSTACK): New macro, from
Automake.
* doc/autoconf.texi (Particular Functions): Adjust.
2000-08-01 11:10:16 +00:00
Akim Demaille
4ba8807ca1 * acfunctions.m4 (AC_FUNC_ERROR_AT_LINE): New macro, from
Automake.
* doc/autoconf.texi (Particular Functions): Adjust.
2000-08-01 10:16:20 +00:00
Akim Demaille
17bf2a2a33 * aclang.m4 (_AC_PROG_CXX_GNU, _AC_PROG_CC_GNU, _AC_PROG_F77_GNU):
Use grep instead of egrep, don't redirect stderr.
2000-08-01 10:03:41 +00:00
Akim Demaille
c528b19557 * doc/autoconf.texi (Installation Directory Variables):
Clarifications and typos.
2000-08-01 08:21:38 +00:00
Akim Demaille
b64f36dee1 * autoconf.sh (--warnings): Catch no-category', not nocategory'.
* autoheader.sh: Likewise.
* acgeneral.m4 (_AC_WARNING_IFELSE): Adjust.
2000-07-28 07:41:52 +00:00
Akim Demaille
31539fee31 * doc/autoconf.texi (Installation Directory Variables): New
section, Eved off from `Preset Output Variables', i.e., was a
small part of it, grew independent, and is its equal (at least).
(Coding Style): `$#' padding.
* Makefile.am (editsh, editpl): Do what the doc says you do: use
@datadir\@ instead of @''datadir''@.
2000-07-28 07:37:50 +00:00
Akim Demaille
7ba559deeb Update Peter Simons' address. 2000-07-26 10:01:26 +00:00
Akim Demaille
1173e0e0c9 * aclang.m4 (AC_F77_FUNC): New macro to give the user a clean
way of accessing Fortran name-mangling information other than
through CPP, and without having to know the different possible
name-mangling schemes.
* autoconf.texi: Documented AC_F77_FUNC
2000-07-24 07:58:52 +00:00
Akim Demaille
2cd06f3117 * acgeneral.m4 (_AC_CHECK_TYPE_BUILTIN_P): Add `off_t' and
`size_t' which are often used too.
Fix a bug which prevents recognition of `bool' and `char'.
(_AC_CHECK_TYPE_MAYBE_TYPE_P): New macro.
(AC_CHECK_TYPE): Use it.
2000-07-24 06:54:53 +00:00
Akim Demaille
958e908777 * Makefile.am: Remove INSTALL.txt by maintainer-clean target. 2000-07-19 16:43:04 +00:00
Akim Demaille
f47670db70 * aclang.m4 (AC_F77_NAME_MANGLING): Obsolete, becomes
_AC_F77_NAME_MANGLING.
(_AC_F77_NAME_MANGLING): Use independent checks for the
name mangling of symbols with and without underscores.
Use algorithm with for loops instead of recursive macro calls.
(AC_F77_WRAPPERS): Adapt to changes in _AC_F77_NAME_MANGLING.
* doc/autoconf.texi (Fortran 77 Compiler Characteristics):
Remove documentation of AC_F77_NAME_MANGLING.
Remove documentation of f77_case and f77_underscore.
Replace AC_F77_FUNC_WRAPPER with AC_F77_WRAPPERS.
2000-07-19 09:56:18 +00:00
Akim Demaille
3a19469355 * doc/autoconf.texi (autoheader Invocation): Explain the purpose
of autoheader.
2000-07-19 09:33:19 +00:00
Akim Demaille
86ab930f0a * doc/autoconf.texi: Various English fixes from Jim. 2000-07-19 09:32:32 +00:00
Akim Demaille
8a639e09fa * doc/autoconf.texi (Compilers and Preprocessors, Obsolete
Macros): Don't give boring internal details.
(Language Choice): Typo.
(Limitations of Builtins): Some about `!', `set', `$@'.
(Coding Style): Some about $[@] quotation.
Some about cross-compilation.
2000-07-19 09:28:34 +00:00
Akim Demaille
89face49d8 * doc/autoconf.texi (Introduction): More about CVS, Gnats, the web
pages, and the mailing lists.
2000-07-19 09:18:55 +00:00
Akim Demaille
e7634107ce * doc/autoconf.texi (Prerequisite Macros): Dedocument AC_PROVIDE.
(Coding Style): Move some into...
(Macro Definitions): here.
2000-07-19 09:14:48 +00:00
Akim Demaille
9150c0ede6 Make it clear that the regular user does not need --macrodir.
In fact, rename this option as -A, --autoconf-dir.

* autoconf.sh: Complain when -m, --macrodir is used.
Accept -A, --autoconf-dir.
Use $autoconf_dir instead of $AC_MACRODIR.
Adjust --help.
* autoheader.sh: Likewise.
* autoscan.sh: Likewise.
* autoupdate.sh: Likewise.
Use $optarg.
* autoreconf.sh: Likewise.
* doc/autoconf.texi: Adjust.
* tests: Adjust the test suite.
2000-07-19 09:03:53 +00:00
Akim Demaille
0c265b0758 * doc/autoconf.texi (Configuration Actions): Explain the
behavior of  AC_CONFIG_HEADERS and AC_CONFIG_FILES with respect to
absolute and relative filenames, and stdin/stdout.
(config.status invocation): Likewise.
2000-07-17 08:36:59 +00:00
Akim Demaille
749aecf81b Kill ^M in doc files. 2000-07-10 14:28:22 +00:00
Akim Demaille
609835a22f Alexandre's suggestions.
* autoreconf.sh (update.sh): Use `ls -1dt' instead of `-lt'.
Use test instead of sed.
<automake>: If automake is used, always run it: it has its own
mechanism not to update if unneeded.
2000-07-10 14:03:12 +00:00
Akim Demaille
2e2ae1194b Typos and Englishos spotted by Jim Meyering. 2000-07-10 12:29:14 +00:00
Akim Demaille
63672a92bd Run `make wget-update' 2000-07-10 10:55:07 +00:00
Akim Demaille
6fdbfea975 * doc/autoconf.texi (Coding Style): Some more constraints :). 2000-07-10 10:28:50 +00:00
Akim Demaille
61591d6648 * acspecific.m4 (_AC_FUNC_STAT, AC_FUNC_STAT, AC_FUNC_LSTAT): New
macros, from Jim's stat.m4 and lstat.m4 serial 6.
* doc/autoconf.texi (Particular Functions): Document
* acfunctions: Add them.
2000-07-10 10:27:02 +00:00
Akim Demaille
9f8a9bc593 LANGUAGE should be neutralized too.
* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Do it.
* doc/autoconf.texi (Special Shell Variables): Mention it.
2000-07-10 10:25:39 +00:00
Akim Demaille
d899114564 Set autoconf's default warnings to `syntax'.
In fact, honor the most recent specification in the concatenation
of `syntax',$WARNINGS,<options> in that order.
Implement support for `none' and `noCATEGORY' so that the options
may override the previous choices.
Suggested by Didier Verna.

* acgeneral.m4 (_AC_WARNING_IFELSE): New macro.
(AC_WARNING_IFELSE): Use this macro to implement the new specs.
(AC_WARNING): The empty category must not be used, default to
`syntax'.
* doc/autoconf.texi (autoconf Invocation, Reporting Messages): Adjust.
* autoconf.sh: Adjust.
Use `optarg' to fetch the arguments of options.
Fix a bug in the handling of `--trace='.

* acgeneral.m4 (AC_CACHE_VAL): Typo: the macro was complaining iff
it shouldn't have.
2000-07-10 10:23:08 +00:00
Akim Demaille
289b6c7a22 * autoconf.sh (task install): We no longer use AC_INCLUDE. 2000-07-10 10:12:44 +00:00
Akim Demaille
4d590944bc * acgeneral.m4 (AC_DEFUNCT): Remove.
(AC_RSH, AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
AC_INT_16_BITS, AC_LONG_64_BITS): They're alive!...
* doc/autoconf.texi (Obsolete Macros): but not fresh.
2000-07-10 10:10:04 +00:00
Akim Demaille
00ac4eb3f1 * autoreconf.sh (debug): New variable.
(tmp): s/ac/ar/.
<options handling>: Support --debug.
* doc/autoconf.texi: Adjust.
2000-07-10 10:08:29 +00:00
Akim Demaille
282265f13f * acgeneral.m4 (AC_DIRNAME): Use an `expr' solution instead of
echo|sed.
From Paul Eggert.
* doc/autoconf.texi (Limitations of Usual Tools): Include the
words from Paul about `|' with expr(1).
2000-07-10 08:53:58 +00:00
Akim Demaille
7207ae0d7b * aclang.m4: Promote s,,, over s%%%, and sed prog' over sed -e
prog'.
* acgeneral.m4: Likewise.
* acspecific.m4: Likewise.
* doc/autoconf.texi (Limitations of Usual Tools, Coding Style):
Likewise.
2000-07-10 08:43:55 +00:00
Akim Demaille
a552efe71f * AUTHORS: Update.
* doc/autoconf.texi: Free Franc,ois Pinard from iftex and ifinfo,
use @,c.
Don't use `@code{m4}' when you mean M4, just as you shall not say
`@code{cc}' when you refer to the C language.
2000-07-10 08:40:27 +00:00
Akim Demaille
4be24873bc * doc/autoconf.texi (Multiple Cases, Quotation Rule Of Thumb):
Follow the coding style.
2000-07-10 08:33:19 +00:00
Akim Demaille
00ab485483 * doc/autoconf.texi (Obsoleting Macros): Is not a subsection of
`Dependencies Between Macros', but rather a section of `Writing
Macros'.
2000-07-10 08:31:44 +00:00
Akim Demaille
e1b43b37d6 * doc/autoconf.texi (Coding Style): New node. 2000-07-10 08:21:04 +00:00
Akim Demaille
dc6d1f912a * acgeneral.m4 (AC_CACHE_LOAD): Be ready to read the cache even
when `.' is not in the PATH.
* doc/install.texi (configure Invocation): Adjust.
2000-07-04 10:34:21 +00:00
Akim Demaille
2e1fabcd1b * acgeneral.m4 (_AC_INIT_PARSE_ARGS) <-C>: Use `./config.cache', not
`config.cache'.
* doc/install.texi (configure Invocation): Adjust.
2000-07-03 10:41:30 +00:00
Akim Demaille
cb2e761b8e Re-enable the old behavior of --host and --build.
* acgeneral.m4 (build_alias): Set to host_alias if --build is not
given but --host is, and enable cross-compile auto-detection.  If
both are, and are different, enable cross compilation.
(AC_CANONICAL_HOST): Adjust help message.
(cross_compiling): Enclose in quotes when testing.
* aclang.m4 (_AC_LANG_COMPILER_WORKS): If cross_compiling is
maybe, set it to yes or no depending on the result of the
execution test.
* doc/autoconf.texi: Document the change.
* doc/install.texi: Likewise.
2000-06-30 13:34:37 +00:00
Akim Demaille
4064de46f6 * doc/autoconf.texi: Fix various typos.
(Limitations of Usual Tools) <sed>: Anchors and groups.
(Language Choice): Don't mention cross_compiling here, do it...
(Specifying Names) <--host>: here.
(Obsoleting Macros): Don't document AC_DEFUNCT, it's going to be
removed anyway, obsoleted itself by AU_DEFUN.
2000-06-27 10:31:05 +00:00
Akim Demaille
94939fa6c1 * autoreconf.sh (automake, aclocal): New variables. Import
$AUTOMAKE and $ACLOCAL.
Pass --verbose to the tools.
Avoid using plenty of variables, just append to existing
variables.
* doc/autoconf.texi: List options in the order --help, --version,
--verbose, --debug, and then specific options.
2000-06-26 10:51:17 +00:00
Akim Demaille
920cfbf4f5 * doc/autoconf.texi: Various Texinfo adjustments.
(Specifying Names): When describing the system triplets, use the
same names as the shell variables.
(System Type Variables): Delete, merge its content into...
(Canonicalizing): here.
Clarify the difference between the `foo_target' and `foo'
variables.
2000-06-26 10:34:24 +00:00