Akim Demaille
41c5f49c1f
* lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
...
(AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
(AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
(AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
(AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
(AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
(AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
(AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
(AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
(_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
(_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
(_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
(_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
(_AC_OUTPUT_SUBDIRS): Move to...
* lib/autoconf/status.m4: this new file.
* lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
* tests/Makefile.am, tests/suite.at: Adjust.
2001-08-27 07:15:39 +00:00
Akim Demaille
ba3b08af20
Automake 1.5.
...
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
2001-08-27 07:12:16 +00:00
Akim Demaille
f827e95708
Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
...
* lib/autoconf/version.in: Remove.
* lib/m4sugar/version.in: New.
* lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
Adjust callers.
* bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
the name of the directory they're in, instead of the filename,
since version.m4 is now in m4sugar, but m4_acversion must not be
classified as an Autoconf macro.
($input_m4): Don't qualify the path to m4sugar.
Rather, pass autoconf_dir to m4.
* tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
* tests/suite.at: Require 2.52c.
2001-08-27 07:08:56 +00:00
Akim Demaille
d5c038a64b
testsuite.log should include config.log.
...
* lib/autotest/autotest.m4: New.
* lib/autotest/general.m4, tests/atspecific.m4: Adjust.
* tests/suite.at : Adjust.
(AT_INIT): Log config.log.
* lib/m4sugar/m4sugar.m4 (m4_text_box): New.
* lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
* lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
(_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
of config.log on traps.
(_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
for config.status'.
Open the log as soon as possible.
Use the same log introduction as configure's.
2001-08-27 07:03:48 +00:00
Paul Eggert
7c331cbfe8
(Indices): New node.
...
Move indices out of the top level menu and into this submenu.
2001-08-22 17:59:30 +00:00
Paul Eggert
6f64b7b7f2
* doc/autoconf.texi (Indices): New node.
...
Move indices out of the top level menu and into this submenu.
2001-08-22 17:58:59 +00:00
Akim Demaille
5c291bb921
Add.
2001-08-22 06:44:57 +00:00
Akim Demaille
23126e8683
* lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
...
AC_TRY_COMMAND.
(AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
2001-08-22 06:25:15 +00:00
Akim Demaille
326fb6ba29
* lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
...
(AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
(AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
* lib/autoconf/programs.m4: here.
* lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
(AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
(AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
* lib/autoconf/programs.m4: here.
(_AC_DECL_YYTEXT): Rename as...
(_AC_PROG_LEX_YYTEXT_DECL): this.
* lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
* tests/Makefile.am, tests/suite.am: Adjust.
2001-08-22 06:25:00 +00:00
Akim Demaille
0ad3e59592
* lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
...
Move to...
* lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
here.
* lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
* lib/autoconf/functions.m4: here.
* lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
(AH_CHECK_LIB): Move to...
* lib/autoconf/libs: this new file.
* lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
(_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
* lib/autoconf/libs.m4: here.
* lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
2001-08-22 06:24:46 +00:00
Akim Demaille
ebca389eda
* lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
...
* lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
(AC_SITE_LOAD): Better logging of config.site.
2001-08-22 06:24:29 +00:00
Akim Demaille
9cd559746e
* configure.ac (AT_CONFIG): Fix the path.
...
* m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
can be used.
2001-08-20 17:57:06 +00:00
Akim Demaille
010d2196d5
More ignore.
2001-08-20 16:39:52 +00:00
Akim Demaille
47f0fa2d67
Add.
2001-08-20 16:32:55 +00:00
Akim Demaille
be92e979a7
Englishos.
2001-08-20 16:25:42 +00:00
Alexandre Duret-Lutz
aeb04bb72f
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
...
program with AC_LANG_PROGRAM before feeding it to
AC_COMPILE_IFELSE. Cleanup grep usage.
2001-08-20 16:25:00 +00:00
Akim Demaille
5708ee1ee0
* ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
...
* NEWS, README, README-alpha, TODO, tests/README: This package is
`Autoconf', not `autoconf' (the executable).
2001-08-20 15:16:54 +00:00
Akim Demaille
9daf72b4a1
Info readers seem to need `Index' in the index node title :(
...
* doc/autoconf.texi: Reverse the 2001-08-15 change which
simplified index node names.
2001-08-20 14:47:15 +00:00
Akim Demaille
c6e6085710
* lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
...
arguments are not literals.
* doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
Specify the output variables, and macros defined.
2001-08-20 14:46:59 +00:00
Akim Demaille
23f9787fe5
* doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
...
(Examining Syntax) <AC_TRY_COMPILE>
(Examining Libraries) <AC_TRY_LINK>
(Test Programs) <AC_TRY_RUN>: These macros double quote some of
their arguments.
Reported by Werner Lemberg.
2001-08-20 14:46:41 +00:00
Akim Demaille
e901ead496
* lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
...
top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
Load atlocal late enough to dump it in the log.
* m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
2001-08-20 14:46:29 +00:00
Akim Demaille
e2002fb052
* tests/torture.at (Configuring subdirectories): New test.
...
* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
looking for.
* m4/atconfig.m4: Be sure the let $[0] be expandable.
(top_srcdir): Fix its computation.
2001-08-20 14:46:02 +00:00
Akim Demaille
268d5eec86
* lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
...
* m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
test suite lives.
Create `atconfig' automagically.
Configure atlocal.in if present.
* tests/atconfig.in: Remove.
* tests/atlocal.in: New.
* tests/Makefile.am: Adjust.
2001-08-20 14:45:49 +00:00
Akim Demaille
6e996ed93b
Huh!?!?! There are still some user EOF tags used, which prevents
...
their use in AC_CONFIG_COMMANDS for instance...
* lib/autoconf/general.m4, lib/autoconf/specific.m4,
* lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
`_CSEOF', or `_ATEOF', as appropriate.
* lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
* lib/autotest/Makefile.am (check-local): Enforce this constraint.
2001-08-20 14:45:22 +00:00
Akim Demaille
2ffdce9940
* tests/base.at, tests/m4sh.at, tests/m4sugar.at,
...
* tests/semantics.at, tests/tools.at, tests/torture.at:
s/^AT_DATA(([^][]+),/AT_DATA([$1],/.
2001-08-20 14:45:09 +00:00
Akim Demaille
5693a536c2
Autotest invokes M4sh's initialization.
...
* lib/autotest/general.m4: Adjust the diversion names.
(AT_INIT): Run AS_INIT.
Use the BINSH diversion to invoke /bin/sh.
* tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
* tests/torture.at: Respect M4sugar and M4sh macro name spaces.
2001-08-20 14:45:00 +00:00
Akim Demaille
e0c375ab26
Let M4sh have its own diversions.
...
* lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
(_m4_divert(NOTICE)): Rename as...
* lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
(_m4_divert(HEADER-COMMENT)): these.
(_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
(_m4_divert(NOTICE)): New, for Libtool.
* lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
long ago with `_m4_divert(GROW)'.
(AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
2001-08-20 14:44:48 +00:00
Akim Demaille
f4f20f1c63
* tests/base.at, tests/compile.at, tests/foreign.at,
...
* tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
* tests/semantics.at, tests/suite.at, tests/tools.at,
* tests/torture.at: Ask Autotest mode, not Autoconf mode.
2001-08-20 14:44:38 +00:00
Akim Demaille
22d6c214ea
* bin/autom4te.in (handle_output): Handle @__@.
2001-08-20 14:44:26 +00:00
Akim Demaille
ad80ccfe86
* lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
...
* lib/autotest/general.m4: Adjust the license.
2001-08-20 14:44:11 +00:00
Paul Eggert
f5e9303c6d
* doc/autoconf.texi (Function Portability): Mention snprintf,
...
following up on a suggestion by Kevin Ryde.
2001-08-17 16:10:31 +00:00
Paul Eggert
da107d479a
(Function Portability): Mention snprintf,
...
following up on a suggestion by Kevin Ryde.
2001-08-17 16:09:26 +00:00
Akim Demaille
cdb311dd14
* doc/install.texi, doc/autoconf.texi: Use `autoconf', not
...
`autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
2001-08-17 14:54:14 +00:00
Akim Demaille
322a8a75e5
* lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
...
`$0.log' as for projects where testsuite is in src, we'd have
testsuite.log created in src.
2001-08-17 14:46:05 +00:00
Akim Demaille
d69c3d31b4
* bin/autom4te.in (&parse_args): Recognize --normalize.
2001-08-17 12:38:53 +00:00
Akim Demaille
b087a64441
Start implementing the AC_CHECK_HEADER transition scheme.
...
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
(_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
(AC_CHECK_HEADER): Use them.
2001-08-17 12:08:38 +00:00
Akim Demaille
d7e9a0c3c4
* doc/autoconf.texi: Work around Texinfo buglets.
...
(Transformation Rules): One example is enough, users are expected
to have their brains on. And BTW, use DESTDIR.
(dvar): New macro. Use it.
2001-08-17 12:07:26 +00:00
Akim Demaille
d1f539c696
* doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
...
* lib/autotest/general.m4 (AT_INIT): Use the relative dir when
looking for ChangeLogs.
2001-08-17 12:07:10 +00:00
Akim Demaille
80001aa3dc
* bin/autom4te.in: --normalize is a new option.
...
* bin/autoconf.in: Use it.
2001-08-17 12:06:56 +00:00
Akim Demaille
40556ab827
* bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
...
* lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
2001-08-17 12:06:44 +00:00
Paul Eggert
7582d2a4f4
Put INSTALL copyright notice at start, not at end.
2001-08-17 00:42:44 +00:00
Akim Demaille
23e5c88242
* doc/Makefile.am (fu): New index, can't use fn because of defmac.
...
Use it.
2001-08-15 13:23:12 +00:00
Akim Demaille
ab19ca36ae
* doc/autoconf.texi (pr): New index.
...
(prindex, findex): Use, merge, and output them.
(Environment Variable Index, Output Variable Index)
(Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
(Autotest Macro Index): Rename as...
(Environment Variables, Output Variables,Preprocessor Symbols)
(Autoconf Macros, M4 Macros, Autotest Macros): these.
* doc/install.texi: Use @command.
(Environment Variables): Rename as...
(Defining Variables): this.
2001-08-15 12:34:16 +00:00
Akim Demaille
dc9d3f61b4
* doc/autoconf.texi (Function Portability): sprintf's return
...
value.
From Kevin Ryde.
2001-08-15 12:06:30 +00:00
Akim Demaille
a12256cf8f
* Makefile.maint (CVS): New.
...
(local-check): Run changelog-check. last.
(alpha): Don't depend upon local-check, since...
(cvs-dist): depends upon it.
2001-08-15 11:43:28 +00:00
Akim Demaille
d98a887d5a
Regen.
2001-08-15 11:43:08 +00:00
Tim Van Holder
bc1df3d0f1
* tests/Makefile.am: Use a clean-local rule to remove autom4te.cache (it's a directory, not a file.
...
* Makefile.am: Ditto (but maintainer-clean-local).
2001-08-15 10:07:34 +00:00
Akim Demaille
283bf6a536
* bin/autom4te.in (@m4_warning): New.
...
(&handle_m4): Use it.
* tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
warnings are issued at each run.
* tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
is in the src tree.
2001-08-15 07:49:59 +00:00
Akim Demaille
27108d98f9
* tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
...
don't waste time running `autoupdate --version' works.
* tests/tools.at (autoupdating AC_PREREQ): Likewise.
2001-08-15 07:49:39 +00:00
Akim Demaille
dea5c9a3f1
Complete.
2001-08-13 15:18:44 +00:00