Commit Graph

717 Commits

Author SHA1 Message Date
Akim Demaille
a9bd52773e Rely on $LINENO' when possible instead of __oline__'.
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
`$LINENO' support replacement when not supported.
(_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
them explicitly to be sure they are not output before this section
(via m4_require).  Cosmetic only.
* lib/autoconf/c.m4, lib/autoconf/general.m4,
* lib/autoconf/programs.m4: Replace all the occurrences of
`__oline__' with `$LINENO'.
* doc/autoconf.texi (Special Shell Variables): Document LINENO.
2001-09-22 15:20:44 +00:00
Tim Van Holder
a12d3d6319 * doc/autoconf.texi (File System Conventions): Clarify the use of
PATH_SEPARATOR.
  (Special Shell Variables[PATH_SEPARATOR]): Ditto.
  (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
  be used instead of ':'.
* lib/autotest/general.m4: Replace occurrences of ':' in
  AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
2001-09-20 15:39:46 +00:00
Paul Eggert
3c3fd5fe64 (Common Shell Constructs): New node, documenting AS_DIRNAME.
(Limitations of Usual Tools): Refer to it when discussing dirname.
Also, update discussion of POSIX standard to reflect latest draft.
2001-09-18 18:46:03 +00:00
Paul Eggert
23bdb70e0c (Particular Functions): AC_FUNC_GETPGRP now merely checks whether it
is an error to pass an argument to getpgrp.
2001-09-18 16:21:10 +00:00
Akim Demaille
8eed079c5e * doc/autoconf.texi (Limitations of Make) <$<>: New. 2001-09-18 14:31:26 +00:00
Akim Demaille
8ef39f1b94 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
`{}'.
* lib/autotest/general.m4 (AT_INIT): Adjust.
2001-09-18 14:21:51 +00:00
Paul Eggert
e670c5a0bf (AC_ISC_POSIX): Describe new behavior. 2001-09-17 19:44:24 +00:00
Akim Demaille
c737451f8c * bin/ifnames.in: Rewrite in Perl.
* configure.ac: Don't look for AWK.
* tests/tools.at (AWK portability): Remove.
(Syntax of the shell scripts): Don't check ifnames.
(AT_CHECK_PERL_SYNTAX): New.
(Syntax of the Perl scripts): Check ifnames.
* tests/ifnames: New.
2001-09-13 06:54:35 +00:00
Akim Demaille
d3f9e418ab * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
* bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
* bin/autoscan.in: Use `getopt' and `find_files' etc.
Add -I, --include support.
* doc/autoconf.texi (autoscan Invocation): Adjust.
2001-09-05 07:06:02 +00:00
Akim Demaille
2af9667279 Regen. 2001-08-31 15:28:24 +00:00
Akim Demaille
b7e02fa0e5 Version 2.52d. 2001-08-31 14:46:17 +00:00
Akim Demaille
a07553e5c3 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
(Making testsuite Scripts): Update.
2001-08-31 13:36:51 +00:00
Akim Demaille
ff07c5ffe4 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
(testsuite Scripts): There is no such thing as `atconfig.in'.
And actually one diagram is missing: test suite runtime.
2001-08-31 13:36:05 +00:00
Akim Demaille
f66f5d6077 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
inverse order.
2001-08-31 13:35:39 +00:00
Akim Demaille
bf0d5c6195 * bin/autom4te.in (&parse_args): Strip .' from @include'.
* bin/autoupdate.in: Use --include, -I, and --force, -f, too.
Use directly autom4te, not autoconf.
* tests/autoupdate: $top_srcdir/lib is needed too for melt files.
2001-08-31 13:34:30 +00:00
Akim Demaille
db8481b543 * doc/autoconf.texi: Catch up -I, --include changes. 2001-08-31 13:33:47 +00:00
Akim Demaille
5c07d23eb4 * doc/autoconf.texi: Strip the @nodes.
Suggested by Paul Eggert.
(Initializing configure): Typo.
2001-08-29 13:12:10 +00:00
Akim Demaille
188b40e5f4 * lib/autotest/general.m4: Use
foo=`(command) 2>/dev/null`
not
	foo=`command` 2>/dev/null
(at-devnull): Rename as...
(AT-devnull): this.
(--clean): Remove AT-* files too.
* doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
Reported by Nicolas Joly.
2001-08-29 09:04:31 +00:00
Akim Demaille
b590bcbea9 * doc/autoconf.texi (Function Portability): Mention C right shifts. 2001-08-28 09:05:29 +00:00
Akim Demaille
3d2d83e712 Run update. 2001-08-27 10:24:57 +00:00
Akim Demaille
a7ef9d0fea Typo. 2001-08-27 08:40:30 +00:00
Akim Demaille
dfa9245cdb * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
`ac_top_builddir' to mimic Automake's vocabulary, which much more
readable.
Adjust callers.
* doc/autoconf.texi (Configuration Actions): Document the vars
available in commands.
Emphasize the risks of collisions in init-cmds.
2001-08-27 07:20:21 +00:00
Akim Demaille
6107062e10 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
(Initializing configure): this new node.
2001-08-27 07:20:00 +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
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
Akim Demaille
010d2196d5 More ignore. 2001-08-20 16:39:52 +00:00
Akim Demaille
be92e979a7 Englishos. 2001-08-20 16:25:42 +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
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
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
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
dea5c9a3f1 Complete. 2001-08-13 15:18:44 +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
c3de1bb1e5 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
to the INSTALL file.
2001-08-12 13:17:35 +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
Alexandre Duret-Lutz
a5b70717c1 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
* doc/autoconf.texi (C Compiler Characteristics): Update
documentation for AC_C_BIGENDIAN.
2001-08-12 12:23:49 +00:00
Akim Demaille
d8d59b4454 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
current $prefix to the sub-configures.
2001-08-10 07:18:28 +00:00
Akim Demaille
dbf7fc61b5 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option. 2001-08-07 07:55:07 +00:00
Akim Demaille
9429dfeb9c * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
m4_if, and m4_wrap.
2001-08-03 09:11:37 +00:00
Akim Demaille
b9a69888b6 * doc/autoconf.texi: Moving/deleting open files is not portable.
Portability issues for `.' (source), and more information about sed.
2001-08-01 13:11:02 +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