Commit Graph

1164 Commits

Author SHA1 Message Date
Paul Eggert
7d9430d8b1 * NEWS: New macro AC_C_TYPEOF.
* doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
* lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
* tests/c.at (C keywords): Test AC_C_TYPEOF.
2005-07-06 21:39:30 +00:00
Stepan Kasal
65d032086c Change the explanation about #include <config.h>. 2005-07-01 05:55:41 +00:00
Stepan Kasal
4ee05f5044 minor rewording 2005-06-30 12:55:46 +00:00
Stepan Kasal
acfaed3aff Mention Gnulib. 2005-06-30 12:29:19 +00:00
Stepan Kasal
425048cf51 Use #!/, without space. 2005-06-29 10:47:38 +00:00
Stepan Kasal
8b91927a02 ksh looses redirections on exec 2005-06-29 10:36:04 +00:00
Derek Price
a8a6a41553 * doc/autoconf.texi (Limitations of Usual Tools <sed>): Reword recent
addition.
2005-06-28 13:08:29 +00:00
Paul Eggert
8bf5f56cf9 * doc/autoconf.texi (Subdirectories): Fix markup typos. 2005-06-24 00:54:00 +00:00
Paul Eggert
124c037f3d Regenerate. 2005-06-23 20:11:18 +00:00
Stepan Kasal
91ac8c668f fix AT_CONFIG_CMP 2005-06-22 12:13:59 +00:00
Stepan Kasal
79539e6fbf No blanks after sed command ":" and other minor fixes. 2005-06-21 16:03:58 +00:00
Paul Eggert
f149ecd2b8 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
* doc/autoconf.texi:
Don't mention Solaris versions so much, if a
problem is common to all extant versions of Solaris.  Say "SunOS
4" instead of "SunOS" for SunOS 4.
(awk): Mention more of the limitations of traditional Awk.
(cat): Don't talk about cat -v.
2005-06-17 20:37:36 +00:00
Paul Eggert
7a2fe7a963 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
on Mac OS X 10.4 reported by Peter O'Gorman in:
http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
Use shell builtins rather than 'expr', to work around expr bug.
2005-06-16 07:24:42 +00:00
Paul Eggert
9cafea1a75 Use ":label" rather than ": label" for sed scripts,
as Posix suggests.
2005-06-11 07:01:37 +00:00
Paul Eggert
2fb1b97ad0 * doc/autoconf.texi: "filesystem" -> "file system".
"behavior" -> "behavior".
Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
* lib/autoconf/general.m4: Omit blank after ":" sed command,
as per POSIX.
* lib/m4sugar/m4sh.m4: Likewise.
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
with Solaris sed.  Fix by Stepan Kasal.
2005-06-11 06:05:11 +00:00
Derek Price
647d972332 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
AS_TR_SH.
2005-06-10 15:42:42 +00:00
Paul Eggert
85084d669a Fix texinfo typo in my previous change. 2005-06-08 20:27:20 +00:00
Derek Price
3a69199220 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
redefined M4 macros to this node.  Document m4_include & m4_sinclude.
Move m4_undefine to alphabetical order.
2005-06-08 15:44:09 +00:00
Paul Eggert
45ee5fe26b * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
Tru64 ksh pattern matching bug.  Reported against Libtool by
Albert Chin <libtool@mlists.thewrittenword.com> and
Nicolas Joly <njoly@pasteur.fr>.
2005-06-08 07:55:28 +00:00
Paul Eggert
2fa1c5c37e * README: Recommend GNU M4 1.4.3 or later.
* doc/autoconf.texi (Introduction): Likewise.
Reword to avoid some formatting glitches.
Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
Clarify explanation of HP compiler bug.
Redo example output tp match current CVS snapshot.
Use @example.org in email addresses when the examples
might get inadvertently cut-and-pasted into user code.
Remove example of autom4te usage that doesn't seem to work now.
Use modern AC_INIT (except when the example is meant to be
shown with Autoconf 2.13).
Update ksh info for Solaris 9 and later.
KB -> kB.
Modernize description of Automake versions a bit.
Don't claim a future version of Autoconf is near.
Add [] to examples, so that the manual
follows its own advice about quoting better.
* doc/install.texi: Reword to avoid some formatting glitches.
2005-06-08 07:13:50 +00:00
Stepan Kasal
74a787af12 Solaris' awk cannot take more than 99 fields. 2005-06-06 08:01:30 +00:00
Stepan Kasal
4e5d401aca AIX 5.2 awk cannot swallow literals longer than 399. 2005-06-04 07:31:48 +00:00
Stepan Kasal
153958d92b AIX awk cannot swallow literals longer than 399. 2005-06-04 07:30:05 +00:00
Paul Eggert
228ae3b1f6 Terminate sentence. 2005-06-01 07:20:26 +00:00
Paul Eggert
2fc0b2c9ba * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
* doc/autoconf.texi (Particular Headers): Reword example
for multiline stdbool replacement.
(Setting Output Variables): Reword text a bit.  Don't
give all the details about |#_!!_#|.
Reword description of line replacement.
2005-06-01 07:16:50 +00:00
Paul Eggert
4157a11dd9 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
now contain newlines, and substituted files must be referenced on
a line alone; the sed scripts to substitute them are now very
different.
(_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
commands can be put in a sed script portably.
* doc/autoconf.texi (Setting Output Variables): Document above
changes.  (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
use of multiline substitution.
* tests/torture.at: No longer expect substitution of newline to fail.
2005-06-01 06:54:45 +00:00
Stepan Kasal
62f684c32e Don't use "shift 2". 2005-05-25 06:45:11 +00:00
Stepan Kasal
8641b608b5 make top_builddir consistent with Automake 2005-05-20 08:13:15 +00:00
Alexandre Duret-Lutz
0f41ecbc90 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
as on 2005-05-02.
* doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
Mention LIBOBJDIR.
2005-05-14 18:33:30 +00:00
Paul Eggert
681d17dce2 Update FSF postal mail address. 2005-05-14 07:00:38 +00:00
Paul Eggert
a9ff3f6e13 (Autoconf Language): Be more precise about
quoting rules.  Problems noted by Stepan Kasal.
Also, throughout this document, be more careful about white space.
"blank", "white space", and "space" all have different meanings
and we should be careful to say what we mean.
2005-05-10 23:37:37 +00:00
Paul Eggert
f5b265430a Fix C++ related problems reported by Werner Lemberg.
* doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
* lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
* lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
avoid problems with C++ and throw.
* tests/compile.at: .cpp, not .cc.
2005-05-06 05:34:43 +00:00
Paul Eggert
2bbfc560b5 * doc/autoconf.texi (Generic Functions): Typos. 2005-05-05 08:13:25 +00:00
Gary V. Vaughan
1dab064d21 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
set by latest automake.
2005-05-02 20:14:49 +00:00
Paul Eggert
e214711ff0 (Limitations of Usual Tools): "expr '' \| ''"
outputs 0 on GNU/Linux these days.
2005-05-02 05:46:47 +00:00
Paul Eggert
01b7739d70 POSIX 1003.1-2001 -> Posix 2005-04-29 22:10:30 +00:00
Paul Eggert
312fdf3750 (Limitations of Builtins): Describe "set -" problems. 2005-04-29 22:05:14 +00:00
Paul Eggert
fd5a3dc3d0 * doc/autoconf.texi (Autoconf Language): Add more description
about quoting heuristics.
2005-04-29 19:22:55 +00:00
Stepan Kasal
5d62f91042 Fix a mistake in an example: AC_DEFINE_UNQUOTED -> AC_DEFINE. 2005-04-29 13:16:55 +00:00
Stepan Kasal
5adc3cae53 FIXMEs about quadrigraphs in help text. 2005-04-22 06:37:24 +00:00
Stepan Kasal
fbbc2c6023 Examples for --with-* and --enable-*. 2005-04-14 14:56:55 +00:00
Paul Eggert
2f0c7a00ca (Particular Functions): Use gnulib's current
pattern for alloca snippet.
2005-04-10 22:19:26 +00:00
Stepan Kasal
f5ea1ec089 a typo 2005-04-01 08:55:58 +00:00
Paul Eggert
789f0bf6ff * NEWS: The configure command now warns you if you attempt to use
a directory whose name contains a special character like space,
newline, or "\".
* doc/autoconf.texi (Installation Directory Variables): Allow
"," in file names.  Do not use \@; it's not a portable regexp.
* bin/Makefile.am (edit): Likewise.
* lib/Makefile.am (edit): Likewise.
* tests/Makefile.am (edit): Likewise.
* tests/semantics.at: Likewise.
* tests/torture.at: Likewise.
* lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
* lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
* doc/autoconf.texi (File System Conventions): Warn about
unportable file names.
* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
(AC_INIT): Use it.
(_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
ac_pwd, and quote srcdir.
* lib/autotest/general.m4 (AT_INIT): Quote file name args.
2005-03-23 01:01:58 +00:00
Paul Eggert
96e362a44d * doc/autoconf.texi: Fix some systematic formatting problems.
".)"  needs a following @: if not at the end of a sentence, and
similarly for "!)".  "etc." should be preceded by a comma.
"n-th" -> "@var{n}th".  pdksh is still buggy, so update its date.
(Input): Mention that AC_CONFIG_AUX_DIR's
argument is often called 'build-aux'.
2005-03-22 19:24:05 +00:00
Stepan Kasal
67cdabe80f typos in the manual 2005-03-10 12:17:03 +00:00
Stepan Kasal
0bf7d67f6d remind that AC_TRY_LINK is obsolete 2005-03-08 08:11:34 +00:00
Paul Eggert
10cd1172b4 Regenerate. 2005-02-23 23:26:05 +00:00
Paul Eggert
29373c6512 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
/dev/null, as "configure" shouldn't read stdin, and this insulates
us from problems (e.g., when testing for "cl").  Also, do this
redirection before invoking "hostname" or "uname", and keep the
original input stream available via...
(AS_ORIGINAL_STDIN_FD): ... this new macro.
(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
bother with "</dev/null" since it's now done at the top of
'configure'.
* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
* lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
* doc/autoconf.texi (File Descriptor Macros): New section.
(Printing Messages): Mention it.
* tests/base.at (Input/Output): New test.
2005-02-23 23:24:49 +00:00
Stepan Kasal
7192963509 m4_defun([AS_IF], [...]) 2005-02-15 06:40:21 +00:00