Commit Graph

1035 Commits

Author SHA1 Message Date
Paul Eggert
2632aa6e7b Prefer 'grep' implementations that accept -e. 2004-05-03 05:54:17 +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
52b5402a3c (Slashes): New section. 2004-04-20 20:14:31 +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
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
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
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
3eef4058db (Setting Output Variables): Emphasize that
AC_SUBST provides no portable way to escape literal newlines.
2004-02-09 21:19:32 +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
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
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
Paul Eggert
5f8650d8c3 Resync and/or copy from original sources. 2004-01-27 19:25:05 +00:00
Paul Eggert
62ac9bbfeb Include <stdint.h> even if HAVE_INTTYPES_H is defined. 2004-01-26 23:28:56 +00:00
Gary V. Vaughan
f74f53b7c8 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
non-truncating sed or gsed program in PATH.
* tests/acprograms.at: Add it.
* doc/autoconf.texi (Particular Programs): Document it.
* NEWS: Updated.
2004-01-23 08:21:51 +00:00
Paul Eggert
3cbad6e408 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
Test for dir before calling mkdir -p.  (trivial changes)
* doc/autoconf.texi: Document this.
2004-01-14 20:27:30 +00:00
Paul Eggert
6e4d00fa69 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/.  (trivial change)
2004-01-13 18:36:54 +00:00
Jim Meyering
d782a80065 (Running the Preprocessor): Correct grammar. 2004-01-10 16:39:56 +00:00
Paul Eggert
77619982e7 Make example a bit shorter in the previous change. 2004-01-07 18:17:28 +00:00
Paul Eggert
df495a3499 Fix an incorrect quoting example; reported by Eric Sunshine. 2004-01-06 21:11:30 +00:00
Paul Eggert
82fea9e4f7 Remove warning against "rm -fr" introduced yesterday;
it seems to have been a false alarm.
2004-01-05 23:34:23 +00:00
Paul Eggert
a6a02e8ae7 Don't use "chmod -w". 2004-01-05 08:18:24 +00:00
Paul Eggert
12475c8947 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires. 2004-01-05 07:05:22 +00:00
Paul Eggert
703a914ad3 (Limitations of Usual Tools): Mention that cc
-c -o might not work.  From a suggestion by Kevin Ryde.
(C Compiler, Generating Sources, Limitations
of Usual Tools, Limitations of Make, Making testsuite Scripts):
Don't put '-o' after non-options, as POSIX doesn't allow this.
Mention that cc's name might be gcc or c89 or whatever.
2004-01-04 01:41:25 +00:00
Kevin Ryde
1484636ed8 * doc/autoconf.texi: Add various further index entries. 2004-01-03 20:57:09 +00:00
Alexandre Duret-Lutz
30fe91493d * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
Documents OSF1/Tru64 make behavior.  Replace `VPATH = ../src' by
`VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
explanation clearer.
2003-12-27 11:31:05 +00:00
Paul Eggert
57c4246280 Fix misspelling of AC_INCLUDES_DEFAULT. 2003-12-27 08:26:26 +00:00
Paolo Bonzini
abbcaca79f Revert the behavioral changes in AC_LINK_FILES, and add several
clarificataions about the brokenness of AU_DEFUN's third argument.
2003-11-25 13:50:45 +00:00
Akim Demaille
6e6183ff80 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
override some files.
(Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
From Debian Autoconf 2.58.
2003-11-24 14:36:15 +00:00
Paolo Bonzini
9e56967aa4 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
* TODO: Remove already done things.  Update the part
        about finding tools for the target.

2003-11-24  Paolo Bonzini <bonzini@gnu.org>

        * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
        AC_DIR_HEADER): Make wording more consistent.
        * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2,
        AC_MINGW32): Explain the transition better.
        * lib/autoconf/types.m4 (AC_INT_16_BITS,
        AC_LONG_64_BITS): Explain the transition better.

2003-11-24  Paolo Bonzini  <bonzini@gnu.org>

        * doc/autoconf.texi (Obsoleting Macros): Don't
        document the third parameter of AU_DEFUN.
        * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
        (AU_DEFUN): Remove the third parameter, it was not used.
        Use AC_DEFUN directly, not AU_DEFINE.
        * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message
        into the expanded body, consistently with other macros
        such as AC_USG.
2003-11-24 10:40:58 +00:00
Kevin Ryde
786887c774 Bit more of:
* doc/autoconf.texi (Using System Type): Revise, showing $host rather
	than $target since the latter is not usual, add guidelines on when to
	use or not use the system type.

$host_cpu pointed out by Ralf Corsepius.
2003-11-15 22:26:12 +00:00
Kevin Ryde
5ee411f88a (Using System Type): Revise, showing $host rather
than $target since the latter is not usual, add guidelines on when to
use or not use the system type.
2003-11-14 23:32:10 +00:00
Derek Price
87bca2495f * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
typo misrepaired by an auto-spellcheck.
2003-11-12 15:43:21 +00:00
Akim Demaille
76c0108d23 Regen. 2003-11-06 09:28:14 +00:00
Alexandre Duret-Lutz
727294e819 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
and ac_abs_top_srcdir are absolute paths.
* lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
2003-11-05 11:58:43 +00:00
Kevin Ryde
fcf298e6c1 (Function Portability): Add notes on signal
handler return type, as per AC_TYPE_SIGNAL.
2003-11-04 21:18:58 +00:00
Kevin Ryde
1bcf8a0cf3 (Using Autotest): Avoid @strong{Note: ...}, since
it provokes a warning from makeinfo about looking like a cross
reference in info output.
2003-11-04 21:16:10 +00:00
Akim Demaille
22cc67b23b Version 2.58.
* doc/standards.texi: Update from master.
2003-11-04 08:48:23 +00:00
Akim Demaille
610c228914 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
computing the absolute path to d1 in the source hierarchy: it may
not exist at all.  So don't cd into it.
From Alexandre Duret-Lutz.
http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
* lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
From Paul Eggert, but named after Perl's IO::Spec->catfile.
* doc/autoconf.texi (Programming in M4sh): Document.
* lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
2003-11-04 08:32:06 +00:00
Pavel Roskin
3a06ae4af8 * doc/autoconf.texi (Generic Structure Checks): Describe
action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
2003-11-03 16:35:00 +00:00
Akim Demaille
6ff118ad18 Update. 2003-10-31 08:48:41 +00:00
Akim Demaille
f159338d6e * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
(GNU Fortran): New.
* doc/autoconf.texi (Language Choice): Document.
* lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
the current language is Fortran.
2003-10-31 08:44:46 +00:00
Akim Demaille
3be5747a55 Bump to 2.57g, as should have been done on 2003-10-01. 2003-10-23 09:11:57 +00:00
Akim Demaille
77c5d24444 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
same object file in $LIBOBJS.
Reported by Alexandre Duret-Lutz & Derek Robert Price.
* doc/autoconf.texi (Generic Functions): Adjust.
2003-10-23 07:49:15 +00:00
Daniel Jacobowitz
dd1ddde557 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
* lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
	(_AC_LINK_IFELSE): Check the werror flag.
	* doc/autoconf.texi (Generic Compiler Characteristics): Document
	AC_LANG_WERROR.
	* NEWS: Mention it.
2003-10-20 16:18:26 +00:00
Paul Eggert
fb37a3ec82 Work around a bug in pdksh 5.2.14.
Document ksh better.
2003-10-15 22:56:22 +00:00
Kevin Ryde
611e1bece2 Add sysconf _SC_PAGE_SIZE. 2003-10-15 00:13:12 +00:00