Commit Graph

1457 Commits

Author SHA1 Message Date
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
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
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
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
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
Akim Demaille
6d854434d2 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
Automake's parts.
* lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
* lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
* tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
2002-07-18 11:57:32 +00:00
Akim Demaille
f026c08a36 Alexandre Duret-Lutz <duret_g@epita.fr>
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
_AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
2002-07-18 11:13:55 +00:00
Akim Demaille
6653b31ca4 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
latter was not run.
2002-07-17 16:55:48 +00:00
Akim Demaille
4cb1a9ef1c * lib/Autom4te/General.pm (find_file): Browse the directories in
the order they are given.
2002-07-17 16:07:32 +00:00
Akim Demaille
5eb0e35124 Regen. 2002-07-17 08:35:59 +00:00
Paul Eggert
66d5f073b5 2002-07-17 Mark D. Roth <roth@feep.net>
* configure.ac: Add --enable-site-macro-dir option.
	* bin/Makefile.am: Expand @SITE_MACRO_DIR@.
	* bin/autom4te.in: Add --prepend-include, --include-envvar, and
	--site-macro-subdir options.
	* bin/autoconf.in: Add --prepend-include option.
	* bin/autoheader.in: Add --prepend-include option.
	* bin/autoreconf.in: Add --prepend-include option.
	* bin/autoscan.in: Add --prepend-include option.
	* bin/autoupdate.in: Add --prepend-include option.
	* doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
	macro directory, remove note that include path directories are
	used in reverse order, and document --prepend-include option.
	* lib/autom4te.in: Use --prepend-include instead of --include.
	* tests/wrapsh.in: Use --prepend-include instead of --include.
2002-07-17 08:30:42 +00:00
Akim Demaille
04df9dca08 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
tarnames.
* doc/autoconf.texi (Initializing configure): Adjust.
2002-07-17 08:17:28 +00:00
Akim Demaille
14fe4a6369 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
(_AC_FUNC_MALLOC): New.
(AC_FUNC_MALLOC): Use the latter.
Define HAVE_MALLOC to 0 if broken.
* doc/autoconf.texi (Particular Functions): Adjust.
2002-07-17 08:09:42 +00:00
Akim Demaille
511b665763 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
* doc/autoconf.texi (C Compiler): Adjust.
2002-07-16 13:37:53 +00:00
Alexandre Duret-Lutz
84993ece40 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
Don't use AC_REQUIRE in AU_DEFUN.
2002-07-09 08:46:08 +00:00
Alexandre Duret-Lutz
617c68ef91 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
so that Emacs setups GNU style for perl-mode and cperl-mode.
2002-07-02 20:31:22 +00:00
Paul Eggert
021eba412a (_AC_LIBOBJ_FNMATCH): Also check for
btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
on Solaris 2.5.1.
2002-06-12 07:20:14 +00:00
Akim Demaille
105bad12a1 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
_AC_LANG_PROGRAM_C_F77_HOOKS.
2002-06-07 10:04:28 +00:00
Akim Demaille
06e2b8bb73 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
rename as...
(AC_REPLACE_FNMATCH): this.
* tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
AC_FUNC_FNMATCH_GNU.
2002-06-07 09:50:32 +00:00
Akim Demaille
334d4b6b81 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
Rosetta Stone for Unix.
2002-06-07 09:30:24 +00:00
Akim Demaille
54ae96e2a0 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
ac_config_libobj_dir.
(AC_CONFIG_LIBOBJ_DIR): New.
* lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
(_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
Use ac_config_libobj_dir to find the replacement files.
(AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
(AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
(AC_REPLACE_FNMATCH_GNU): these.
(AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
* doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
* tests/mktests.sh (ac_exclude_list): Don't check
AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
2002-06-07 07:17:53 +00:00
Paul Eggert
f587ed5da6 (_AC_OUTPUT_LINKS): Fall back on cp if ln doesn't work. 2002-06-06 17:55:47 +00:00
Akim Demaille
971a01995e Regen. 2002-06-06 15:29:18 +00:00
Paul Eggert
82ff47d803 (AC_PROG_EGREP, AC_PROG_FGREP): New macros. 2002-05-29 22:30:17 +00:00
Paul Eggert
fd4614e4ff (AT_INIT, AT_CHECK): Do not assume that egrep and fgrep exist. 2002-05-29 22:27:40 +00:00
Paul Eggert
9e087cf376 Update commentary to not assume egrep. 2002-05-29 22:27:14 +00:00
Paul Eggert
031952bcce (AC_CONFIG_HEADER): Do not assume that egrep and fgrep exist. 2002-05-29 22:26:43 +00:00
Paul Eggert
11ec5795dc (check-local): Do not assume that egrep and fgrep exist. 2002-05-29 22:26:16 +00:00
Paul Eggert
a747233e33 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP): Do not assume that egrep and fgrep exist. 2002-05-29 22:25:50 +00:00
Paul Eggert
f1496addfd (AC_C_BIGENDIAN): Do not assume that egrep and fgrep exist. 2002-05-29 22:25:24 +00:00
Paul Eggert
d78872ae6d (_AC_FUNC_FNMATCH): Require AC_TYPE_MBSTATE_T instead of AC_MBSTATE_T,
which never existed.
2002-05-28 04:13:59 +00:00
Paul Eggert
8d17870f3d (AC_TYPE_MBSTATE_T): New macro. 2002-05-28 04:13:07 +00:00
Paul Eggert
af5396d79f (AC_PROG_F77): Remove cf77 and cft77 from the default list of
compilers to try.  Suggested by Kate Hedstrom.
2002-05-22 23:35:54 +00:00
Paul Eggert
970e96bd21 (AC_CHECK_MEMBER): Work correctly even if the member is itself an
aggregate.  Bug reported by Sergey Poznyakoff.  This improves on an
earlier suggestion by H. Peter Anvin.
2002-05-18 00:56:47 +00:00
Paul Eggert
1372672af0 (AC_GNU_SOURCE): New macro. 2002-05-17 07:09:12 +00:00
Paul Eggert
a64dba738c (_AC_FUNC_FNMATCH): New macro.
(AC_FUNC_FNMATCH): Use it.  Test only for POSIX conformance,
not for GNU extensions; this undoes part of the 2000-11-03 change,
reverting to 2.13-compatible behavior.
Add new optional argument DIR.
(AC_FUNC_FNMATCH_GNU): New macro.
2002-05-17 07:08:41 +00:00
Paul Eggert
9da19886af (AC_FUNC_GETLOADAVG): Add optional argument specifying location of
getloadavg.c.  This removes a FIXME.  This idea was taken from Jim
Meyering's implementation in textutils.
2002-05-08 22:30:49 +00:00
Paul Eggert
f2d43f41d5 (AC_HEADER_TIOCGWINSZ):
Don't require AC_SYS_POSIX_TERMIOS.  The test is unnecessary,
and it causes a 'test' syntax error if it fails.
Bug reported by Stephen Gildea.
2002-05-08 20:26:07 +00:00
Paul Eggert
603fc71942 (AC_FUNC_SETVBUF_REVERSED):
If prototypes are supported, use them to check this at compile-time,
instead of trying to check it at run-time.  If we must do a run-time
check, assume that setvbuf is standard when cross-compiling, as
nonstandard setvbuf occurs only on ancient and unlikely hosts.
2002-05-08 19:56:55 +00:00
Akim Demaille
89dd0d23ad * lib/m4sugar/m4sugar.m4 (m4_map_sep): New. 2002-05-03 08:26:29 +00:00
Akim Demaille
ffa9b817ad * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
and ac_subst_vars be sh variables containing the list of
AC_SUBST_FILES'ed and AC_SUBST'ed identifiers.  Output them in the
DEFAULT diversion.
(_AC_INIT_PREPARE): Use them to log them.
(_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
(AC_SUBST, AC_SUBST_FILE): Instead of buliding the
_AC_SUBST_SED_PROGRAM, store the list of output files/variables in
_AC_SUBST_FILES and _AC_SUBST_VARS.
* lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
2002-04-25 08:54:47 +00:00
Peter Eisentraut
a8b2c66ea5 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
and bb.out when cleaning up.
2002-04-22 17:05:21 +00:00
Akim Demaille
e3bd4560c9 Regen. 2002-04-22 09:10:58 +00:00
Paul Eggert
298b5b57f3 Minor spelling and grammar fixes. 2002-04-21 07:25:20 +00:00
Paul Eggert
62843c4d18 (AT_INIT): Fix typos in yesterday's ZSH_VERSION fixes. Bug reported
by Raja R Harinath.
2002-04-21 06:35:08 +00:00
Paul Eggert
dd756ac977 Minor spelling and grammar fixes. 2002-04-20 06:09:01 +00:00
Paul Eggert
36ff4c803c (AT_INIT): Rewrite one instance so that the "$@" problem does not come up.
Use Zsh alias to work around the other instance.
2002-04-19 19:06:23 +00:00
Paul Eggert
6e2217b6aa (AC_OUTPUT): Rewrite so that the "$@" problem does not come up. 2002-04-19 19:05:01 +00:00
Paul Eggert
297876adf2 (AC_CHECK_PROG): Rewrite so that the "$@" problem does not come up. 2002-04-19 19:04:35 +00:00