Commit Graph

553 Commits

Author SHA1 Message Date
Akim Demaille
3e52e5bc23 Update foreign files. 2000-04-27 17:28:54 +00:00
Akim Demaille
cc748d17e8 Provide a fine grained control over autoconf's warnings.
* acgeneral.m4 (AC_WARNING_IFELSE, _AC_DIAGNOSE, AC_DIAGNOSE):
New macros.
(AC_DEFUN_ONCE, AC_OBSOLETE, AC_BEFORE, AU_DEFUN, AC_PREREQ,
AC_WARNING, AC_FATAL, AC_TRY_RUN): Use AC_DIAGNOSE.
* autoconf.sh: Provide support for `--warnings', `-W'.
* doc/autoconf.texi (Invoking autoconf): Adjust.
(Reporting Messages): New section.
2000-04-13 08:25:11 +00:00
Akim Demaille
9317181589 More doc on AC_PROG_CC_C_O 2000-04-13 08:00:38 +00:00
Akim Demaille
2b22ca58e0 Move obsolete macros' definitions out of the way.
* doc/autoconf.texi (Old Macro Names): Rename as...
(Old Macros): this.  Change the @table enumeration into a list of
@defmac.
(AC_CHECKING, AC_CHECK_TYPE, AC_COMPILE_CHECK, AC_C_CROSS,
AC_DYNIX_SEQ, AC_HAVE_LIBRARY, AC_IRIX_SUN, AC_LINK_FILES,
AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_SCO_INTL, AC_VERBOSE,
AC_XENIX_DIR): Move their descriptions into here.
Kill a few TeX warnings.
2000-04-11 11:53:26 +00:00
Akim Demaille
5ae14bc8c0 Disable caching by default, so as not to cause problems when
newbies accidentally use a stale cache file.

* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Set cache_file to /dev/null
to disable caching by default.
(_AC_INIT_HELP): Adjust the --help message.
(AC_CACHE_LOAD, AC_CACHE_SAVE): Don't print "loading/updating
/dev/null" messages.
* autoconf.texi: Note that caching is disabled, how to enable it,
and that `./config.cache' is the traditional name of the cache file.
* install.texi: Likewise.
2000-04-05 07:42:06 +00:00
Akim Demaille
def4320d0f Fix typo. 2000-04-03 12:33:59 +00:00
Akim Demaille
d3019a7877 * doc/autoconf.texi (Canonicalizing): Officially recognize
AC_CANONICAL_TARGET and AC_CANONICAL_BUILD.
2000-04-03 12:05:02 +00:00
Akim Demaille
f98025aaca More doc on portability. 2000-04-03 12:02:37 +00:00
Akim Demaille
f92cbfb64a More doc on quotation. 2000-04-03 12:01:27 +00:00
Akim Demaille
61de8c0fb7 * doc/autoconf.texi (Writing configure.in): Explain what Autoconf
is.  Explain how to use the quotation scheme used in Autoconf.
(Quoting): Update.  Do not advocate changequote.
2000-04-03 11:59:27 +00:00
Akim Demaille
8f0e1b3401 Fix typo. 2000-04-03 11:19:22 +00:00
Akim Demaille
ded9870204 * doc/autoconf.texi (Testing Values and Files): Be a subsection of
`Portable Shell Programming'.
(Shell Substitutions, Limitations of Usual Tools): New subsections.
2000-03-20 10:10:06 +00:00
Akim Demaille
aac61512e0 In Autoconf 2.13, although AC_OUTPUT_COMMANDS did double quote its
arguments, AC_OUTPUT arguments 2 and 3 were not!  Currently,
AC_OUTPUT over quotes too: stop that.
Reported by Martin Buchholz.

* doc/autoconf.texi (Output): Don't expand on the ternary
AC_OUTPUT.
* acgeneral.m4 (AC_OUTPUT): Don't over quote $2 and $3.
2000-03-17 10:07:56 +00:00
Akim Demaille
870e58847d * acgeneral.m4 (_AC_INIT_BINSH): Remove, useless now that...
(AC_REVISION): Require AC_INIT, not _AC_INIT_BINSH.
(AC_INIT): Do what _AC_INIT_BINSH used to.
Don't require _AC_INIT_VERSION, just call it.
Rename as _AC_INIT.
(AC_INIT): New macro, single expansion wrapper around _AC_INIT.
(_AC_COPYRIGHT_SEPARATOR): New.
(AC_COPYRIGHT): Use it.
Require AC_INIT, not _AC_INIT_VERSION.
* doc/autoconf.texi (Versions): Promote as first section of
`Setup'.
Rename as `Notices'.
Document AC_COPYRIGHT.
Don't give false reasons for placing AC_REVISION before AC_INIT,
the place no longer matters.
2000-03-14 08:32:35 +00:00
Akim Demaille
29df07981f Introduce AC_SUBST(VAR, VAL).
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): Stop global double quoting,
failed experiment.
Merge all the var=val AC_SUBST(var) into AC_SUBST(var, val).
(AC_SUBST): Implement support for 2nd arg.
* doc/autoconf.texi (Setting Output Variables): Adjust.
2000-03-14 08:09:32 +00:00
Akim Demaille
3e6fee0e3b * doc/autoconf.texi (Invoking autoconf): Update documentation of
`autoconf --trace'.
2000-03-13 17:39:23 +00:00
Akim Demaille
2f71ba0c0b No longer rely on /bin/sh to compose the optional parts of
`configure --help'.

* acgeneral.m4 (AC_DIVERSION_HELP_BEGIN, AC_DIVERSION_HELP_ENABLE,
AC_DIVERSION_HELP_WITH, AC_DIVERSION_HELP_VAR,
AC_DIVERSION_HELP_END): New diversion numbers.
(AC_EXPAND_ONCE): New macro.
(AC_PROVIDE_IF): New macro.
(AC_BEFORE, AC_REQUIRE): Use it.
(AC_REQUIRE): Don't use indir.
(_AC_ARG_ENABLE_HELP_PROLOGUE, _AC_ARG_WITH_HELP_PROLOGUE,
_AC_ARG_VAR_HELP_PROLOGUE): New macros.
(AC_ARG_ENABLE, AC_ARG_WITH, AC_ARG_VAR): Expand once the
_HELP_PROLOGUE macro which corresponds.
(_AC_INIT_HELP): Adjust to AC_DIVERSION_HELP_BEGIN and
AC_DIVERSION_HELP_END.
(_AC_INIT_NOTICE, _AC_INIT_HELP): Remove the sh code which handled
the optional help strings.
2000-03-08 11:08:29 +00:00
Akim Demaille
ab07ba8e08 The whole family supports -V = --version.
* acgeneral.m4 (AC_INIT_PARSE_ARGS): Report and support -V.
* autoconf.sh: Likewise.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoheader.sh: Likewise.
* autoscan.pl: Likewise.
* ifnames.sh: Likewise.
In addition, don't dump --help on invalid options.
* doc/autoconf.texi: Adjusted.
* doc/install.texi: Likewise.
2000-03-02 18:17:26 +00:00
Akim Demaille
c86888e32d Internal macros are named `_AC_'.
* acgeneral.m4 (AC_CANONICAL_TARGET, AC_CANONICAL_BUILD,
AC_CANONICAL_THING, AC_CHECK_TOOL_PREFIX, AC_CONFIG_UNIQUE):
Prepend `_' to their names.
* acspecific.m4 (AC_CHECK_HEADER_DIRENT, AC_CHECK_HEADERS_DIRENT,
AC_PATH_X_XMKMF, AC_PATH_X_DIRECT): Prepend `_' to their names.
* doc/autoconf.texi (Macro Names): Adjusted.
2000-03-02 16:36:16 +00:00
Akim Demaille
769efbef82 * doc/autoconf.texi: Tune the use of quotes, add missing
@noindents, remove dead FIXME:s, promote #if ! over #ifndef,
simplify duplicated text.
2000-03-01 08:20:29 +00:00
Akim Demaille
42174dc725 * doc/autoconf.texi (Configuration Commands): Document
AC_CONFIG_COMMANDS_PRE and _POST.


* doc/autoconf.texi (Configuration Commands): Document
AC_CONFIG_COMMANDS_PRE and _POST.
2000-03-01 08:18:47 +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
b6cf2777dd * src/acgeneral.texi (AC_INIT_NOTICE): Include inttypes.h in the
ac_includes_default.
* doc/autoconf.texi (Default Includes): Adjust.
2000-02-25 17:49:29 +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
7e4260dccb Define HAVE_DECL_FOO both to 1 if found and 0 otherwise.
* acgeneral.m4 (AC_CHECK_DECLS): Define HAVE_DECL_FOO to 1 instead
of NEED_FOO_DECL if found.  Define to 0 if not found.
* autoheader.m4 (AC_CHECK_DECLS): Template HAVE_DECL_FOO.
* tests/semantics.m4 (AC_CHECK_DECLS): Adjusted.
* doc/autoconf.texi (Generic Declarations): Adjusted.
2000-02-15 09:33:59 +00:00
Akim Demaille
de931b4d30 * doc/autoconf.texi (Generic Structures):
s/AC_FATAL/AC_MSG_ERROR.
2000-02-15 09:16:48 +00:00
Akim Demaille
c979e7622f Restore AC_HAVE_LIBRARY.
* acgeneral.m4 (AC_HAVE_LIBRARY): AU_DEFUNed in terms of
AC_CHECK_LIB.
* doc/autoconf.texi (Libraries): Document.
2000-02-10 08:42:26 +00:00
Akim Demaille
c60a188814 Resynchronize INSTALL' with the current configure', and
conversely...

* acgeneral.m4 (AC_INIT_PARSE_ARGS): Let `configure' support `-h =
--help' and `-n = --no-create'.
Document -h, -n and -q in configure's help message.
* install.texi (Operation Controls): Formatting changes.
Document `configure -h'.
2000-02-09 18:19:58 +00:00
Akim Demaille
d7e3c874ea * Makefile.am (CLEANFILES): Added autoupdate.m4f and autoconf.tmp. 2000-02-09 18:08:37 +00:00
Akim Demaille
0586da3a49 AU_ glue code for AC_OUTPUT with arguments.
* acgeneral.m4 (AU_DEFINE): New macros, pulled out from AU_DEFUN.
Defines a macro in `autoupdate::' with all the required wrapping
for `autoupdate'.
(AU_DEFUN): Use it.
(AC_OUTPUT): When dispatching your arguments, use ifval, not
ifset!
Dispath actions to AC_CONFIG_COMMANDS not AC_OUTPUT_COMMANDS, to
avoid unneeded warnings for obsolete use of AC_OUTPUT_COMMANDS.
(autoupdate::AC_OUTPUT): New macro.
* doc/autoconf.texi (Writing configure.in, the example): Don't
advocate AC_OUTPUT with args.
(Output, AC_OUTPUT with args): Simplify the documentation, and
provide the translation into the new scheme.
Propagate what remained into the proper sections.
2000-02-09 17:47:47 +00:00
Akim Demaille
367368c916 AU_ glue code for AC_OUTPUT_COMMANDS.
* acgeneral.m4 (AC_OUTPUT_COMMANDS): AU_DEFUNed in terms of
AC_CONFIG_COMMANDS.
(AC_OUTPUT_COMMANDS_CNT): New variable, declared both in
`autoconf::' and `autoupdate::'.
(AC_OUTPUT): Register your arguments to AC_OUTPUT_COMMANDS only if
there are to avoid spurious `run autoupdate' messages.
* doc/autoconf.texi (Libraries): Document the changes.
2000-02-09 17:42:53 +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
c0bc015e7b Extend the concept of `INIT-CMDS' to the AC_CONFIG_FOOS.
* acgeneral.m4 (_AC_CONFIG_COMMANDS_INIT): New macro which will
collect the `INIT-CMDS'.
(AC_CONFIG_COMMANDS, AC_CONFIG_LINKS, AC_CONFIG_HEADERS,
AC_CONFIG_FILES): Use it, and also temporarily divert to -1
instead of spamming dnl everywhere.
(AC_OUTPUT_CONFIG_STATUS): Make sure to output the INIT-CMDS
before the other sections, it'd be a pity to initialize after the
use :).

* doc/autoconf.texi (Configuration Actions): New section,
documenting the common behavior of AC_CONFIG_FILES,
AC_CONFIG_HEADERS, macro AC_CONFIG_COMMANDS, and AC_CONFIG_LINKS.
(Configuration Files): Document $2 and $3 of AC_CONFIG_FILES.
(Configuration Headers): Document $2 and $3 of AC_CONFIG_HEADERS.
(Configuration Commands): Document $2 and $3 of AC_CONFIG_COMMANDS.
(Configuration Links): Document $2 and $3 of AC_CONFIG_FILES.
2000-02-09 17:01:44 +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
11eaab70bd Let the doc catch up.
* doc/autoconf.texi (Common Behavior): New section, to document
the common behavior of the macros.
(Standard Symbols): New subsection.  Describes the transformation
of the AC_DEFINEd names.
(Default Includes): New subsection.  Obvious content.
All the ``callers'' updated.
2000-02-08 13:42:51 +00:00
Akim Demaille
eb835e21d2 Introduce a concept index, and update a bit the documentation.
* doc/autoconf.texi (Concept Index): New section.
Various entries added.
(Typedefs): Renamed as...
(Types): this.  Pay attention to not limiting the documentation to
the typedefs.
(Particular Types): Mention the equivalent generic test.
Promote the GNU coding style at various places.
2000-02-08 13:38:45 +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
435c0e5aa9 * doc/autoconf.texi (Introduction): m4 1.4 is now required.
(Invoking autoconf): A better help on --trace.
(Defining Symbols): Advocate a proper use of the quotes in m4
code, including if the quotes are sometimes useless.  It is bad,
very bad not to quote properly, so quote all the examples
properly.
(Cache Files): Use a unary call to define, instead of an empty
$2.
(Using System Type): Watch out TeX wrapping.
(Pretty Help Strings): Don't give too long a snippet of --help.
Promote the coding style of Autoconf.  Quote properly.
2000-02-08 11:15:59 +00:00
Akim Demaille
bfe8456484 Use the style we promote.
* doc/autoconf.texi (Header Templates): Promote #if over #ifdef;
and #undef over #define in templates.
* acspecific.m4 (AC_DECL_SYS_SIGLIST, AC_FUNC_MMAP,
AC_FUNC_SETPGRP, AC_FUNC_VFORK, AC_FUNC_SELECT_ARGTYPES): Use #if,
not #ifdef and #ifndef, indent CPP directives.
2000-02-08 09:34:19 +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
b519547b61 AC_CHECK_SIZEOF: Fix a bug, use standard default headers, and
test.

* acgeneral.m4 (AC_CHECK_SIZEOF): Don't over quote $1, some []
were left in the C code, and had the macro fail.
Use AC_INCLUDES_DEFAULT.
* doc/autoconf.texi: Mention default includes.  Explain stdio.h
must always be given.

* tests/atspecific.m4 (TEST_MACRO): Updated the list of
exceptions.
(AT_CHECK_DEFINES): New macro, to check the content of config.h.
* tests/semantics.m4: All the tests are updated to use
AT_CHECK_DEFINES.
Test AC_CHECK_SIZEOF, AC_CHECK_HEADERS, and AC_CHECK_FUNCS.
2000-02-07 17:28:43 +00:00
Akim Demaille
635d167e35 * acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): Use the scheme proposed
by Alexandre Oliva for testing the definition of TYPE:
TYPE *foo;
sizeof (TYPE);
2000-02-07 15:06:35 +00:00
Akim Demaille
6bc62513f5 * acspecific.m4 (AC_C_CONST): Don't changequote, there is no need
for it.  Just quote properly!
condition out the test case if __cpluscplus.
AC_REQUIRE AC_PROG_CC_STDC.
Fix slightly the display of the result (formerly the first run
says `none needed', and later, because of the cache `no').
(AC_C_INLINE, AC_C_VOLATILE): AC_REQUIRE AC_PROG_CC_STDC.
* doc/autoconf.texi (AC_C_CONST): Give a few hints on the
motivation for trusting the C++ compilers.
2000-02-07 14:53:49 +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
82033a0b35 * autoconf.texi (Invoking ifnames): ifnames no longer supports
--macrodir.
2000-02-04 13:01:39 +00:00
Akim Demaille
34804a9d13 Introduce a means to distinguish failures of `configure' due to
extern software (so that the test suite doesn't fail on them).

* acgeneral.m4 (AC_MSG_ERROR, AC_MSG_ERROR_UNQUOTED): Allow an
optional $2: exit status.
* doc/autoconf.texi: Document.
* acspecific.m4 (AC_PROG_CC_WORKS, PROG_CXX_WORKS,
AC_PROG_F77_WORKS): Exit 77 if the compiler does not work.
2000-02-04 09:15:26 +00:00
Akim Demaille
eda374af6b 1999-11-11 Akim Demaille <akim@epita.fr>
* autoconf.texi (Generic Declarations): Fixed a typo which
	prevented `make distcheck' from succeeding.
	* texinfo.tex: Updated for the same reasons.
2000-01-29 12:29:03 +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
91a9a99d16 1999-11-10 Akim Demaille <akim@epita.fr>
A test suite will be introduced which tries to run all the
	specific macros, but hasbeen'd macro make configure die with bad
	exit status.  So we wish to distinguish live macros from defunct
	macros at the moment they are AC_DEFUN'd, not in their body.  Hm,
	defunct, defunct... Hey!  That's a good name!

	* acgeneral.m4 (AC_DEFUNCT): New macro, comparable to AC_DEFUN,
	but for macros which are no longer defined.  Replaces AC_HASBEEN.
	(AC_HASBEEN): Defunct.  Well, removed in fact.
	(AC_HAVE_LIBRARY): Don't use AC_DEFUN and AC_HASBEEN, just
	AC_DEFUNCT.
	* acspecific.m4 (AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
	AC_INT_16_BITS, AC_LONG_64_BITS): Likewise.
	(AC_XENIX_DIR): It was defunct even before I declared it was: was
	depending upon AC_DIR_HEADER which is defunct.  So AC_DEFUNCT'ed
	now.
	(AC_DYNIX_SEQ, AC_IRIX_SUN, AC_SCO_INTL): While we're here, you
	too are defunct now.
	* autoconf.texi (Obsolete Macros): Replace the documentation of
	AC_HASBEEN with that of AC_DEFUNCT.
2000-01-29 11:46:21 +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
13692cadbc 1999-11-01 Akim Demaille <akim@epita.fr>
Be kind to Automake: list the arguments of selected macros
	(for instance AC_SUBST will list each variable which may be
 	substitued).

	* autoconf.sh (--trace, --output): New options.
	Implement tracing of macros.
	trap also on 0, so that there is no need to rm here and there.
	* autoconf.texi (Output): Document --trace and --output.
2000-01-29 09:22:53 +00:00
Akim Demaille
3c6c0f1477 1999-11-01 Akim Demaille <akim@epita.fr>
Clean up the macros for testing members of aggregates.

	* acgeneral.m4 (AC_CHECK_MEMBER): FATAL if $1 has no dot in it.
	Use AC_INCLUDE_DEFAULTS.
	(AC_C_STRUCT_MEMBER): Removed.
	* acspecific.m4 (AC_STRUCT_TIMEZONE): Adapted to AC_CHECK_MEMBERS.
	(AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Adapted to
 	AC_CHECK_MEMBERS and obsoleted.
	(AC_STRUCT_ST_BLOCKS): Adapted to AC_CHECK_MEMBERS.
	* autoconf.texi (AC_STRUCT_ST_BLKSIZE, HAVE_STRUCT_STAT_ST_RDEV):
	Explain they are obsoleted, and how to migrate.
	(AC_STRUCT_ST_BLOCKS, AC_STRUCT_TIMEZONE): Explain that the
 	AC_DEFINE changed (but the former #defines remain defined
 	currently).
	(AC_C_STRUCT_MEMBER): Removed, replaced by the definitions of
	AC_CHECK_MEMBER and AC_CHECK_MEMBERS.
2000-01-28 16:05:48 +00:00
Akim Demaille
097b84fd1c 1999-11-01 Akim Demaille <akim@epita.fr>
Install a uniform set of default includes.

	* acgeneral.m4 (AC_INCLUDES_DEFAULT): New macro.  Expands in its
	argument if non empty, otherwise a default list of includes.
	(AC_CHECK_DECL, AC_CHECK_TYPE_INTERNAL): Use AC_INCLUDES_DEFAULT.
	* autoconf.texi: Adjusted.
2000-01-28 15:23:37 +00:00
Akim Demaille
13527a7b56 1999-11-01 Akim Demaille <akim@epita.fr>
Fix a bit of the brokenness of AC_CHECK_TYPE.

	* acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): New macro, inspired from
 	the former AC_CHECK_TYPE.  This macro is exactly the one that
 	ought to be named AC_CHECK_TYPE: it just checks, and executes user
 	actions.  In the future, this macro ought to be renamed
 	AC_CHECK_TYPE.
	There is a big difference with the former AC_CHECK_TYPE: instead
 	of grepping in the headers, it tries to compile a variable
 	declaration.  This is both safer, slower, and better, since now we
 	can check for compiler types (e.g., unsigned long long).
	(AC_CHECK_TYPES): The looping and AC_DEFINEing version of the
 	previous macro.  Uses m4 loops.
	(AC_CHECK_TYPE): Reimplemented on top of AC_CHECK_TYPE_INTERNAL.
  	* autoheader.m4 (AH_CHECK_TYPE, AH_CHECK_TYPES): New macros,
 	hooked.
	* autoconf.texi (@ovar): New macro, for optional variables.
	(Generic Typedefs): Document AC_CHECK_TYPES.
	* autoheader.texi: (AH_CHECK_TYPE, AH_CHECK_TYPES): New macros.
	(Epilogue): Hooks them.
2000-01-28 10:41:47 +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
d2750f1138 1999-10-31 Akim Demaille <akim@epita.fr>
Fix the --version of all the executables.

	* Makefile.am (editsh, editpl): Substitute also PACKAGE and
	VERSION.
	* autoconf.sh (version): New string.
	(--version): Use it.
	(--help) Output on stdout, not stderr.
	* autoheader.sh: Likewise.
	* autoreconf.sh: Likewise.
	* autoscan.pl: Likewise.
	* autoupdate.sh: Likewise.
	* ifnames.sh: Likewise.
2000-01-10 10:11:57 +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
f0d39e7e33 1999-10-31 Akim Demaille <akim@epita.fr>
* Makefile.am (pkgdata_DATA, EXTRA_DIST): Removed acconfig.h.
	* testsuite/autoconf.s/defines.exp: Commented out, there is no
	longer an acconfig.h.
1999-12-20 15:57:14 +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
Akim Demaille
ed0f9a6d4e 1999-10-31 Akim Demaille <akim@epita.fr>
Rename the family AC_NEED_DECL as AC_CHECK: it is more uniform,
	but keep defining NEED_FOO_DECL when `foo' is not declared.  Files
	not using Autoconf behave better when declarations lacks than when
	they are wrong.  So the unset position should off, hence #if NEEDS
	instead of #if !HAVE (which is triggered when HAVE is not set).

	* acgeneral.m4 (AC_NEED_DECL): Renamed as...
	(AC_CHECK_DECL): This.  Make sure the arguments are the usual
	IF-FOUND, IF-NOT-FOUND.
	(AC_NEED_DECLS, AC_CHECK_DECLS): Likewise.
	* autoconf.texi (Generic Declarations): Document the changes
 	aforementioned.
	* autoheader.m4 (AH_NEED_DECLS): Renamed as
	(AH_CHECK_DECLS): This.
	(AH_HOOKS): Hook AH_CHECK_DECLS on AC_CHECK_DECLS instead of
	_NEED_.
1999-12-20 13:40:18 +00:00
Akim Demaille
5aa38da39b 1999-10-31 Akim Demaille <akim@epita.fr>
New macro: AC_CONFIG_FILES which is very much like AC_OUTPUT but
      that one associates commands to run when a config file is
      created.  For instance for a shell script `foo', one uses
      AC_CONFIG_FILES(foo, chmod +x foo).

      In addition, check that the same name is never used twice in
      config files, headers, subdirs and links.

      * acgeneral.m4 (m4_append): Don't insert new line between
      elements.
      (m4_list_append): New macro.
      (AC_CONFIG_IF_MEMBER): New macro which tests if a file is member
      of a config list.
      (AC_CONFIG_UNIQUE): New macro which ensures that a config file
      name is not yet used.
      (AC_CONFIG_HEADER, AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS): Use
      AC_CONFIG_UNIQUE.

      * acgeneral.m4 (AC_CONFIG_FILES): New macro.
      (AC_LIST_FILES): New list, which stores arguments of
      AC_CONFIG_LISTS the same as AC_LIST_LINKS stores AC_CONFIG_LINKS
      etc.
      (AC_OUTPUT): No longer rely on $1 to designate the config files:
      register them via AC_CONFIG_FILES.  All uses of $1 replaced by
      uses of AC_LIST_FILES.
      (AC_OUTPUT_FILES): Run the commands associated to the
      CONFIG_FILES.
1999-12-20 12:14:28 +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
c645272f5f 1999-10-31 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_PROG_CC_STDC, AC_C_PROTOTYPES): Inherit from
	Automake. From Franc,ois Pinard.
	* autoconf.texi (Particular Programs): Document AC_PROG_CC_STDC.
	(C Compiler Characteristics): Document AC_C_PROTOTYPES.
1999-10-31 00:56:04 +00:00
Ben Elliston
6fea459a0a 1999-10-27 Ben Elliston <bje@cygnus.com>
* autoconf.texi (Generic Programs): @defmac for AC_PATH_TOOL may
	not span multiple lines.
1999-10-26 14:29:16 +00:00
Ben Elliston
d93619c23f * merged from the experimental branch.
1999-10-05  Akim Demaille  <akim@epita.fr>

	* acgeneral.m4 (AC_PATH_TOOL): New macro.
	* autoconf.texi (Generic Programs): Document.

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

	AC_DIR_HEADERS is hasbeen'ed.
	* acspecific.m4 (AC_DIR_HEADER): Raised from obsolete to hasbeen.
	* acspecific.m4 (AC_CHECK_HEADERS_DIRENT, AC_CHECK_HEADER_DIRENT):
	Removed, were used only by AC_DIR_HEADER and were not documented.
	* autoheader.m4: Remove the hooks for AC_CHECK_HEADERS_DIRENT.
	* autoconf.texi (Particular Headers): Removed the documentation of
	AC_DIR_HEADER.

	* autoconf.texi (Environment Variables): Remove the very last
	traces of documentation of --env-VAR.

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

	Remove hasbeen'ed macros from the documentation.

	* autoconf.texi (Obsolete Macros): Document AC_HASBEEN.

	* autoconf.texi (Libraries): Remove the documentation of
	AC_HAVE_LIB.
	(Particular Headers): likewise for AC_UNISTD_H, AC_MEMORY_H,
	AC_USG.
	(C Compiler Characteristics): Likewise for AC_INT_16_BITS,
        AC_LONG_64_BITS.

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

	Make the handling of the configuration links (AC_LINK_FILES)
	exactly the same as that of configurations files (AC_OUTPUT_FILES)
	and headers (AC_CONFIG_HEADERS).  As a result, it is sane to run
	        ./config.status src/libmy_lib
	or
	        CONFIG_LINKS=src/lib_mylib:lib/lib_mylib ./config.status

        * acgeneral.m4 (AC_LINK_FILES): Use AC_FATAL to diagnose bad
	number of argument.
	Obsoleted (but implemented) in favor of AC_CONFIG_LINKS.

	* acgeneral.m4 (AC_CONFIG_LINKS): New macro.  Takes space
	separated list of DEST:SOURCES arguments.
	* acgeneral.m4 (AC_OUTPUT_LINKS): Adapted to the new scheme of
	AC_LIST_LINKS.
	* autoconf.texi (Output, AC_OUTPUT): Mention AC_CONFIG_LINKS.
	(Invoking config.status): Mention CONFIG_LINKS.
        (Using System Type): Document AC_CONFIG_LINKS. Explicit the
	obsoleteness of AC_LINK_FILES.

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

	* acgeneral.m4: Spell checked.
	* autoconf.texi: Likewise.

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

	* acgeneral.m4 (AC_NEED_DECLS): Change the actions for
	`if-(not-)found' to `if-(not-)needed.
        Define NEED_DECL_foo, instead of NEED_foo_DECL.
	* autoheader.sh (decls): Reflect this.
	* autoconf.texi (Generic Declarations): Update.

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

	* acgeneral.m4 (AC_CHECK_DECL): Renamed as...
        (AC_NEED_DECL): This.
	(AC_CHECK_DECLS): Renamed as...
	(AC_NEED_DECLS): This.
	(AC_NEED_DECL): Include <stdio.h>, <memory.h>, <string.h>,
	<strings.h>, <stdlib.h>, <stddef.h>, and <unistd.h>.

        * autoconf.texi (Generic Declarations): Updated.

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

	* acgeneral.m4 (AC_PATH_PROG): Use a single case statement for
	Unix and DOS absolute paths.

	* acgeneral.m4 (AC_CHECK_SIZEOF): Fix a typo.
	Allow a third default argument: extra headers.
        * autoconf.texi (C Compiler Characteristics): Document.

        * acgeneral.m4 (AC_CHECK_TYPE): Convert to the AC_VAR_* family.
	Allow a third optional argument: extra includes.
	* autoconf.texi (Generic Typedefs): Documents.

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

	* autoconf.texi (Particular Structures): Move documentation of
	AC_HEADER_STAT and AC_HEADER_TIME from here...
        (Particular Headers): to here.
	(Declarations): New section.
	(Particular Headers): Move doc of AC_DECL_SYS_SIGLIST from here...
	(Particular Declarations): to here.

1999-09-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* acgeneral.m4 (AC_CHECK_FUNC_DECL, AC_CHECK_FUNC_DECLS): New
        macros.
	* autoconf.texi (AC_CHECK_FUNC_DECL, AC_CHECK_FUNC_DECLS):
	Document.
	* autoheader.m4: Add support for AC_CHECK_FUNC_DECLS.
	* autoheader.sh: Likewise.

1999-09-14  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>

	* acgeneral.m4 (AC_INCLUDE): New macro.
	* autoconf.texi: Document it.

	* acgeneral.m4 (Configuration): Accept --env-VAR=VALUE and
        VAR=value.
	* autoconf.texi, install.texi: Document it.
	* configure: Rebuilt.

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

	* autoconf.texi (Pretty Help Strings): Updated to reflect the
	changes.

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

	* autoconf.texi: Update the direntry for more modern Texinfos.
	Add pointer to configure and config.status.
	Remove the dots from the menus: horizontal space is precious.
	(Invoking config.status): More traditional presentation of the options.

1999-08-22  Matthew D. Langston  <langston@SLAC.Stanford.EDU>

	* autoconf.texi (Particular Programs): Document new optional
	argument to AC_PROG_CC, AC_PROG_CXX and AC_PROG_F77.  Document
	additions to the Fortran 77 compiler search list.

1999-06-02  Matthew D. Langston  <langston@SLAC.Stanford.EDU>

	* autoconf.texi (Pretty Help Strings): Document and regenerate the
	indices.
	* acgeneral.m4 (AC_HELP_STRING): New macro.

1999-05-30  Matthew D. Langston  <langston@SLAC.Stanford.EDU>

	* autoconf.texi (Fortran 77 Compiler Characteristics): Document
        new AC_F77_NAME_MANGLING macro.

1999-05-30  Steven G. Johnson <stevenj@alum.mit.edu>

	* autoconf.texi (Fortran 77 Compiler Characteristics): Document
	new AC_F77_FUNC_WRAPPER macro.
1999-10-26 04:17:50 +00:00
Ben Elliston
c4245421c8 * merged from the experimental branch.
1999-10-26  Ben Elliston  <bje@cygnus.com>

	* INSTALL: Regenerate.

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

	* install.texi: Give more details on envvar handling.
1999-10-26 03:54:59 +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
aba0658ec0 1999-10-16 Ben Elliston <bje@cygnus.com>
* autoconf.texi (AC_PROG_CXX): Update documentation.
1999-10-15 23:09:11 +00:00
Ben Elliston
46954af400 1999-10-13 Ben Elliston <bje@cygnus.com>
* autoconf.texi (Configuration Headers): Document the potential
	trouble caused by autoheader and boilerplate files. Fix for
	PR autoconf/45.
1999-10-13 10:32:39 +00:00
Ben Elliston
c9fa05ca8a 1999-10-05 Ben Elliston <bje@cygnus.com>
* autoconf.texi (AC_PATH_XTRA): Correctly document the behaviour
	when X is not available.
1999-10-05 13:25:13 +00:00
Ben Elliston
09db41dc48 1999-09-25 Ben Elliston <bje@cygnus.com>
* autoconf.texi (AC_FUNC_SETVBUF): Do not mention which systems
	might have their setvbuf() arguments reordered. It's difficult to
	accurately determine and is not essential. Fix for autoconf/7.
1999-09-25 11:25:47 +00:00
Ben Elliston
c6fc36753a 1999-09-24 Jim Blandy <jimb@zwingli.cygnus.com>
* acspecific.m4 (AC_C_VOLATILE): New test.
	* acconfig.h: Add new entry for `volatile'.
	* autoconf.texi (C Compiler Characteristics): Document it.
1999-09-24 05:30:05 +00:00
Ben Elliston
751c85fe2a 1999-09-24 Ben Elliston <bje@cygnus.com>
* install.texi: Replace `can not' with `cannot'.
1999-09-24 04:24:32 +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
8f94a05c2f 1999-09-07 Steven G. Johnson <stevenj@alum.mit.edu>
* autoconf.texi (LDFLAGS, LIBS): Document that -L linker flags
	should be kept in LDFLAGS and not LIBS.
1999-09-07 09:06:10 +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
141a4cd467 1999-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* acgeneral.m4 (AC_CHECK_TYPE): Add optional third argument
	INCLUDES, which specifies the headers in which to search for the
	type in question. Also, pass a "description" argument to
	AC_DEFINE_UNQUOTED.
	* acconfig.h (mode_t, off_t, pid_t, size_t): Remove definitions.
	* autoconf.texi (AC_CHECK_TYPE): Document optional third argument.
1999-09-04 07:26:22 +00:00
Ben Elliston
7be3d59f1b 1999-08-26 Ben Elliston <bje@cygnus.com>
* autoconf.texi (Changed Results): Correct an error in one of the
	examples. Fix for autoconf/38.
1999-08-25 14:31:53 +00:00
Ben Elliston
bec736060f 1999-08-25 Ben Elliston <bje@cygnus.com>
* autoconf.texi (Cache Variable Names): Be more explicit about the
	requirements for cache variable names. Fix for autoconf/53.
1999-08-25 14:17:58 +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
fcdb3e71c6 1999-06-03 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_ACVERSION): Correct version number.
	* autoconf.texi (EDITION): Likewise.
	(VERSION): Likewise.
1999-06-02 14:25:59 +00:00
Tom Tromey
74f02f339e 1999-04-17 Paul Eggert <eggert@twinsun.com>
* autoconf.texi, acspecific.m4 (AC_FUNC_MKTIME): New macro.
	taken from automake's AM_FUNC_MKTIME.
	* acfunctions: mktime now belongs to AC_FUNC_MKTIME.
1999-04-22 21:38:24 +00:00
Ben Elliston
0012aaa6ec 1999-04-11 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_C_STRUCT_MEMBER): New macro.
	* acspecific.m4 (AC_STRUCT_TIMEZONE): Rewrite in terms of
	AC_C_STRUCT_MEMBER.
	(AC_STRUCT_ST_BLOCKS): Likewise.
	(AC_STRUCT_ST_BLKSIZE): Likewise.
	(AC_STRUCT_ST_RDEV): Likewise.
	* autoconf.texi (Structures): Update. Add menu for subnodes.
	(Particular Structures): New node.
	(Generic Structures): New node.
	(AC_C_STRUCT_MEMBER): Document.
1999-04-10 19:54:57 +00:00
Ben Elliston
89dca877ed Typo; end an open defmac. 1999-04-04 20:42:58 +00:00
Ben Elliston
2c371a8609 1999-04-05 Ben Elliston <bje@cygnus.com>
* acspecific.m4 (AC_EMXOS2): New macro. Contributed by Ryuji Abe
	<raeva@t3.rim.or.jp>.
	(AC_EXEEXT): Handle case for OS/2.
	* autoconf.texi (AC_EMXOS2): Document.
	(AC_EXEEXT): Mention OS/2.
	(AC_MINGW32): Move.
	(UPDATED): Update.
1999-04-04 20:32:09 +00:00
Ben Elliston
861872d328 1999-04-01 Ben Elliston <bje@cygnus.com>
* standards.texi: Update from FSF.
	* acspecific.m4 (AC_PROG_INSTALL): Avoid using the installation
	script belonging to HP `pwplus' when running the install
	program. Contributed by Steven G. Johnson <stevenj@alum.mit.edu>
	and Dave Adams <adams@hpesdwa.fc.hp.com>.
1999-03-31 08:16:10 +00:00
Tom Tromey
d34826b96f 1999-03-28 Tom Tromey <tromey@cygnus.com>
* autoconf.texi (AC_OUTPUT_COMMANDS): Add to macro index.
1999-03-28 22:38:40 +00:00
Ben Elliston
9bab20391b 1999-02-02 Pavel Roskin <pavel_roskin@geocities.com>
* autoconf.texi: Corrected definitions for AC_CONFIG_AUX_DIR and
	AC_PROG_F77. Duplicated descriptions for AC_SEARCH_LIBS and
	AC_TRY_LINK_FUNC removed.
1999-02-21 21:05:26 +00:00
Ben Elliston
5be0173362 1999-02-22 Ben Elliston <bje@cygnus.com>
* autoconf.texi (System Services): Explain the semantics of the
	AC_SYS_RESTARTABLE_SYSCALLS macro in greater detail. Suggested by
	Franc,ois Pinard <pinard@iro.umontreal.ca>.
1999-02-21 18:07:13 +00:00
Ben Elliston
a76e13502c 1999-02-11 Ben Elliston <bje@cygnus.com>
* standards.texi: Update from FSF.
1999-02-10 19:09:43 +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
bceebd1601 1999-01-21 Ben Elliston <bje@cygnus.com>
* autoconf.texi (Introduction): Update bug reporting address.
	* config.guess: Likewise.
1999-01-20 05:18:52 +00:00
Ben Elliston
827c1ce67d 1999-01-11 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_ACVERSION): Increment to 2.14.
	* autoconf.texi (EDITION): Likewise.
	(VERSION): Likewise.
1999-01-10 05:53:55 +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
fdcd1f0c9d 1999-01-09 Ben Elliston <bje@cygnus.com>
* autoconf.texi (AC_CHECK_LIB): Explain more. Contributed by Bob
        Friesenhahn <bfriesen@simple.dallas.tx.us>.
        (UPDATED): Bump to 1999.
1999-01-08 07:11:28 +00:00
Ben Elliston
7551404fcf 1999-01-06 Ben Elliston <bje@cygnus.com>
* autoconf.texi (AC_OBJEXT): Correct documentation.
1999-01-06 04:40:29 +00:00
Ben Elliston
df646e7699 Merge from autoconf-2-13-rc1. 1999-01-05 03:18:40 +00:00
Ben Elliston
fd5156267c 1998-10-30 Jeff Garzik <jgarzik@pobox.com>
* autoconf.texi: Document AC_CACHE_LOAD and AC_CACHE_SAVE. Explain
	how AC_CACHE_SAVE can be used as a means of syncing the cache to
	disk prior to doing something potentially fatal in configure.
1998-10-30 03:41:59 +00:00
Ben Elliston
7a2c894092 1998-10-24 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* acgeneral.m4 (AC_LANG_FORTRAN77): Remove [] (i.e. the m4 quotes)
	since it was confusing the testsuite.  Also make `f77' the default
	for FC, otherwise the testsuite fails.
	* autoconf.texi (Fortran 77 Compiler Characteristics): Added new
	node documenting the new AC_F77_LIBRARY_LDFLAGS macro.
	* acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): New macro to determine
	the linker flags (e.g. `-L' and `-l') for the Fortran 77 intrinsic
	and run-time libraries.
1998-10-23 19:03:23 +00:00
Ben Elliston
013957a4ce Sun Oct 4 21:57:20 1998 Tom Tromey <tromey@cygnus.com>
* autoconf.texi (Defining Symbols): Documented third argument to
	AC_DEFINE.
	* autoheader.m4 (AC_DEFINE_UNQUOTED): Generate `verbatim'
	assignment if third argument given.
	(AC_DEFINE): Likewise.
	* acgeneral.m4 (AC_DEFINE): Handle case where $# is 3.
	(AC_DEFINE_UNQUOTED): Likewise.
	* autoheader.sh: Echo $verbatim if not empty.
1998-10-09 07:44:10 +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
f98edc0d07 1998-10-03 Ben Elliston <bje@cygnus.com>
* acconfig.h (FC_NO_MINUS_C_MINUS_O): Add to complete the Fortran
	77 support.
Tue Sep  8 14:06:04 1998  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
	* acgeneral.m4: Make the following macros Fortran 77 aware
	(i.e. conditionalize whether to `#include "confdefs.h"', etc.):
	(AC_TRY_COMPILE)
	(AC_TRY_LINK)
	(AC_CHECK_LIB)
	* acgeneral.m4 (AC_LANG_FORTRAN77): Rename `AC_LANG_FORTRAN' to
	`AC_LANG_FORTRAN77'.  Change the Fortran 77 language macro from
	`FORTRAN' to `FORTRAN77'.
	(AC_LANG_RESTORE): Change the Fortran 77 language macro from
	`FORTRAN' to `FORTRAN77'
	* autoconf.texi: Updated Fortran 77 documentation, particularly
	for `AC_TRY_COMPILE', `AC_TRY_LINK' and `AC_CHECK_LIB'.
Thu Sep  3 09:34:39 1998  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
	* autoconf.texi: Added Fortran 77 documentation.
	* acspecific.m4 (AC_PROG_FC): New macro.  Determine a Fortran
	compiler to use.
	(AC_PROG_FC_WORKS): New macro.
	(AC_PROG_FC_GNU): New macro.
	(AC_PROG_FC_G): New macro.
	(AC_PROG_FC_C_O): New macro.
	* acgeneral.m4: Add FFLAGS (Fortran 77 flags).
	(AC_LANG_FORTRAN): New macro.
	(AC_LANG_RESTORE): Make Fortran 77 aware.
	(AC_TRY_COMPILER): Make Fortran 77 aware (i.e. conditionalize
	whether to `#include "confdefs.h"').
1998-10-02 21:25:58 +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
1e65b4df8f 1998-09-26 Ben Elliston <bje@cygnus.com>
* texinfo.tex: Import latest version from the FSF.
1998-09-26 06:51:14 +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
Richard M. Stallman
dbbe7ebe17 *** empty log message *** 1998-08-26 21:05:13 +00:00
Richard M. Stallman
a01c758f1c *** empty log message *** 1998-08-26 21:01:17 +00:00
Joel N. Weber II
713150bfc6 Fixed a typo. 1998-05-18 17:04:37 +00:00
Richard M. Stallman
3bace3884c Clarify discussion of signal interfaces.
Write POSIX uniformly.
1998-05-18 04:38:44 +00:00
Richard M. Stallman
c7f4331e4f *** empty log message *** 1998-04-18 02:14:06 +00:00
Richard M. Stallman
0c94020591 Use @email. 1998-03-25 08:23:33 +00:00
Joel N. Weber II
421b2568d6 Hacked so that the date will update automagically.
Added 1997 and 1998 to the copyright dates.
1998-03-14 00:38:22 +00:00
Joel N. Weber II
66403d375a (Some of these changes were not made by devnull, but devnull is
unwedging rcs.)

Changed gnu@prep.ai.mit.edu to gnu@gnu.org

Some #ifdef and #ifndef examples added.

A grammer error was fixed.
1998-03-14 00:33:12 +00:00
Karl Heuer
d99ef337f7 Mention YFLAGS and LFLAGS along with CFLAGS. 1997-10-27 03:47:03 +00:00
Richard M. Stallman
7634c37560 Better explanation of why to write in C. 1997-09-12 07:13:24 +00:00
John Gilmore
642a85a957 fix TeX overfills -len 1997-07-04 04:42:17 +00:00
John Gilmore
e0cb8ea153 fixed typos and TeX overfills -len 1997-07-03 22:51:04 +00:00
Richard M. Stallman
208a686eb9 Unix-replacement components don't have priority over all else. 1997-05-28 03:24:51 +00:00
Richard M. Stallman
118b55b292 Explain which commands should use CFLAGS. 1997-05-17 19:07:42 +00:00
Richard M. Stallman
d0eca5bf62 Reinsert the menu item for Makefile Conventions.
Get rid of unnecessary and erroneous Next, Previous and Up pointers.
1997-05-06 19:22:32 +00:00
Richard M. Stallman
33093c482c Update date. 1997-04-20 22:16:18 +00:00
Richard M. Stallman
40f8131d23 Improve advice about accepting contributions of text. 1997-04-20 22:15:56 +00:00
Richard M. Stallman
2338566d5c Explain about how to structure documentation well. 1997-02-10 09:45:39 +00:00
Richard M. Stallman
0fdbc7e96b Update last-change date. 1997-01-25 02:51:59 +00:00
Leonard "Len" H. Tower Jr
8b75ae1a87 really fixed the missing Mmap node.
also ran texinfo-all-menus-update with C-u
1997-01-16 23:27:43 +00:00
Leonard "Len" H. Tower Jr
bfaad2ecb3 add missing mmap node 1997-01-16 23:19:01 +00:00
David MacKenzie
660963952f fix a couple of bugs 1996-12-11 00:49:47 +00:00
David MacKenzie
65bcd04475 more fixups 1996-11-20 22:53:55 +00:00
David MacKenzie
85669bdcb1 more cleanups 1996-11-20 22:16:05 +00:00
David MacKenzie
8801bfce14 cleanups 1996-11-20 21:27:29 +00:00
David MacKenzie
670670f0c4 lots of new ways to create stuff 1996-11-20 05:09:56 +00:00
David MacKenzie
27baa892d9 rewhack the compiler checking and fix some minor bugs 1996-11-20 00:21:34 +00:00
David MacKenzie
091c6ec533 Version 2.11 released 1996-11-18 15:28:02 +00:00
David MacKenzie
b1e18dbda8 more tweaks 1996-11-15 00:04:39 +00:00
David MacKenzie
4ecef17a07 tweaks; test release 2.10.3 1996-11-13 17:24:58 +00:00
David MacKenzie
49ce2554a6 cosmetic tweaks 1996-11-12 18:51:28 +00:00
David MacKenzie
618b5d14d1 more improvements from the net 1996-11-12 07:17:30 +00:00
David MacKenzie
8fb56d8ec4 more bug fixes 1996-11-12 04:48:04 +00:00
David MacKenzie
e579d06b61 many bug fixes and a few additions, mostly derived from bug-gnu-utils 1996-11-09 22:19:24 +00:00
David MacKenzie
d5ac1ccb68 more X kludgery 1996-11-09 07:15:16 +00:00
David MacKenzie
19f8338d7e various bug fixes and small improvements 1996-11-09 00:44:49 +00:00
Richard M. Stallman
cd6f05350a Talk about which dir Info files, Bison output, etc. should go in.
Add some more utilities that can be used in make commands.
1996-11-07 22:30:30 +00:00
Richard M. Stallman
4a49f96062 Give more details for --version. 1996-10-04 05:11:36 +00:00
Richard M. Stallman
128ce94e4b Generalize the gettext advice about substituting parts of a sentence. 1996-09-09 22:42:53 +00:00
Richard M. Stallman
ed14553838 Describe preinstall and postinstall commands. 1996-09-09 18:06:22 +00:00
Richard M. Stallman
319ce5a5c7 Describe additional info in --version and --help; be more prcise.
Put long options table in separate node.

Explain about gettext.

More info about change log format, incl. conditional changes.
1996-09-09 18:05:42 +00:00
Richard M. Stallman
202c7a72d9 Describe lispdir variable. 1996-06-12 21:50:54 +00:00
David MacKenzie
148902c9c6 update street address 1996-06-12 17:55:25 +00:00
Richard M. Stallman
f98feef37c Avoid symlinks if possible. 1996-05-06 03:45:23 +00:00
David MacKenzie
483e88500c fix typo 1996-03-05 04:56:52 +00:00
Roland McGrath
bfbc7231bc Minor tweaks to fix overfull & underfull hboxes in fmting make man. 1996-03-04 17:57:41 +00:00
Roland McGrath
022b8b09e7 (Standard Targets): Use @smallexample. 1996-03-01 21:47:33 +00:00
Richard M. Stallman
7ab78e4e16 Say it is ok to use true and false.
Make recommendations about install-info accurate.
1996-02-29 04:22:34 +00:00
Leonard "Len" H. Tower Jr
16b56e2120 updated lastupdate and add 96 to copyright notices -len 1996-02-27 22:40:21 +00:00
Richard M. Stallman
c0dd463557 Replace strip' target with install-strip'. 1996-02-27 07:36:22 +00:00
Richard M. Stallman
863d6b9534 Reorganize nodes dealing with portability, and mostly rewrite them to
legitimize ANSI C.

Move memory usage topic into a new node by itself.

Some changes in discussing strchr and strrchr.
1996-02-27 07:35:22 +00:00
Richard M. Stallman
29f92b6f9f It is ok now to write in ANSI C. 1996-02-26 21:14:03 +00:00
John Gilmore
cf29872b72 updated lastupdate -len 1996-02-24 21:17:27 +00:00
Richard M. Stallman
1339837210 Explain better the alternatives for handling man pages. 1996-02-24 19:28:55 +00:00
Richard M. Stallman
b46336fca3 Describe `strip' target. 1996-02-10 06:28:45 +00:00
Arnold Robbins
e84a5cc57d Reorganized considerably, to group related topics together in a logical
order.  A number of minor editos for consistency with make-stds.texi
and for better looking results when run through TeX.
1996-01-19 00:21:32 +00:00
Arnold Robbins
5b25f6c458 Reordering of sections for better reading linearly and to go with
reorg'ed standards.texi. use Makefile with a capital 'M' everywhere.
Add description of Autoconf versions of standard directories.
1996-01-19 00:18:58 +00:00
Richard M. Stallman
51384b9d6b Minor change about parallel make. 1996-01-17 22:29:34 +00:00
Roland McGrath
fc7007d2ce Document new 6th arg to AC_CHECK_PROG.
Update version to 2.8, update month to January 1996,
and copyright years to include 1996.
1996-01-16 22:06:56 +00:00
David MacKenzie
c77ff9f7d2 more bug fixes 1995-11-22 17:42:19 +00:00
David MacKenzie
3016f325ec undo bogus bugfix 1995-11-21 22:45:24 +00:00
David MacKenzie
673d7305df update to v2.6 1995-11-20 20:46:49 +00:00
David MacKenzie
32dcea46ac bug fixes from net 1995-11-20 20:34:22 +00:00
Roland McGrath
09e96ebee5 (EDITION, VERSION): Update to 2.5. 1995-11-17 20:09:42 +00:00
Roland McGrath
b27592263f (Standard Targets): rewrote some paragraphs to avoid overfull hboxes. 1995-08-15 00:12:12 +00:00
David MacKenzie
0b6bb88729 fix typo 1995-07-26 05:36:45 +00:00
David MacKenzie
55af85f0bf various tweaks 1995-07-26 05:30:39 +00:00
Richard M. Stallman
8cc3b471a2 Mention TMPDIR. 1995-07-25 01:23:12 +00:00
David MacKenzie
eee3e34690 Rename --with-x11 in example to --with-x. 1995-07-19 05:54:26 +00:00
David MacKenzie
3e669c2118 Add AC_CACHE_CHECK. 1995-06-28 20:19:08 +00:00
David MacKenzie
75ac961424 add --bindir, --libdir, etc. 1995-06-27 19:09:03 +00:00
David MacKenzie
f899badec9 Define mandir the way everyone actually uses it. 1995-06-27 18:28:56 +00:00
David MacKenzie
52da270341 Small improvements from TODO. 1995-06-23 03:39:38 +00:00
Noah Friedman
f6cc1ef8e0 Added gawk options to table. 1995-05-16 18:22:17 +00:00
Richard M. Stallman
59bb993381 Suggest naming files with hyphens, not underscores, and when to use
uppercase in names.
1995-05-16 17:27:22 +00:00
Richard M. Stallman
39061823ae Update date. 1995-04-13 01:59:46 +00:00
Richard M. Stallman
3766de757b Don't use error count as exit status. 1995-04-13 01:59:20 +00:00
David MacKenzie
b130aaa8db version 2.3 1995-03-27 23:29:35 +00:00
David MacKenzie
a97e23dbc2 add stuff about option variable names 1995-03-24 04:13:47 +00:00
David MacKenzie
0c29fe2579 fix little nits 1995-03-23 23:49:35 +00:00
David MacKenzie
8cf3e847b3 version 2.2 1995-03-08 22:06:48 +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
555069628e more little bug fixes 1995-02-21 20:39:40 +00:00
Roland McGrath
9b9cc5de63 Update AC_CHECK_TOOL description. New third argument (optional). 1995-02-11 09:39:53 +00:00
David MacKenzie
bb41a196e7 various bug fixes 1995-02-09 22:44:35 +00:00
Richard M. Stallman
5a86bbd9cb real-clean renamed to maintainer-clean.
Description changed too.
1995-02-07 23:45:48 +00:00
David MacKenzie
77caa43c94 various bug fixes 1995-02-07 22:41:14 +00:00
David MacKenzie
f5cee52491 various bug fixes 1995-02-06 23:31:34 +00:00
Jim Meyering
917f748829 *** empty log message *** 1995-01-25 04:48:10 +00:00