Commit Graph

3407 Commits

Author SHA1 Message Date
Akim Demaille
b042fb40ec * doc/autoconf.texi (autom4te.cache): New section. 2002-09-28 16:40:49 +00:00
Akim Demaille
8054f9034f * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
(Automake-preselections): Update.
* bin/autoreconf.in, bin/autoheader.in: Comment changes.
2002-09-28 16:39:22 +00:00
Akim Demaille
ed8b9d7757 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
* lib/autoconf/c.m4, lib/autoconf/functions.m4,
* lib/autoconf/headers.m4, lib/autoconf/libs.m4,
* lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
2002-09-28 16:38:48 +00:00
Akim Demaille
b8ce69bb73 * tests/torture.at (Configuring subdirectories): Be robust to
users who use config.site to require for a cache: in this case,
the two last configure runs, using two different sets of
arguments, trigger a legitimate error.
2002-09-28 14:10:45 +00:00
Akim Demaille
eaa8ee86fb * tests/m4sh.at (Functions Support, Functions and return Support):
New.
2002-09-28 14:10:11 +00:00
Akim Demaille
54b5830601 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
autoheader are Perl programs.
(autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
(autom4te): Specify that the sources are in the $srcdir.
* doc/autoconf.texi (Installation Directory Variables): Adjust.
2002-09-28 14:09:42 +00:00
Akim Demaille
3906e3de21 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
(tm_zone): Move their rules to...
* lib/autoconf/types.m4: here, using AN_ macros.
* lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
(RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
(make, mawk, nawk, ranlib, yacc): Similarly, move to...
* lib/autoconf/programs.m4: here.
* lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
(ETAGS_FOR_AUTOCONF): New.
Use it.
2002-09-28 14:07:47 +00:00
Akim Demaille
7134f17d88 * lib/autoconf/autoscan.m4: New file.
* lib/autoconf/autoconf.m4: Include it.
* lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
that were listed in the original autoscan.list.
* lib/autoconf/headers.m4: Similarly with headers.
* lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
(.m4.m4f): Don't pass --prepend-include, since that's done by
tests/autom4te itself.
* lib/autoscan/Makefile.am: Include freeze.mk.
(autoscan.list): New target --this file is no longer a source.
(autoscan.pre): New file.
2002-09-28 14:06:07 +00:00
Akim Demaille
9dfa6d9aa3 * bin/autoscan.in (@kinds): Make them singular.
Adjust all uses.
(&init_tables): When --debug, report the list of rules to ease
tracking changes in autoscan.list.
* lib/autoscan/autoscan.list (function): Strip comments, sort.
2002-09-28 14:03:14 +00:00
Akim Demaille
51de11a561 * lib/autoscan/functions, lib/autoscan/headers,
* lib/autoscan/identifiers, lib/autoscan/makevars,
* lib/autoscan/programs: Merge into...
* lib/autoscan/autoscan.list: this.
* bin/autoscan.in (&init_tables): Adjust.
2002-09-28 14:02:11 +00:00
Akim Demaille
d8a2311821 * lib/autoscan/functions, lib/autoscan/headers,
* lib/autoscan/identifiers, lib/autoscan/makevars,
* lib/autoscan/programs: Make the `kind' explicit, i.e., each
`functions' line is now prefixed with `function:'.
* bin/autoscan.in (&init_tables): Adjust.
2002-09-28 14:01:11 +00:00
Akim Demaille
0d44ad22d0 From now on, autoscan files must always map a macro name to a
word: there is no `default' macro for autoscan.
* bin/autoscan.in (&init_tables): Reject entries with no macro at
all.
* lib/autoscan/functions, lib/autoscan/headers: Make the macro
explicit.
2002-09-28 14:00:35 +00:00
Akim Demaille
a670d9bc40 * bin/autoscan.in (%c_keywords): Remove.
(&used): Keep only track of the words we might be interested in.
(&output_kind): It is no longer needed to look for non active
checks.
2002-09-28 13:59:59 +00:00
Akim Demaille
3bf99f5ce0 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
* lib/autoscan/functions: Adjust.
* doc/autoconf.texi (Particular Functions): Adjust.
2002-09-27 09:25:41 +00:00
Akim Demaille
2e5d3adde4 s/depecrated/deprecated/. 2002-09-27 08:48:26 +00:00
Akim Demaille
9a56bdde71 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
from /tmp.
Thanks to Bill Moseley and Paul Eggert.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
the tmpdir must be created.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
dir be in the build tree, instead of $TMPDIR.
2002-09-27 08:20:26 +00:00
Akim Demaille
686b49d823 * bin/autoscan.in: Improve the comments.
(&parse_args): Drop obsolete undocumented options.
(&output_kind): Output warnings.
* lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
(getwd): Trigger a warning.
2002-09-27 07:35:39 +00:00
Akim Demaille
ce41e55f9e Update. 2002-09-27 07:30:47 +00:00
Akim Demaille
5fa9103652 * doc/autoconf.texi (autoreconf Invocation): Adjust. 2002-09-26 15:47:56 +00:00
Akim Demaille
7a3cf15135 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
Reported by Ralf Corsepius.
* doc/autoconf.texi (autoreconf Invocation): Likewise.
2002-09-26 12:05:24 +00:00
Akim Demaille
906c694837 Single suffix rules and seperated dependencies are not portable.
* doc/autoconf.texi (Installation Directory Variables): Update.
(Limitations of Make): Some about `Single Suffix Rules and
Separated Dependencies'.
* bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
(ifnames, autoscan, autom4te): Un-factor into several rules.
2002-09-26 11:57:28 +00:00
Paul Eggert
5ab96b3b06 * BUGS (Interoperability bugs): New section. Mention libtool
1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
2002-09-26 06:17:12 +00:00
Paul Eggert
8bf6d8a6ce (Interoperability bugs): New section. Mention libtool 1.4.2,
configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
2002-09-26 06:16:44 +00:00
Paul Eggert
ef5d75f474 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
make handles suffix-rules differently from GNU make.

* bin/Makefile.am (SUFFIXES, .in): Remove.
(autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
Move the body of the old .in rule here.
2002-09-25 00:25:34 +00:00
Paul Eggert
60641de439 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
make handles suffix-rules differently from GNU make.

(SUFFIXES, .in): Remove.
(autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
Move the body of the old .in rule here.
2002-09-25 00:25:11 +00:00
Akim Demaille
13fd012e2f i960 compilers create `b.out' files by default.
Reported by Ralf Corsepius.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
(_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
2002-09-16 08:38:45 +00:00
Paul Eggert
8ed9c8db19 * doc/autoconf.texi (Particular Headers): Remove obsolete
reference to `struct timezone' in the description of
AC_HEADER_TIME.
2002-09-13 17:47:43 +00:00
Paul Eggert
d1bd91c5e5 (Particular Headers): Remove obsolete reference to `struct timezone'
in the description of AC_HEADER_TIME.
2002-09-13 17:47:23 +00:00
Akim Demaille
82a86b0b89 Bump to 2.54a. 2002-09-13 10:21:07 +00:00
Akim Demaille
44c9646f2b . 2002-09-13 09:44:39 +00:00
Akim Demaille
c202d060ca Version 2.54.
* config/config.sub, config/config.guess: Update.
* Makefile.maint: Update from bits of the Coreutils 4.5.1.
* Makefile.am: Adjust.
2002-09-13 08:41:53 +00:00
Akim Demaille
fee981ce59 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
reading config.log when the compiler is rejected.
Suggested by Guido Draheim.
2002-09-13 07:18:15 +00:00
Akim Demaille
c751364a4a * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
(chdir_init) might hang when stat'ing mounted directories.
Reported by Vance Shipley.
2002-09-13 06:59:56 +00:00
Akim Demaille
5bcbc9d67a * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
the lists.
2002-09-12 15:04:18 +00:00
Akim Demaille
beed4bb812 * doc/autoconf.texi (Defining Symbols): Present two different
prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
difference between 1 argument calls, and 2-3 argument calls.
2002-09-12 13:24:19 +00:00
Akim Demaille
e7f0c2d7d2 * doc/autoconf.texi: Review grammar and punctuation. 2002-09-12 13:15:40 +00:00
Paul Eggert
d0ea017c41 Frequently Asked Questions About Autoconf ->
Frequent Autoconf Questions.  From Bruce Korb.
2002-09-12 06:42:08 +00:00
Paul Eggert
7326508dd7 Fix minor formatting, spelling, and grammatical typos. 2002-09-12 05:58:03 +00:00
Paul Eggert
2dd31f757c * doc/autoconf.texi: Fix minor formatting, spelling, and
grammatical typos.
2002-09-12 05:56:47 +00:00
Paul Eggert
a80789dab2 * doc/autoconf.texi (Defining Symbols): Explain that
AC_DEFINE(var) defaults to 1, but AC_DEFINE(var,,description) does
not; and the AC_DEFINE(var) case is obsolescent.
2002-09-11 19:04:26 +00:00
Paul Eggert
a223ff645d (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case is
obsolescent.
2002-09-11 19:03:59 +00:00
Akim Demaille
d49b7acc2f * doc/autoconf.texi (Questions): Rename as...
(FAQ): this.
(Defining Directories): New.
2002-09-11 10:11:27 +00:00
Akim Demaille
533c668ec2 Regen. 2002-09-11 10:01:54 +00:00
Akim Demaille
f1e12eabb9 * doc/autoconf.texi (Making testsuite Scripts): Update.
Suggested by Nishio Futoshi.
2002-09-09 16:27:01 +00:00
Akim Demaille
95e73b1a64 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
plain `@' is wanted.
2002-09-09 16:10:14 +00:00
Akim Demaille
7a3408107f * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
`duplicates', since the algorithm was too naive and could keep
`--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
keep `--prefix foo --prefix bar' as `--prefix foo bar'.
Reported by Ralf Corsepius.
* tests/torture.at (Configuring subdirectories): Exercise these
cases.
2002-09-09 15:51:52 +00:00
Akim Demaille
3e8becf84f * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
looking for a replacement file.
* lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
directory is relative.
* doc/autoconf.texi (Generic Functions): Clarify the replacement
directory definition.
Reported by Andreas Schwab and Jim Meyering.
2002-09-09 15:43:37 +00:00
Akim Demaille
899f0c52eb * doc/autoconf.texi (Setting Output Variables): Clarify what
precious variables are.
Suggested by Pontus Skoeld.
2002-09-06 11:10:37 +00:00
Akim Demaille
f0d92912ac Include references to the ls bug. 2002-09-06 09:03:54 +00:00
Akim Demaille
32d4eac8a4 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
(ifnames, autoscan, autom4te): Since we don't only depend on
configure.ac variables (such as VERSION etc.), but also on prefix
and so forth, depend on Makefile, not configure.ac.
Reported by Alexandre Duret-Lutz.
* doc/autoconf.texi (Installation Directory Variables): Adjust.
2002-09-05 09:43:34 +00:00