Commit Graph

3334 Commits

Author SHA1 Message Date
Akim Demaille
f12cd33d89 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
parallel builds.
2002-03-04 15:08:23 +00:00
Akim Demaille
cfe347de96 * doc/autoconf.texi (Transforming Names): Equality between target
and host is irrelevant.
(Specifying Names, Canonicalizing): Remove all references to the
backward compatibility hooks.  Rather, collect them all into...
(Hosts and Cross-Compilation): this new section.
* doc/install.texi (System Type): Ditto.
* lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
that `--host' implies cross-compilation.
2002-03-04 15:06:44 +00:00
Akim Demaille
a002bdb487 * doc/autoconf.texi (Evaluation Macros): New.
* lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
useless.
(_m4_foreach): Define the variant with immediate evaluation so
that it contains exactly the items, not an expression which
evaluation is the current item.
(m4_re_string, m4_re_word): Don't over quote them.
2002-03-04 15:05:13 +00:00
Akim Demaille
e1189f6dbc Instead of having stacking `shift's evaluated at the end, let
`foreach' loops immediately evaluate them.
* lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
$*.  This is the n-th time I change my mind, but hopefully this is
the last...
(m4_lquote): New.
(m4_text_wrap): Use m4_foreach, which is finally correct _and_
efficient.
(m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
it was only a hack for m4_text_wrap.
(m4_car2): Remove, replaced by...
(m4_cdr): New.
(_m4_foreach): Adjust.
* lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
m4_bpatsubst for clarification.
2002-03-04 15:02:21 +00:00
Akim Demaille
223a67a67a * doc/autoconf.texi (Changequote is Evil): New. 2002-03-04 14:33:12 +00:00
Kevin Ryde
1c1e2aed6a * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
on old systems like SunOS.
2002-03-02 23:22:27 +00:00
Kevin Ryde
097dc9a870 * doc/autoconf.texi (Function Portability): Add va_copy and va_list. 2002-03-02 23:16:55 +00:00
Peter Eisentraut
61c82103d4 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
lib/autoconf/functions.m4, lib/autoconf/general.m4,
lib/autoconf/headers.m4, lib/autoconf/lang.m4,
lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
of messages.
2002-03-02 15:19:47 +00:00
Akim Demaille
4f10c9b2d9 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
message to be sent.
2002-02-28 15:55:13 +00:00
Kevin Ryde
6ff1b4abc9 * doc/autoconf.texi (Function Portability): Add va_copy and va_list. 2002-02-27 22:25:56 +00:00
Akim Demaille
772b0c11e2 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
From Akinori Musha.
2002-02-25 17:38:41 +00:00
Alexandre Duret-Lutz
ae51e3d9c3 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
translate rn to n.
2002-02-14 12:04:39 +00:00
Akim Demaille
22f21780b7 Version 2.52h. 2002-02-11 14:04:54 +00:00
Akim Demaille
00cc1b7f97 . 2002-02-10 13:20:39 +00:00
Akim Demaille
e421e67915 Version 2.52h. 2002-02-10 12:38:46 +00:00
Akim Demaille
a7181f1e85 Typo. 2002-02-09 08:27:23 +00:00
Akim Demaille
1b313550c5 freeze.mk: s/AUTOM4TE/MY_AUTOM4TE/ 2002-02-07 21:03:22 +00:00
Akim Demaille
43309fee5d Version 2.52h. 2002-02-07 18:31:27 +00:00
Akim Demaille
0913170fae Fix Autoconf PR/209.
Also reported by Frank Denis.
* lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
2002-02-07 15:49:31 +00:00
Akim Demaille
704a0d0ce2 Fix Autoconf PR/207:
AC_PREFIX_PROGRAM fails with dashed program names
* lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
variable when looking for the prefix program.
Now it also works for shell variables.
2002-02-07 12:07:20 +00:00
Akim Demaille
fba777c6d6 Regen. 2002-02-07 12:06:00 +00:00
Akim Demaille
ff46174090 Update. 2002-02-07 09:57:49 +00:00
Akim Demaille
486b91d289 * doc/autoconf.texi (Limitations of Builtins): More about
case/esac.
2002-02-07 09:45:55 +00:00
Akim Demaille
d03ab7023b * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
case/esac, some shells don't support it.
Reported by Zack Weinberg.
* tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
2002-02-06 17:51:01 +00:00
Akim Demaille
b64fa8b69b * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
sure not to introduce newlines in at_groups.
* lib/autotest/Makefile.am (autotest.m4f): Typo.
2002-02-06 17:29:44 +00:00
Pavel Roskin
74906e14fc Add m4sh.m4f and m4sugar.m4f 2002-02-06 15:54:42 +00:00
Pavel Roskin
7bb3cbb22f Add autotest.m4f 2002-02-06 15:53:35 +00:00
Akim Demaille
c72b68217e * tests/torture.at (Configuring subdirectories): Skip if aclocal
is not available.
2002-02-06 09:39:54 +00:00
Paul Eggert
41d238fd42 * doc/autoconf.texi (Specific Compiler Characteristics):
Describe HP-UX cc bug workaround more accurately.
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
not unsigned long.
* tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
cross-compilers, too.  This undoes some of the most recent change
to this file.
2002-02-05 22:57:26 +00:00
Paul Eggert
f3aff19f8d * doc/autoconf.texi (Specific Compiler Characteristics):
Describe HP-UX cc bug workaround more accurately.
* lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
not unsigned long.
* tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
cross-compilers, too.
2002-02-05 22:56:16 +00:00
Akim Demaille
679d49db80 Regen. 2002-02-05 12:29:22 +00:00
Akim Demaille
0844415fe2 Really add freeze.mk. 2002-02-05 10:20:51 +00:00
Akim Demaille
7411fbed13 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
to make sure they are up to date when `check' is run.
2002-02-05 08:28:08 +00:00
Akim Demaille
ee1dba18e4 * doc/autoconf.texi (Making testsuite Scripts): Document
package.m4.
2002-02-05 08:27:53 +00:00
Akim Demaille
8ccaaa8d71 The previous checkin lacked this ChangeLog. 2002-02-05 08:27:23 +00:00
Akim Demaille
f78ae3e5d5 Implement `autom4te --freeze'.
* bin/autom4te.in (&freeze): New.
* lib/autoconf/autoconf.m4, lib/autotest/general.m4,
* lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
2002-02-05 08:24:06 +00:00
Akim Demaille
b0f1186048 Implement `autom4te --freeze'.
* bin/autom4te.in (&freeze): New.
* lib/autoconf/autoconf.m4, lib/autotest/general.m4,
* lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
2002-02-05 08:12:46 +00:00
Akim Demaille
542109e14f * bin/autom4te.in (&parse_args): Implement `frozen files are
optional are the sum of the previous files on the command line'.
Also, pass `--reload-state=' on them, so...
(handle_m4): don't.
* lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
(M4sh): Rely on M4sugar.
(Autotest, M4sh, M4sugar): Use frozen files.
2002-02-05 08:11:32 +00:00
Akim Demaille
ae45e9a242 Update NEWS. 2002-01-31 17:33:44 +00:00
Akim Demaille
3552e970f3 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
* doc/autoconf.texi (Initializing configure): Adjust.
2002-01-31 16:54:32 +00:00
Akim Demaille
29b16548fe * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
alphanumeric to `-' instead of `_'.
2002-01-30 16:13:10 +00:00
Akim Demaille
2dad628b1e * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
for plain code, the other for cross-compilation code.  The latter
is now run with GCC only.
* doc/autoconf.texi (Compilers and Preprocessors): New.
2002-01-30 15:11:49 +00:00
Akim Demaille
2d6f8defa5 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
values.
* doc/autoconf.texi (Initializing configure): Explain how to
change AC_INIT default values.
2002-01-30 13:08:45 +00:00
Akim Demaille
06978acd7b * tests/torture.at (Configuring subdirectories): Use configure.in,
so that aclocal 1.4 works.
Reported by Alexandre Duret-Lutz and Larry Schmitt.
2002-01-29 17:19:29 +00:00
Akim Demaille
b485e31746 Bump to 2.52h. 2002-01-28 12:16:23 +00:00
Akim Demaille
ebf52538fe * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
needs an argument.
2002-01-28 10:46:13 +00:00
Akim Demaille
3b84d54756 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
AUTOTEST_PATH *after* it was set.
Don't put `.' in the PATH: the user should be precise and `./' if
needed.  In addition, given that the test suite does some `cd', if
`.' is in the path, the `tested programs' sections will report
programs found in the test suite's directory, while during the
tests (performed in their own directory), these programs are no
longer visible.  In other words, the results is confusing and
useless.
* tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
2002-01-28 10:46:00 +00:00
Akim Demaille
b78cf4bd13 Bump to 2.52h. 2002-01-28 10:44:29 +00:00
Akim Demaille
f3124788a0 . 2002-01-25 11:36:34 +00:00
Akim Demaille
fa219f72d2 Don't DISTCLEAN package.m4. 2002-01-25 10:49:12 +00:00