Commit Graph

4414 Commits

Author SHA1 Message Date
Stepan Kasal
79539e6fbf No blanks after sed command ":" and other minor fixes. 2005-06-21 16:03:58 +00:00
Stepan Kasal
0ed02e1aa5 fix m4split([]) 2005-06-21 15:38:24 +00:00
Derek Price
0066149a8b * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious. 2005-06-20 14:48:09 +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
9e1a1f1400 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
(AS_VERSION_COMPARE): New macro.  The API is taken from CVS,
but the implementation is entirely different and is designed
to be compatible with glibc strverscmp.
* tests/m4sh.at (AS_VERSION_COMPARE): New test.
2005-06-16 21:03:47 +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
ac1d3e9d15 Regenerate. 2005-06-11 06:06:14 +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
Paul Eggert
306a7612e4 Regenerate. 2005-06-10 18:00:00 +00:00
Paul Eggert
0961b6fc08 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
(.x.1): Ignore the time stamp in the .TH line when deciding whether
to update the man page.  That way, we don't have to check in new
man pages every month.
2005-06-10 17:56:21 +00:00
Paul Eggert
96fb6afe33 Regenerate. 2005-06-10 17:19:20 +00:00
Paul Eggert
bf9df8d65a * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
quotes and backslashes.  Patch from Derek Price.
2005-06-10 17:19:02 +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
da373fad14 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff -u. 2005-06-08 20:27:51 +00:00
Paul Eggert
85084d669a Fix texinfo typo in my previous change. 2005-06-08 20:27:20 +00:00
Paul Eggert
7c4b2f464d (AT_INIT): Don't accept Solaris 9's diff -u, since it outputs chatter
if the input files are the same.  Problem reported by Ralf Menzel.
2005-06-08 20:22:39 +00:00
Derek Price
505d062d8f * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
renaming them since they are about to be redefined anyhow.
2005-06-08 18:54:23 +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
647acbdf1d Regenerate. 2005-06-08 07:15:51 +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
bc31277f07 typo 2005-06-07 13:03:09 +00:00
Stepan Kasal
14b38a86c3 fix typo 2005-06-06 09:36:11 +00:00
Stepan Kasal
d354edbe65 Fix m4_cdr for one-member lists. 2005-06-06 08:47:02 +00:00
Stepan Kasal
160577c29c Simplify _AC_OUTPUT_HEADERS. 2005-06-06 08:21:08 +00:00
Stepan Kasal
1a56364377 Simplify _AC_OUTPUT_HEADERS. 2005-06-06 08:15:47 +00:00
Stepan Kasal
74a787af12 Solaris' awk cannot take more than 99 fields. 2005-06-06 08:01:30 +00:00
Steven G. Johnson
b95e76c6da check for g95 in addition to gfortran 2005-06-05 18:46:03 +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
Stepan Kasal
3971ae76a7 a mistake: builddir, not srcdir 2005-06-03 13:47:56 +00:00
Stepan Kasal
f906445c01 Make sure autotest.m4f is up-to-date before using it. 2005-06-03 13:42:15 +00:00
Stepan Kasal
8491ef1eaa * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
(DISTCLEANFILES): Remove $(check_SCRIPTS).
2005-06-03 13:16:39 +00:00
Paul Eggert
b17b6485fb * lib/autotest/general.m4 (AT_INIT): Don't create a regular
expression of unbounded size when processing the --list option.
2005-06-02 23:30:39 +00:00
Paul Eggert
756608a3c3 (AT_INIT): Don't create a regular
expression of unbounded size when processing the --list
option.  This runs afoul of a limit of 399 bytes per regular
expression on AIX.  Problem reported by Ralf Wildenhues.
2005-06-02 23:30:13 +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
Paul Eggert
04dee24a8a Regenerate. 2005-06-01 06:36:25 +00:00
Paul Eggert
102586d8e0 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
From Ralf Menzel (trivial change).
2005-05-27 22:21:44 +00:00
Paul Eggert
f003e6431a * tests/local.at: Don't attempt to check for negated character
classes in shell scripts.  The test was too brittle.
2005-05-25 18:35:05 +00:00
Stepan Kasal
62f684c32e Don't use "shift 2". 2005-05-25 06:45:11 +00:00
Stepan Kasal
6818abb033 Combine the changelog entries 2005-05-24 07:55:29 +00:00
Stepan Kasal
7799e704a2 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo commands 2005-05-24 07:32:13 +00:00
Stepan Kasal
e96830f886 (_AS_ECHO_LOG): New macro 2005-05-24 07:29:57 +00:00
Stepan Kasal
9f639eb48d (AS_ESCAPE): Make the pattern a bit simpler 2005-05-24 07:27:55 +00:00
Stepan Kasal
e7d74c4c5d Move _AS_ECHO_UNQUOTED lower; no code change. 2005-05-24 07:27:15 +00:00
Stepan Kasal
f014f06e6b (m4_ifset): Use m4_ifval. 2005-05-24 07:25:32 +00:00
Stepan Kasal
fbcb298898 Merge the two error messages when ac_unique_file is not found. 2005-05-24 07:24:49 +00:00