Commit Graph

157 Commits

Author SHA1 Message Date
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
b8751ea371 * doc/autoconf.texi (ma): Rename this index as...
(ac): this.
2001-08-13 12:28:34 +00:00
Akim Demaille
31b2e1acbc * Makefile.am: Remove dead code and dead comments.
(pdf, html): New targets.
* doc/autoconf.texi (Using Autotest): New chapter.
* doc/Makefile.am (pdf): New targets.
(CLEANFILES): Adjust.
2001-08-13 12:25:05 +00:00
Alexandre Duret-Lutz
bb714a2c0b * NEWS: The autoconf manual now is distributed under the terms
of the GNU Free Documentation License.

* doc/autoconf.texi: Switch from old style copyright notice to FDL.
Add an appendix "Copying This Manual" for the FDL.

* doc/fdl.texi: New file, from
<http://www.gnu.org/licenses/fdl.texi>.

* doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
2001-08-12 13:13:10 +00:00
Akim Demaille
91fbae6966 * Makefile.am: Ship, build and install Autom4te.
(SUBDIRS): Add lib.
* lib/Autoconf/Struct.pm: New, from Automake 1.5.
* configure.in: Require Perl.
* man/autom4te.in: New.
2001-07-24 08:43:06 +00:00
Akim Demaille
653b469788 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
example, rather than (exit 1); exit (which isn't portable).
2001-07-19 11:55:48 +00:00
Akim Demaille
f0478c4702 * configure.in: Rename as...
* configure.ac: this.
2001-07-17 07:53:06 +00:00
Akim Demaille
b56908c370 Move texinfo.tex from doc/ to config/. 2001-06-18 18:05:20 +00:00
Akim Demaille
1943ed19d6 * doc/autoconf.texi (ms): New index.
(Macro Index): Rename as...
(Autoconf Macro Index): this.
(M4 Macro Index): New appendix.
(Programming in M4): New chapter.
Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
(Quoting): Rename as...
(M$ Quotation): this.
Be part of `Programming in M4).
2001-06-18 17:23:12 +00:00
Akim Demaille
f7e739cbd1 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
Suggested by Alexander Mai.
2001-06-13 16:26:51 +00:00
Akim Demaille
52a4833e9f * configure.in (standards_texi): Remove, dead code. 2001-06-02 12:30:14 +00:00
Akim Demaille
9027f7efea * config: New directory.
* configure.in: AC_CONFIG_AUX_DIR it.
* tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
2001-05-22 14:43:48 +00:00
Akim Demaille
48ecaeea39 * autoconf.sh (Task script): Be sure that `forbidden.rx' and
`allowed.rx' exist when AWK loads then.
Reported by Rainer Orth.
2001-04-11 16:29:14 +00:00
Steven G. Johnson
8656f8c4e6 Replace all tab characters with (8) spaces, lest the formatting of
example code, etcetera, be messed up.
2001-04-10 03:33:26 +00:00
Akim Demaille
55953c9b14 With expr's that return 0' on failures, the executable suffix is
`0'.  Test and fix.
Reported by Assar Westerlund.

* Makefile.am (maintainer-check): New target.
* tests/Makefile.am (maintainer-check, maintainer-check-posix)
(maintainer-check-c++, expr): Likewise.
* configure.in (EXPR): Look for it.
* tests/atgeneral.m4 (AT_CHECK): Propagate $2's default value.
* tests/compile.at (Extensions): New test.
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
Distinguish files with or without a dot.
2001-01-12 09:39:26 +00:00
Akim Demaille
256a3c55e2 * doc/Makefile.am (MAKEINFO): s/makefino/@MAKEINFO@/.
* missing: chmod +x.
2000-02-28 10:20:50 +00:00
Akim Demaille
ab73229498 2000-02-25 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Default Includes):

	Export the knowledge on disabling echo's trailing new line.

	* acspecific.m4 (AC_PROG_ECHO_N): Renamed as...
	(_AC_PROG_ECHO): this.
	Set ECHO_N, ECHO_C, ECHO_T instead of ac_n, ac_c and ac_t.
	All dependencies changed.
	* doc/autoconf.texi (Preset Output Variables): Document ECHO_C,
	ECHO_N and ECHO_T.
	* m4/atconfig.m4 (fp_PROG_ECHO): Removed.
	(AT_CONFIG): Don't use it.
2000-02-25 13:19:35 +00:00
Akim Demaille
28f9bc5c0d Move the documentation into doc/.
Some CVS tricks were used so that history is kept in both the top
directory, and in doc/.

* doc/Makefile.am: New file.
* Makefile.am: Adjusted.
* configure.in: Adjusted.
* autoconf.texi: Moved from here to...
* doc/autoconf.texi: here.
* make-stdts.texi: Likewise.
* install.texi: Likewise.
* texinfo.tex: Likewise.
2000-02-17 10:57:00 +00:00
Akim Demaille
d7e3c874ea * Makefile.am (CLEANFILES): Added autoupdate.m4f and autoconf.tmp. 2000-02-09 18:08:37 +00:00
Akim Demaille
cd2c46e4ab * README-alpha: New file, based on Automake's.
* Makefile.am: Tuned.
2000-02-09 17:05:21 +00:00
Akim Demaille
ecf746f564 * acgeneral.m4 (AC_INCLUDES_DEFAULT): Make it more robust to
the fact it is used non quoted.
Reported by Jim Meyering.
2000-02-08 13:50:52 +00:00
Akim Demaille
c7eb9bd99e Revamp the autoupdate/AC_OBSOLETE chain. All the details are
given in the prologue of acobsolete.m4.

* acgeneral.m4 (Prologue): Enter the `autoconf' name space.
(AU_DEFUN): New macro.

* autoupdate.m4: New file.
Disable the name spaces `autoconf', and `libm4'.  Disable libm4.
* Makefile.am: Tuned to support the changes above.

* autoupdate.sh: Model after autoconf.sh.
Can run on several files at once (for instance m4/*.m4).
Don't touch files that are up to date.
Run m4 on autoupdate.m4f instead of playing with sed.


Use AU_DEFUN.

* acgeneral.m4 (AC_LINK_FILES, AC_ENABLE, AC_WITH): Use AU_DEFUN,
remove the call to AC_OBSOLETE.
* acspecific.m4 (AC_CYGWIN32): Likewise.
* acoldnames.m4: Replaced all the definitions via `define' or
`AC_DEFUN' to use `AU_DEFUN'.
2000-02-08 13:25:49 +00:00
Akim Demaille
6b8dfc89ca Create libm4.m4.
* Makefile.am: Adjusted for libm4.m4.

* acgeneral.m4 (m4_errprint, m4_warn, m4_fatal, m4_prefix,
m4_eval, m4_shift, m4_format, m4_include_unique, m4_include,
m4_sinclude, m4_quote, m4_split, m4_join, m4_strip, m4_append,
m4_list_append, ifval, ifset, m4_default, m4_case, m4_match,
m4_foreach): Moved from here, to...
* libm4.m4: here.
* acgeneral.m4 (AC_WRAP): Moved from here, to...
* libm4.m4 (m4_wrap): here.  All callers changed.

* acgeneral.m4: Don't include acversion.m4.
* autoconf.m4: Include libm4.m4 and acversion.m4.
* autoheader.m4: Likewise.
2000-02-07 17:42:03 +00:00
Akim Demaille
3c2a8f9b09 Start a new series of tests which check the semantics.
* acgeneral.m4 (AC_CHECK_MEMBER): It is not smart to define
ac_Foo, and use AC_Foo.  Got rid of AC_Member_Aggregate and
AC_Member_Member which were complicating more than simplifying.
(AC_CHECK_DECLS): Use m4 lists.
(AC_CHECK_TYPES): A comma was missing.
* autoheader.m4: (AC_CHECK_DECLS): Use m4 lists.
* doc/autoconf.texi (Generic Declarations): AC_CHECK_DELCS uses m4
lists.
* tests/semantics.m4: New file.  Collection of semantical tests:
verify that the tests are positive and negative when appropriate.
Test AC_CHECK_MEMBERS, AC_CHECK_DECLS and AC_CHECK_TYPES.
2000-02-07 11:54:29 +00:00
Akim Demaille
6e4a18d930 * testsuite/autoconf.g/init.exp: Removed, test performed by
tests/syntax.m4.
* testsuite/autoconf.g/sizeof.exp: Likewise.
* testsuite/autoconf.s/defines.exp: Likewise.
* configure.in (AC_OUTPUT): Adjusted.
* Makefile.am (SUBDIRS): Adjusted.
2000-02-04 14:24:34 +00:00
Akim Demaille
f6dd7456f3 1999-11-11 Akim Demaille <akim@epita.fr>
Introduce a new style of testing, independent from DejaGNU.


	Introduce the logistics.

	* configure.in: Initialize AT, and output tests/atconfig, and
	tests/Makefile.
	* m4/atconfig.m4: New file.
	* m4/Makefile.am: Adjusted.
	* aclocal.m4: Include atconfig.m4.
	* Makefile.am: Adjusted.
	* tests/Makefile.am: New file.
	* tests/atgeneral.m4: Likewise.
	* tests/atconfig.in: Likewise.


	Write tests.

	* tests/syntax.m4: New file, in charge of checking the validity of
	the sh code produced by the macros defined in acspecific.m4.
	acgeneral.m4 is not checked here, because these macros require
	arguments.
	* tests/suite.m4: New file.  Run syntax.m4.
2000-01-29 12:18:40 +00:00
Akim Demaille
10b394d34f 1999-11-10 Akim Demaille <akim@epita.fr>
Let Autoconf use autoconf's `--install'.

	* m4/Makefile.am: New file.
	* m4/init.am: New file, required by Automake.
	* m4/missing.am: Likewise.
	* m4/sanity.am: Likewise.
	* aclocal.m4: Include them.
	* configure.in (AC_OUTPUT): Added m4/Makefile.
2000-01-29 10:30:15 +00:00
Akim Demaille
7e58050fc5 1999-10-31 Akim Demaille <akim@epita.fr>
Create man pages for the executables.

	* Makefile.am (SUBDIRS): Add `man' and prepend `.' so that
	executables be built before help2man is run.
	* configure.in (AC_OUTPUT): Add man/Makefile.
	AC_MSG_ERROR, not AC_ERROR.
	Check for missing help2man.
	* man/Makefile.am: New file.
	* man/autoconf.x: Likewise.
	* man/autoreconf.x: Likewise.
	* man/autoheader.x: Likewise.
	* man/autoscan.x: Likewise.
	* man/autoupdate.x: Likewise.
	* man/ifnames.x: Likewise.
	* man/common.x: Likewise.
2000-01-26 12:32:13 +00:00
Akim Demaille
71a65156f8 1999-10-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_COMPILE_CHECK, AC_TRY_COMPILE,
 	AC_TRY_RUN_NATIVE, AC_OUTPUT_CONFIG_STATUS): Use @PND@ instead of
 	[#]: it looses the editors that try to match the pairs of (), []
 	etc.
	Formatting changes.
	* acspecific.m4: Formatting changes.
2000-01-14 15:19:19 +00:00
Akim Demaille
0df82df28e 1999-10-31 Akim Demaille <akim@epita.fr>
Work properly with Automake 1.4.

	* Makefile.am (distpkgdataDATA): Replaces dist_pkgdata_DATA.
	(nodistpkgdataDATA): Replaces nodist_pkgdata_DATA.
	(EXTRA_DIST): Added $(distpkgdataDATA).
	(pkgdata_DATA): Adapted.
	(AUTOMAKE_OPTION): Require 1.4.
1999-12-21 16:44:10 +00:00
Akim Demaille
d33e827234 1999-10-31 Akim Demaille <akim@epita.fr>
* Makefile.am (pkgdata_DATA): Split into dist_pkgdata_DATA and
	nodist_pkgdata_DATA.
1999-12-21 11:46:41 +00:00
Akim Demaille
bfb9905e93 1999-10-31 Akim Demaille <akim@epita.fr>
* autoconf.m4: Insert -*- Autoconf -*-.
	* acgeneral.m4: Likewise.
	* acspecific.m4: Likewise.
	* acoldnames.m4: Likewise.
1999-12-20 15:54:30 +00:00
Ben Elliston
ccbb05cab2 1999-10-31 Ben Elliston <bje@cygnus.com>
* Makefile.am (CLEANFILES): New explicit variable.
	(editsh): acdatadir is no longer defined, so use pkgdatadir.
	(editpl): Likewise. From Akim Demaille <akim@epita.fr>.
	* Makefile.in: Regenerate.
1999-10-31 02:17:01 +00:00
Ben Elliston
cd2f3be239 1999-10-31 Ben Elliston <bje@cygnus.com>
* configure: Regenerate.
	* aclocal.m4: New generated file.
	* Makefile.in: Regenerate with Automake.
	* testsuite/Makefile.in: Likewise.

1999-10-31  Akim Demaille  <akim@epita.fr>

	Use Automake.  Based on files from Ben Elliston.

	* acgeneral.m4: No longer define AC_ACVERSION, include
 	acversion.m4.
	* acversion.m4.in: New AC_CONFIG_FILE.
	* acspecific.m4: Few formating changes.
	* autoconf.texi: No longer define EDITION, VERSION and UPDATED:
	include version.texi.
	AC_OUTPUT the Makefiles mentioned below and acversion.m4.
	* configure.in: Use AM_INIT_AUTOMAKE.
 	Do not AC_ARG_PROGRAM: AM_INIT_AUTOMAKE does it.
	* Makefile.am: New file.
	* mdate-sh: Likewise.
	* missing: Likewise.
	* testsuite/Makefile.am: Likewise.
1999-10-31 01:54:28 +00:00
Ben Elliston
0c0d41494f 1999-10-07 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* Makefile.in (dist): Fixed for srcdir != objdir.

1999-09-21  Akim Demaille  <akim@epita.fr>

	* Makefile.in (${srcdir}/configure): Use autoconf.sh to build
	Autoconf's configure.  Before the building was performed running
	m4 at hand, but much was not done (e.g., __oline__,
	@BKL@... expansion)

1999-09-17  Akim Demaille  <akim@epita.fr>

	* Makefile.in (DISTFILES): Add THANKS.
1999-10-17 06:29:24 +00:00
Ben Elliston
f0173011c5 1999-09-07 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
* Makefile.in (INSTALL, standards.info, autoconf.info):  MiKTeX
	for Windows treats all options after the first filename as
	additional filenames, so real options must appear before the first
	filename.
1999-09-07 09:25:22 +00:00
Ben Elliston
95feecd9ea 1999-09-04 Jim Blandy <jimb@zwingli.cygnus.com>
* Makefile.in (install): Don't freak if the M4FROZEN files were
	never generated.  m4 1.1 is supported, but doesn't freeze files.
1999-09-04 12:09:31 +00:00
Ben Elliston
b1c223b94c 1999-08-04 Ben Elliston <bje@cygnus.com>
* Makefile.in (INSTALL_SCRIPT): Substitute.
	(install): Install scripts with $(INSTALL_SCRIPT).
1999-08-05 03:45:04 +00:00
Ben Elliston
b97579df26 1999-01-25 Ben Elliston <bje@cygnus.com>
* Makefile.in (clean mostlyclean distclean maintainer-clean):
	Remove .m4f files.
1999-01-25 03:30:33 +00:00
Ben Elliston
1cbe5e94be 1999-01-09 Ben Elliston <bje@cygnus.com>
* Makefile.in (html): New target. Generate HTML documentation.
	Contributed by Wilfredo Sanchez <wsanchez@apple.com>.
1999-01-08 17:05:35 +00:00
Ben Elliston
a05ecea5a5 1998-10-09 Tom Tromey <tromey@cygnus.com>
* Makefile.in (autoconf.m4f): New target.
	(autoheader.m4f): Likewise.
1998-10-09 03:15:27 +00:00
Ben Elliston
8e4ce29cd8 1998-09-27 Ben Elliston <bje@cygnus.com>
* Makefile.in (all): Generate frozen .m4 files at build time.
	(install): Do not freeze .m4 files. Install pre-frozen .m4f files
	using $(INSTALL_DATA).
	(.m4.m4f): Freeze files if m4 supports stored internal state.
	Contributed by Karl Heuer <kwzh@gnu.org>.
1998-09-27 03:46:21 +00:00
Ben Elliston
5e46508ac5 Thu May 28 18:37:36 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (editsh): Substitute for SHELL.
	(Makefile, config.status): Use $(SHELL) when running
	config.status.
Wed Sep  3 23:00:44 1997  Chris Provenzano  <proven@cygnus.com>
	* Makefile.in : Set SHELL=@SHELL@. configure now substiutes
	${CONFIG_SHELL-/bin/sh} in for @SHELL@ at configure time.
1998-09-03 00:54:34 +00:00
David MacKenzie
27baa892d9 rewhack the compiler checking and fix some minor bugs 1996-11-20 00:21:34 +00:00
David MacKenzie
148902c9c6 update street address 1996-06-12 17:55:25 +00:00
David MacKenzie
3016f325ec undo bogus bugfix 1995-11-21 22:45:24 +00:00
David MacKenzie
32dcea46ac bug fixes from net 1995-11-20 20:34:22 +00:00
David MacKenzie
55af85f0bf various tweaks 1995-07-26 05:30:39 +00:00
David MacKenzie
0c29fe2579 fix little nits 1995-03-23 23:49:35 +00:00
David MacKenzie
854d83be44 follow cd with &&, not ; 1995-03-08 17:48:39 +00:00
David MacKenzie
0f53fcad1b various little patches 1995-03-07 00:19:27 +00:00
David MacKenzie
bb41a196e7 various bug fixes 1995-02-09 22:44:35 +00:00
David MacKenzie
77caa43c94 various bug fixes 1995-02-07 22:41:14 +00:00
David MacKenzie
cc59959cd7 PROGS -> SCRIPTS 1994-10-26 22:41:36 +00:00
David MacKenzie
067b137802 use program_transform_name 1994-10-19 05:42:42 +00:00
David MacKenzie
f0fb5f6da6 make script generation safer 1994-10-02 04:34:29 +00:00
David MacKenzie
429e31934d Set datadir to $(prefix)/share. 1994-09-28 14:02:14 +00:00
David MacKenzie
7185c6faea various little cleanups 1994-09-27 22:05:22 +00:00
David MacKenzie
680f86975a fix makefile targets and recursive generation 1994-09-15 18:34:35 +00:00
David MacKenzie
ca572e0282 put back Makefile comment 1994-09-15 00:58:48 +00:00
David MacKenzie
69db95fa74 fix making links and add configure_input 1994-09-13 15:20:48 +00:00
David MacKenzie
fccf840837 install-sh, quote cmd line options 1994-09-11 06:20:58 +00:00
David MacKenzie
95733787c6 rename output var index 1994-09-07 15:07:09 +00:00
David MacKenzie
5be1a80cca various little fixes 1994-09-05 20:12:21 +00:00
David MacKenzie
5863774fc7 add freezing to autoheader 1994-08-30 20:24:50 +00:00
David MacKenzie
9e9ace2ce5 diversions revision, 1.109 1994-08-30 18:42:54 +00:00
David MacKenzie
db5d3a6e73 add notes to manual 1994-08-26 01:15:45 +00:00
David MacKenzie
8c1f9ceb4f rework diversions and substitutions 1994-08-25 18:05:45 +00:00
David MacKenzie
7179e90edc fix up indexes, remove an old macro 1994-08-24 18:28:20 +00:00
David MacKenzie
f7371685eb rewrite AC_DEFINE 1994-08-24 06:41:01 +00:00
David MacKenzie
8aaede57a9 various small adjustments 1994-08-23 15:04:53 +00:00
David MacKenzie
a30c1ef188 clean up substitutions and bugs 1994-08-23 06:01:14 +00:00
David MacKenzie
c0acb3fa79 fix typo 1994-08-09 18:38:55 +00:00
David MacKenzie
5047ea80b4 support alternate input file names 1994-08-09 18:35:50 +00:00
David MacKenzie
cf879be04c fix up dir header check 1994-08-09 13:44:55 +00:00
David MacKenzie
e5fa1dc6a6 cosmetic 1994-08-03 00:15:38 +00:00
David MacKenzie
fff7008edd great renaming. gratuitous spacing changes 1994-08-01 13:44:22 +00:00
David MacKenzie
8bf06aec5b small bug fixes 1994-07-25 03:33:46 +00:00
David MacKenzie
1369a20a4a make it work again 1994-07-19 22:14:03 +00:00
David MacKenzie
851b441b35 add new utilities, cache specific macros, document new stuff 1994-07-19 14:44:16 +00:00
David MacKenzie
c62b221691 new stuff 1994-06-22 18:22:34 +00:00
David MacKenzie
a0fe7f8287 (prefix, exec_prefix): Use @ substitutions. 1994-05-25 01:22:04 +00:00
David MacKenzie
025b4663f6 (install): Depend on install-info. 1994-05-06 04:04:40 +00:00
David MacKenzie
0c7705faf7 (dist): chmod the dist directory, not the current directory. 1994-05-05 15:57:20 +00:00
David MacKenzie
d822f88533 (dist): Don't depend on DISTFILES. 1994-05-05 15:53:37 +00:00
David MacKenzie
e05916f0de (distclean): Remove config.cache. 1994-05-05 11:51:35 +00:00
David MacKenzie
1d5571bf59 (install): Depend on all again.
(install-info): Depend on info again.
1994-05-04 23:41:27 +00:00
David MacKenzie
1819b75811 Put everything back into one directory.
Don't assume standards.* exist.
1994-05-02 23:47:13 +00:00
David MacKenzie
4ae9311694 (all): Make autoreconf too. 1994-04-30 01:56:30 +00:00
David MacKenzie
a1f4a0f1f2 Remove references to standards.*.
Add autoreconf.
(dist): Add .., ../etc, and ../texinfo files.
Add autoscan and its data files.
	Check for perl.
1994-04-30 01:47:37 +00:00
David MacKenzie
4a62c37249 (install): Don't install aclocal.m4 or install.sh. 1994-04-21 23:44:06 +00:00
David MacKenzie
49155404e3 (install): Install install.sh, and not aclocal.m4. 1994-04-19 18:22:58 +00:00
David MacKenzie
e4537df107 (DISTFILES): Rearrange. 1994-04-13 04:52:30 +00:00
David MacKenzie
6378b56adc Update configuration dependencies. 1994-04-05 01:29:40 +00:00
David MacKenzie
22c7df0c2b (autoconf, autoheader, configure): Write to $@.tmp
instead of to $@ directly so that after a disk full error, the
targets to not exist.  Otherwise, a subsequent make could
install a corrupt (but not executable) script.
From Jim Meyering.
1994-03-31 16:34:43 +00:00
David MacKenzie
078cb32b5c (acdatadir): New variable based on datadir, giving Autoconf lib files
their own subdirectory.  Use it instead of datadir.
1994-03-24 06:20:44 +00:00
David MacKenzie
2c72e8e908 (Makefile): Don't depend on config.status, to avoid running
config.status too many times.
1994-03-19 21:37:55 +00:00
David MacKenzie
63d75af989 entered into RCS 1994-03-18 02:55:23 +00:00
David MacKenzie
679ff78f04 Formerly Makefile.in.~51~ 1993-11-18 23:15:49 +00:00