Commit Graph

4195 Commits

Author SHA1 Message Date
Kevin Ryde
f45e77069d (Function Portability): Add strerror_r, cross referencing AC_FUNC_STRERROR_R. 2004-05-19 01:44:39 +00:00
Paul Eggert
31b4400d28 Fix grammatical typos. 2004-05-17 05:01:45 +00:00
Paul Eggert
4b794c38d7 Document sh -e problem with subcommands. 2004-05-17 04:56:48 +00:00
Paul Eggert
278cbdd51f Don't prepend blanks to PATH in AC_PROG_GREP and AC_PROG_SED. 2004-05-10 18:54:18 +00:00
Paul Eggert
11ee0ab5f5 Port to C99, which requires that 'exit' be declared. 2004-05-03 20:15:44 +00:00
Paul Eggert
b3b81694da Regenerate. 2004-05-03 06:50:48 +00:00
Paul Eggert
1963bcf261 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
the user with complaints about multiple -e options.
2004-05-03 06:48:24 +00:00
Paul Eggert
555f6e9cfe Regenerate. 2004-05-03 06:22:29 +00:00
Paul Eggert
2ca60bb81f * configure.ac (AC_PROG_GREP): Add.
* lib/freeze.mk (GREP): New macro.
2004-05-03 06:20:09 +00:00
Paul Eggert
2632aa6e7b Prefer 'grep' implementations that accept -e. 2004-05-03 05:54:17 +00:00
Paul Eggert
a07aa35f44 Regenerate. 2004-05-03 03:53:20 +00:00
Paul Eggert
39afca425e Don't default to /bin/sh. 2004-05-03 03:49:22 +00:00
Paul Eggert
42970c489e (_AS_DETECT_BETTER_SHELL): Consult $SHELL last, not first. 2004-05-03 03:47:19 +00:00
Gary V. Vaughan
883a232738 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
how deeply nested we are when a suitable tool is found, set the
ac_path_TOOL_found flag.
(_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
nested we are in this macro.  Break out of all 3 nested loops if
ac_path_TOOL_found is set.
2004-04-23 10:24:32 +00:00
Gary V. Vaughan
94c540e872 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
of the _AS_PATH_WALK loop too if GNU flavor is found.
2004-04-21 13:04:56 +00:00
Alexandre Duret-Lutz
d8d1f67499 * doc/autoconf.texi (Limitations of Make): Update documentation
for `$<'.  New entry `Long lines', based on a report from Simon
Josefsson.  Augment the documentation for SHELL = @SHELL@ with a
paragraph about DJGPP, based on a mail from Richard Dawe.
2004-04-21 08:23:18 +00:00
Paul Eggert
59dc5be4fd Log changes to tests/c.at, lib/autoconf/c.m4, doc/autoconf.texi,
lib/autoconf/lang.m4.
2004-04-20 20:20:09 +00:00
Paul Eggert
3bd0609718 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
linker output files before linking.
2004-04-20 20:15:57 +00:00
Paul Eggert
f18b6372a6 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
consider -g to work if it generates warnings when plain compiles
don't.
2004-04-20 20:15:20 +00:00
Paul Eggert
5f94dae242 (C keywords): Don't assume that GCC supports
"restrict" and "inline".
2004-04-20 20:14:52 +00:00
Paul Eggert
52b5402a3c (Slashes): New section. 2004-04-20 20:14:31 +00:00
Gary V. Vaughan
265fcd3986 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
best tool so far counter rely on the tool path variable name to
avoid checks for one tool being affected by the results of running
the length check on a previous tool.
2004-04-20 19:16:34 +00:00
Gary V. Vaughan
0d06ecdc76 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
match expression argument, as different greps have different
regular expression flavours.
(AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
literals.
(AC_PROG_EGREP): Pass 'EGREP$'.
(AC_PROG_GREP): Pass 'GREP$'.
2004-04-20 19:09:22 +00:00
Gary V. Vaughan
f959e7f2ed * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
2004-04-20 16:54:35 +00:00
Paul Eggert
7bcfe7aa19 Use 'long int', 'short int', 'unsigned int'
etc. consistently instead of 'long', 'short', 'unsigned' etc.
2004-03-30 07:55:25 +00:00
Paul Eggert
7bf4578303 (Libtool): Create an empty aclocal.m4, to
pacify libtool 1.5.2.  Fix quoting problems in sed command.
2004-03-30 07:52:37 +00:00
Paul Eggert
4d1bb4117e AC_STRUCT_TIMEZONE now defines HAVE_DECL_TZNAME if it is declared,
when HAVE_STRUCT_TM_TM_ZONE is not defined.
2004-03-28 21:51:10 +00:00
Steven G. Johnson
b70d1ce7fd fix sed quoting; portland-group fortran compiler parsing; new fortran compiler names 2004-03-28 20:46:38 +00:00
Kevin Ryde
5037415422 (Specifying Names): Move cross_compiling ovindex to
(Run Time): ... here, where it's now mentioned.
2004-03-24 23:05:00 +00:00
Kevin Ryde
45b6ab755a (Specifying Names): Move cross_compiling ovindex to
(Run Time): ... here, where it's now mentioned.
2004-03-24 22:40:15 +00:00
Alexandre Duret-Lutz
9d30c9595d * doc/autoconf.texi (autom4te Invocation): Language Autoconf
inherits from language Autoconf-without-aclocal-m4.
(Customizing autom4te): Adjust example; the cache must now be
disabled for language Autoconf-without-aclocal-m4.
2004-03-20 06:33:12 +00:00
Paolo Bonzini
e09a76cd5a 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
* lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
	AC_CHECK_TOOLS): Warn if a cross-tool is found without
	a prefix.
	(AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
	AC_CHECK_TARGET_TOOLS): New macros.
	* doc/autoconf.texi (Generic Programs): Document
	(AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
	AC_CHECK_TARGET_TOOLS, and warn for future changes
	in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
	AC_CHECK_TOOLS.
	(Specifying Names): Document the reason for these future
	behavioral changes.
	* tests/mktests.sh: Do not generate tests for the
	new macros.
	* NEWS: Document these changes.

	* doc/autoconf.texi: Avoid macros with unbraced arguments,
	they make TeX hang up.
2004-03-19 08:57:51 +00:00
Paul Eggert
1af3ee05ac Add AC_CHECK_ALIGNOF. 2004-03-15 22:00:05 +00:00
Paul Eggert
e6ec53d00d Regenerate. 2004-03-03 21:45:35 +00:00
Paul Eggert
837c0ccc76 Don't use $< in makefiles where POSIX doesn't allow it;
add @configure_input@ in a couple of other places.
2004-03-03 21:40:46 +00:00
Paul Eggert
e651bde6a0 Regenerate. 2004-02-25 00:35:31 +00:00
Gary V. Vaughan
f2b269d60b * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
from the next generation of Libtool.
* lib/autom4te.in (Autoreconf-preselections): Ditto.
2004-02-23 08:27:51 +00:00
Alexandre Duret-Lutz
2b0361107e * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
is not always thread-safe.  Report from Nathanael Nerode.
2004-02-19 23:21:41 +00:00
Paul Eggert
ebf54a40c9 Regenerate. 2004-02-18 21:41:12 +00:00
Paul Eggert
480a58665b Fix a dependencies problem, stemming from a Autoconf 2.59 build
problem on QNX reported by Stephen Rasku in
<http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
2004-02-18 21:34:44 +00:00
Paul Eggert
a2e13401e1 *** empty log message *** 2004-02-09 21:30:27 +00:00
Paul Eggert
3eef4058db (Setting Output Variables): Emphasize that
AC_SUBST provides no portable way to escape literal newlines.
2004-02-09 21:19:32 +00:00
Paul Eggert
63988aa1c9 (_AC_FC_LIBRARY_LDFLAGS): Ignore all flags of the form -lcrt*.o,
not just -lcrt[01].o and -lcrtbegin.o.
2004-02-09 18:37:57 +00:00
Paolo Bonzini
6b2d30f409 * doc/autoconf.texi (AU_DEFUN): Fix English,
suggested by Paul Eggert.
* lib/autoconf/autoupdate.m4: Correct reference to
acobsolete.m4, suggested by Alexandre Duret-Lutz.
2004-02-03 23:07:30 +00:00
Paolo Bonzini
8ddbbac5ee * bin/autoupdate.in: Define __file__ so that warnings
refer to the correct file.
* doc/autoconf.texi (AU_DEFUN): Describe more correctly
the behavior of the third argument.
* lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
correctly the behavior of the third argument.  Document
what the three macros that AU_DEFUN defines do.  Fix
warning message when the third argument includes $0
(reported by Alexandre Duret-Lutz).
2004-02-03 09:00:27 +00:00
Paolo Bonzini
7c1b2b4c78 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
(AS_INIT): Output shell initialization there. Removed optional
parameter. Expand _AS_SHELL_FN_SPY.
(AS_INIT_WITH_SHELL_FN): Removed.
(_AS_SHELL_FN_SPY): New macro.
(AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
macros.
(AS_SHELL_SANITIZE): Remove loop to find better shell
and documentation for the parameter.
(_AS_DETECT_BETTER_SHELL): Move it here.
(_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
(_AS_RUN): Move it here, support testing with eval.
(AS_REQUIRE_SHELL_FN): Require shell functions when
it is used.
(_AS_LINENO_WORKS): Put around braces, we do not
trigger the bash bug anymore.
* lib/autotest/general.m4: Document M4SH-SANITIZE, do not
use AS_INIT_WITH_SHELL_FN.
* bin/autoconf.in, tests/wrapper.in: Regenerated.
2004-01-30 14:29:18 +00:00
Paolo Bonzini
9cfd0271c1 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
* doc/autoconf.texi: Don't say that the third parameter
is broken.
* lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
(AU_DEFUN): Honor the third parameter, create autoupdate
macros with AU_DEFINE.
* lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
AC_DIR_HEADER): Use AU_DEFUN's third parameter.
* lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
* lib/autoconf/programs.m4 (AC_RSH): Likewise.
* lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
AC_XENIX_DIR): Likewise.
* lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
* lib/autoconf/status.m4: Remove FIXME.
* tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
that the macro is not present anymore in the updated
configure.ac.
* tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
of autoupdate.
2004-01-30 14:21:35 +00:00
Paul Eggert
d73f38a0cd Update copyright years. 2004-01-28 22:21:16 +00:00
Paul Eggert
681ea94d6d Update copyright years. 2004-01-28 22:21:16 +00:00
Gary V. Vaughan
d2e80858b8 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
grep or ggrep program in PATH that accepts as long lines as
possible.
* lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
AC_PROG_GREP.
(AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
egrep and fgrep respectively if $GREP -E/-F don't work.
(_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
_AC_PROG_GREP, and AC_PROG_SED.
(_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
longest input length accepted by a command.
(AC_PROG_SED): Use it.
* doc/autoconf.texi (Particular Programs): Document the changes.
* NEWS: Updated.
2004-01-27 20:07:12 +00:00