Commit Graph

3393 Commits

Author SHA1 Message Date
Akim Demaille
1f064c63b6 * lib/Autom4te/General.pm (&update_file): s/die/error/.
Reported by Raja R. Harinath.
* bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
* bin/autoupdate.in: Use error instead of die.
2002-09-02 07:41:56 +00:00
Paul Eggert
5bd6f32216 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
ordinary shell concatenation rather than echo+tr+sed command that
runs afoul of a long-line-related sed bug in Solaris 8.
2002-09-02 06:44:58 +00:00
Paul Eggert
5674768081 (ac_exclude_egrep, au_exclude_egrep): Use ordinary shell concatenation
rather than echo+tr+sed command that runs afoul of a long-line-related
sed bug in Solaris 8.
2002-09-02 06:44:27 +00:00
Paul Eggert
6ec9b0c4e1 * bin/autoheader.in (parse_args): --warning -> --warnings. 2002-09-01 11:05:01 +00:00
Paul Eggert
430a6c9614 (parse_args): --warning -> --warnings. 2002-09-01 11:04:24 +00:00
Paul Eggert
9c8b4a2faf * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
stdout, as traditional "ls" does.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
_AC_COMPILER_EXEEXT_O): Likewise.
* doc/autoconf.texi (Limitations of Usual Tools): Add "ls".

* bin/autoconf.as: Add --prepend-include option.  This patch was
applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
but bin/autoconf.in is generated automatically from bin/autoconf.as.

* bin/autoconf.in, configure: Regenerate.
2002-09-01 10:41:31 +00:00
Paul Eggert
52a290c19c Regenerate. 2002-09-01 10:33:45 +00:00
Paul Eggert
9d9085f803 (Limitations of Usual Tools): Add "ls". 2002-09-01 10:26:58 +00:00
Paul Eggert
c8c8f2a584 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O): Work even if
"ls" outputs "FOO not found" to stdout, as traditional "ls" does.
2002-09-01 10:11:05 +00:00
Paul Eggert
2f955c6e78 Work even if "ls" outputs "FOO not found" to stdout, as traditional
"ls" does.
2002-09-01 10:10:02 +00:00
Paul Eggert
7274977e14 Fix English-language typo in previous change. 2002-09-01 08:36:52 +00:00
Paul Eggert
6eb625f2f3 * doc/autoconf.texi (Special Shell Variables): Mention
ENV, MAIL, MAILPATH, PS1, PS2, PS4.  Index PWD.

* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
MAILPATH and set PS1, PS2, PS4 to default values, to work
around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
For LC_ALL etc, first try to set to "C" as POSIX requires and as
the Autoconf documentation specifies; fall back to "unset" only if
this fails.  Use a shell for-loop for this rather than an m4 loop,
to shorten the output script.
2002-09-01 08:25:09 +00:00
Paul Eggert
c4406379c7 (Special Shell Variables): Mention ENV, MAIL, MAILPATH, PS1, PS2, PS4.
Index PWD.
2002-09-01 08:24:41 +00:00
Paul Eggert
24e7c10e7f (AS_SHELL_SANITIZE): Unset ENV, MAIL,
MAILPATH and set PS1, PS2, PS4 to default values, to work
around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
For LC_ALL etc, first try to set to "C" as POSIX requires and as
the Autoconf documentation specifies; fall back to "unset" only if
this fails.  Use a shell for-loop for this rather than an m4 loop,
to shorten the output script.
2002-09-01 08:24:04 +00:00
Paul Eggert
9e22b61cb2 Regenerate, this time with the correct m4.m4. 2002-09-01 08:17:15 +00:00
Paul Eggert
c455431113 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
1003.1-2001's requirements for CDPATH.  Give a simpler workaround
for the CDPATH problem.  Document PWD.
(Limitations of Builtins): Document the problem that "cd $foo" and
"ls $foo" may refer to different directories in shells conforming
to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
example, since the old example is now out of date.

* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
FOO" and "ls FOO" talk about different directories; this catches
problems when POSIX 1003.1-2001 "cd" fails due to symlink
spaghetti.

* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
of rolling our own unset.
(_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
in practice we needn't worry about CDPATH if unset doesn't work.

* Makefile.in, aclocal.m4, bin/Makefile.in,
config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
tests/Makefile.in: Regenerate with Automake 1.6.3.

* config/config.guess, config/config.sub, config/mkinstalldirs:
Update.

* configure: Regenerate with self.
2002-08-31 05:52:46 +00:00
Paul Eggert
0288fc2b7f Regenerate with self. 2002-08-31 05:52:09 +00:00
Paul Eggert
6fb1e2093b Regenerate with Automake 1.6.3. 2002-08-31 05:51:03 +00:00
Paul Eggert
58f7c77b61 Update. 2002-08-31 05:49:05 +00:00
Paul Eggert
f27d2995ab (AS_SHELL_SANITIZE): Use AS_UNSET instead
of rolling our own unset.
(_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
in practice we needn't worry about CDPATH if unset doesn't work.
2002-08-31 05:48:04 +00:00
Paul Eggert
4148c6e1d8 (_AC_INIT_SRCDIR): Reject FOO if "cd FOO" and "ls FOO" talk about
different directories; this catches problems when POSIX 1003.1-2001
"cd" fails due to symlink spaghetti.
2002-08-31 05:47:02 +00:00
Paul Eggert
07fb756c7d * doc/autoconf.texi (Special Shell Variables): Mention POSIX
1003.1-2001's requirements for CDPATH.  Give a simpler workaround
for the CDPATH problem.  Document PWD.
(Limitations of Builtins): Document the problem that "cd $foo" and
"ls $foo" may refer to different directories in shells conforming
to POSIX 1003.1-2001.  Use PS1 rather than CDPATH for "unset"
example, since the old example is now out of date.
2002-08-31 05:46:05 +00:00
Kevin Ryde
e9c40082b6 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
default output.
2002-08-30 01:15:49 +00:00
Akim Demaille
694cc37e81 Use the wording suggested by Bruno Haible. 2002-08-29 08:24:39 +00:00
Akim Demaille
bf0ec7678a * bin/autom4te.in (Request::load): Correctly test for "do" read
failure.
2002-08-29 08:13:24 +00:00
Akim Demaille
a364aa42ba * lib/Autom4te/General.pm (&xqx): New.
(&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
hand, which is not portable.
(&error): New.
* bin/autom4te.in: Use them.
Use &error instead of die.
* tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
Adjust.
2002-08-29 08:03:10 +00:00
Akim Demaille
f2c72eabc7 Regen. 2002-08-29 06:21:50 +00:00
Paul Eggert
6054d4bd6e *** empty log message *** 2002-08-18 00:47:57 +00:00
Paul Eggert
62545523b7 (AC_PROG_F77): Remove fc from the default list of compilers to try,
since it was long ago superseded by the ksh fc builtin.  Suggested by
Steven G. Johnson.
2002-08-18 00:47:25 +00:00
Akim Demaille
a9cb0f1164 Add HACKING. 2002-08-03 12:51:25 +00:00
Alexandre Duret-Lutz
738c678f2a * doc/autoconf.texi (Invoking autom4te): End the option table,
fixing a bug introduced by the previous patch.
(Limitations of Make): Add a 'target lookup' subentry in the
'VPATH' entry.  Rewrite all `make' occurences as `@command{make}'.
2002-07-31 07:09:11 +00:00
Mark D. Roth
a4865e2e2e 2002-07-29 Mark D. Roth <roth@feep.net>
* bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
        options and use $AUTOM4TE_PATH.
        * doc/autoconf.texi: Remove documentation of autom4te
        --include-envvar and --site-macro-subdir options and document
        use of $AUTOM4TE_PATH.
        * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
        arguments from each language section.
2002-07-30 00:42:58 +00:00
Paul Eggert
7729bc0025 * doc/install.texi: Include copyright symbol in copyright notice.
* Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
Replace with:
(AM_MAKEINFOFLAGS): New macro.
* doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
* Makefile.am (INSTALL): Use the new macros.
Use -o rather than --output, since "missing" does not grok --output.
2002-07-29 08:26:04 +00:00
Paul Eggert
423ec968d0 (MAKEINFO): Remove.
(AM_MAKEINFOFLAGS): New macro.
2002-07-29 08:24:51 +00:00
Paul Eggert
4f5ce66beb (MAKEINFO): Remove; it's a user-specified macro. Replace with:
(AM_MAKEINFOFLAGS): New macro.
(INSTALL): Use it.  Use -o rather than --output, since "missing" does not
grok --output.
2002-07-29 08:23:56 +00:00
Paul Eggert
e3306391ef Include copyright symbol in copyright notice. 2002-07-29 08:20:52 +00:00
Kevin Ryde
4ac2ba3b76 * autoconf.texi (Limitations of Make, Making testsuite Scripts):
Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
2002-07-27 22:31:20 +00:00
Alexandre Duret-Lutz
1e5dcc69a9 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
comments do not always work. Never trust the exit status of
`make -k'.
2002-07-25 21:00:45 +00:00
Kevin Ryde
31ea65e88d * autoconf.texi (Limitations of Make, Making testsuite Scripts):
Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
2002-07-24 00:38:49 +00:00
Paul Eggert
a8ead8a326 (_AS_PATH_SEPARATOR_PREPARE):
Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
apparently treats PATH="nonexistent" as if it contained ".".
Bug reported by Stefan `Sec' Zehl.
2002-07-23 22:17:19 +00:00
Paul Eggert
7c80d5ba5b * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
apparently treats PATH="nonexistent" as if it contained ".".
Bug reported by Stefan `Sec' Zehl.
2002-07-23 22:16:36 +00:00
Alexandre Duret-Lutz
7665fdb00e * doc/autoconf.texi (Limitations of Make): Mention the special
handling of the obj/ directory by BSD make.
2002-07-23 19:57:09 +00:00
Paul Eggert
c5e4f3ebe6 Add proposals for AC_PROG_CC, AC_GNU_SOURCE, AC_AIX, AC_MINIX. 2002-07-23 18:14:06 +00:00
Kevin Ryde
94cb87add5 Fix tabs not enjoyed by texi2dvi:
* doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
backslashes.
2002-07-20 00:14:59 +00:00
Kevin Ryde
0f67d7bd0c Oops, forgot the @noindent (not that it seems to make a difference):
* doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
backslashes.
2002-07-19 22:44:49 +00:00
Kevin Ryde
7adeb66826 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
backslashes.
2002-07-19 22:32:15 +00:00
Akim Demaille
07d89a2c97 (Programming in M4sh): Ethymology of M4sh. 2002-07-19 10:16:34 +00:00
Akim Demaille
93ac890413 * doc/autoconf.texi (Function Portability): `exit'. 2002-07-19 09:01:55 +00:00
Akim Demaille
14d8b70b62 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U. 2002-07-19 08:39:59 +00:00
Paul Eggert
ee515d5ac0 Correct the description of --enable-site-macro-dir. 2002-07-19 08:22:05 +00:00