Commit Graph

670 Commits

Author SHA1 Message Date
Akim Demaille
b9a69888b6 * doc/autoconf.texi: Moving/deleting open files is not portable.
Portability issues for `.' (source), and more information about sed.
2001-08-01 13:11:02 +00:00
Akim Demaille
91fbae6966 * Makefile.am: Ship, build and install Autom4te.
(SUBDIRS): Add lib.
* lib/Autoconf/Struct.pm: New, from Automake 1.5.
* configure.in: Require Perl.
* man/autom4te.in: New.
2001-07-24 08:43:06 +00:00
Akim Demaille
653b469788 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
example, rather than (exit 1); exit (which isn't portable).
2001-07-19 11:55:48 +00:00
Akim Demaille
83211ede2b * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
2001-07-17 16:30:20 +00:00
Akim Demaille
fb69956c21 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
replacement type.
From Paul Eggert.
2001-07-17 10:01:09 +00:00
Akim Demaille
f0478c4702 * configure.in: Rename as...
* configure.ac: this.
2001-07-17 07:53:06 +00:00
Akim Demaille
9994cd2e63 * doc/autoconf.texi (Limitations of Make): Macro names and underscore. 2001-07-14 16:15:38 +00:00
Akim Demaille
27af810420 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New. 2001-07-14 15:55:38 +00:00
Akim Demaille
ba6e4a5a00 for CXX is g++, not gcc. 2001-07-14 14:27:41 +00:00
Akim Demaille
1cbbd846ac * doc/autoconf.texi (Files): New subsection. 2001-07-14 14:23:11 +00:00
Akim Demaille
61714838fd * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
of...
(Generic Compiler Characteristics): this.
(C++ Compiler): New subsection.
2001-07-14 14:20:47 +00:00
Akim Demaille
beaa477c90 * autoscan.in: Use IO::File.
Adjust all the routines to use it.
($log): New file (autoscan.log).
(output): Dump detailed logs into $log, and a shortened version to
stderr.
(&scan_makefile): Refine the regexp catching tokens in the code.
* doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
and the `configure.ac' checking feature.
2001-07-14 14:19:19 +00:00
Akim Demaille
f25219dfd6 For some AWK, such as on HPUX 11, xfoo' does not match foo|^bar'.
Reported by Michael Elizabeth Chastain.
* autoconf.in: Refuse such AWK.
* configure.in: Likewise.
* Makefile.am (acversion.m4): Do not use move-if-change this file
has dependencies.
* doc/autoconf.texi (Fortran 77 Compiler): Some typos.
2001-07-12 12:42:46 +00:00
Steven G. Johnson
c88e42ae6f grammatical fix 2001-07-07 01:33:24 +00:00
Steven G. Johnson
3b1748b0ea fixed typo 2001-07-05 01:23:20 +00:00
Akim Demaille
dc5e4b9143 Typo. 2001-07-04 15:29:37 +00:00
Akim Demaille
67d0550e5b * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
up.
* acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
warnings from compilers.
* aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
for all the compilers, not only GNU.  Hence move from here...
(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
2001-07-04 15:12:57 +00:00
Akim Demaille
f21e011fef * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
strings.h if usable with string.h.
Suggested by Paul Eggert.
2001-07-04 11:29:50 +00:00
Akim Demaille
8ce8361c3d * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
compiler, not the preprocessor.
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
the right thing.
* Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
earlier if there are.
2001-07-03 14:12:40 +00:00
Steven G. Johnson
98fdb85521 added AC_F77_{DUMMY_}MAIN 2001-07-01 19:41:20 +00:00
Akim Demaille
9a20a8b2a0 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
(AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
* doc/autoconf.texi (Autoconf 2.13): New section.
2001-06-23 22:59:11 +00:00
Akim Demaille
fa0a3dba0c * doc/autoconf.texi (Redefined M4 Macros): New. 2001-06-23 15:30:22 +00:00
Akim Demaille
95407d46e3 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
stderr.
* doc/autoconf.texi (AC_ARG_VAR): Update.
2001-06-23 13:10:31 +00:00
Akim Demaille
21c5ee474b ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
but some sed choke on multiple `;', and other tools (e.g.,
Automake), include the separator themselves.
* acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
2001-06-21 09:18:16 +00:00
Tim Van Holder
eeaf83ccae * doc/autoconf.texi: (Functions Portability) Rename as...
(Function Portability): this.
(Function Portability): Docum
2001-06-19 17:40:05 +00:00
Akim Demaille
27c032e297 More patterns. 2001-06-19 17:33:28 +00:00
Akim Demaille
32d23d4aa7 * NEWS, doc/autoconf.texi: Document quadrigraphs. 2001-06-19 06:45:18 +00:00
Akim Demaille
4ce12bf79e * acfunctions.m4: (AC_FUNC_VFORK) rename as...
(_AC_FUNC_VFORK): this.
Remove AC_DEFINEs and don't guess cross-compilation values.
(_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
(AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
vfork doesn't work.
Guess values if cross-compiling, but warn.
* acfunctions: Add AC_FUNC_FORK.
* doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
and vfork appropriately.
2001-06-18 19:11:24 +00:00
Akim Demaille
1ecf62bc46 * doc/autoconf.texi (Functions Portability): New section. 2001-06-18 18:51:36 +00:00
Akim Demaille
b56908c370 Move texinfo.tex from doc/ to config/. 2001-06-18 18:05:20 +00:00
Akim Demaille
1943ed19d6 * doc/autoconf.texi (ms): New index.
(Macro Index): Rename as...
(Autoconf Macro Index): this.
(M4 Macro Index): New appendix.
(Programming in M4): New chapter.
Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
(Quoting): Rename as...
(M$ Quotation): this.
Be part of `Programming in M4).
2001-06-18 17:23:12 +00:00
Akim Demaille
8cb3ac1b1c * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
current values of the precious variables, not the previously
cached values.
Pass precious variables which are set to config.status.
* doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
* tests/torture.at (AC_ARG_VAR): New.
2001-06-17 18:14:27 +00:00
Akim Demaille
d8453532a1 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
and explain why and how to replace them.
* acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
* acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2001-06-15 17:44:17 +00:00
Akim Demaille
ccc11f345b * doc/autoconf.texi (Portable Shell): Move after `Writing Macros'. 2001-06-14 16:14:33 +00:00
Akim Demaille
f7e739cbd1 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
Suggested by Alexander Mai.
2001-06-13 16:26:51 +00:00
Akim Demaille
b79636c1ae * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
sys/types.h and sys/stat.h, and check for them.
2001-06-13 08:45:39 +00:00
Akim Demaille
bc0cb140fd * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
INCLUDES.
2001-06-13 07:51:09 +00:00
Akim Demaille
e940773c63 Stupid me :(
Reverse the patch incorrectly applied when adding prev-version.txt
2001-06-12 14:46:13 +00:00
Akim Demaille
11f6cf8fb5 Added for real. 2001-06-12 14:42:53 +00:00
Akim Demaille
f28e3c5593 Typos. 2001-06-11 20:19:07 +00:00
Akim Demaille
fe4c0273a9 * Makefile.am, Makefile.maint: Typos. 2001-06-11 09:03:49 +00:00
Akim Demaille
0abdfb5a9d * doc/autoconf.texi (Here-Documents): New section, gathering
documentation about here-documents.
Use `href', not `uref', and other changes.
2001-06-11 08:21:43 +00:00
Akim Demaille
a57d9b390d * doc/autoconf.texi (Portable Shell Programming): Promoted as a
chapter.
2001-06-09 18:45:00 +00:00
Akim Demaille
d4bfb5fa66 * doc/autoconf.texi (Limitations of Builtins): Complete the
description of the here-docs penalties with Alexandre Oliva's
explanations.
2001-06-09 18:39:12 +00:00
Akim Demaille
16aa394738 * doc/autoconf.texi: Talk about here documents and speedups.
Do not use "echo" on arbitrary strings.
Spell "here-documents" consistently with the standard.
2001-06-09 18:28:20 +00:00
Akim Demaille
76d1c25fd8 * doc/autoconf.texi (Concept Index): Introduce it.
Regenerate the menus.
2001-06-09 18:25:45 +00:00
Akim Demaille
8d69ecd036 * doc/autoconf.texi: Fix references to Solaris and SunOS versions. 2001-06-05 10:52:49 +00:00
Akim Demaille
52a4833e9f * configure.in (standards_texi): Remove, dead code. 2001-06-02 12:30:14 +00:00
Akim Demaille
2a144793ef Typo. 2001-06-01 17:07:05 +00:00
Akim Demaille
7231847d97 Typo. 2001-06-01 13:44:45 +00:00