Commit Graph

617 Commits

Author SHA1 Message Date
Akim Demaille
f5a3a2788e * doc/autoconf.texi (Particular Programs): Explain the
`AC_PROG_LEX invoked multiple times' message.
Reported by Rainer Orth as PR Autoconf/177.
2001-05-19 16:54:15 +00:00
Akim Demaille
f2d3be14d2 Update. 2001-05-19 16:03:32 +00:00
Pavel Roskin
a13adb6629 * doc/autoconf.texi (Shellology): Document a quirk in
here-document handling on OpenBSD.
2001-05-14 18:39:19 +00:00
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