Commit Graph

2635 Commits

Author SHA1 Message Date
Paul Eggert
deae038e8f * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
_AC_LINK_IFELSE): Redirect stdin to /dev/null.
2005-02-11 00:40:50 +00:00
Paul Eggert
d3db088f19 * doc/autoconf.texi (Limitations of Usual Tools): Document that
grep -q isn't portable.  Improve grep -s explanation.
2005-02-10 00:41:40 +00:00
Paul Eggert
d288cf1ed9 * doc/autoconf.texi (Special Shell Variables): Clarify
PATH_SEPARATOR wording; fix typo in IFS.
2005-02-08 17:27:23 +00:00
Paul Eggert
89abd2994a Several minor changes to autoconf.texi. 2005-02-08 00:35:29 +00:00
Paul Eggert
5b07dac31a Today's changes (mostly from Noah Misch). 2005-02-05 08:31:02 +00:00
Paul Eggert
b14f11eb55 Today's checkins. 2005-02-05 00:46:16 +00:00
Paul Eggert
7f676501a2 Today's changes. 2005-02-04 08:36:06 +00:00
Paul Eggert
c6e9c80b78 m4_require improvements, doc fixes, sync from gnulib. 2005-02-01 00:34:18 +00:00
Paul Eggert
3dc1438931 *** empty log message *** 2005-01-29 01:08:44 +00:00
Paul Eggert
8afb8f8e62 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when this is safe.
* lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
* lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
* tests/mktests.sh: Likewise.
2005-01-28 21:21:32 +00:00
Akim Demaille
cdd416b0fe Have autoheader honor --force.
* doc/make-stds.texi, doc/standards.texi: Update from masters.
* lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
* lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
from masters, so that FileUtils.pm's update_file provide --force
support.
* bin/autoheader.in: Pass $force to update_file so that
config.h.in is always recreated when --force.
2005-01-27 10:53:41 +00:00
Stepan Kasal
4c98943ec6 update Peter Simons' address 2005-01-24 12:24:01 +00:00
Stepan Kasal
23db97463a a typo 2005-01-22 14:59:27 +00:00
Paul Eggert
2d0b9b4b34 * doc/autoconf.texi (Limitations of Builtins): Clarify that
"if test -d foo; ..." is portable.
2005-01-21 19:32:21 +00:00
Stepan Kasal
4c38a43946 fix AC_DEFINE documentation 2005-01-20 10:59:55 +00:00
Paul Eggert
c1e9cd093e * doc/autoconf.texi (Limitations of Usual Tools): Document bug
in Solaris 8 join.
2005-01-13 21:03:50 +00:00
Stepan Kasal
230ad18242 fix a comment and typos 2005-01-06 10:02:45 +00:00
Paul Eggert
6647a89175 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
ulongval to be static.
2005-01-05 14:04:11 +00:00
Alexandre Duret-Lutz
cebb4afe8c * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
docdir, htmldir, dvidir, pdfdir, psdir, and localdir.  Update
datadir, infodir, and mandir.  Adjust argument parsing code.
(_AC_INIT_HELP): Update help text.
* doc/autoconf.texi (Installation Directory Variables): Document
new variables.
2005-01-05 07:53:52 +00:00
Paul Eggert
ef8419581f * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
not seem to work, assume it does set $(MAKE).
* doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
2005-01-04 23:50:00 +00:00
Stepan Kasal
dcc0cb5d67 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting. 2005-01-03 23:32:35 +00:00
Stepan Kasal
1ab31b92c5 A cleanup of the diversion support in m4sugar. 2005-01-03 22:54:21 +00:00
Paul Eggert
2f9bbd9f62 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
Workarounds for documented `case' limitations.
2005-01-03 21:55:00 +00:00
Paul Eggert
c7a560937c * doc/autoconf.texi (Limitations of Usual Tools): Warn about
sed 'command1;command2'.
2005-01-03 08:32:02 +00:00
Paul Eggert
36fab699bd Add support for C89 vs C99. Update copyright dates. 2005-01-03 07:43:25 +00:00
Paul Eggert
8660164d69 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
signals that the package uses Automake; a `Makefile.am' is typical but
not essential.  Reported by Magnus Therning.
* tests/torture.at (autoreconf.): New banner.
(autoreconf and non-AC configure): Rename to `Non-Autoconf
AC_CONFIG_SUBDIRS'.
(autoreconf an empty directory): Rename to `Empty directory'.
(Unusual Automake input files): New test.
2005-01-02 17:15:40 +00:00
Paul Eggert
8cf50071d7 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
If the variable to set is already set, set ac_cv_path_$1
to the preset value.
2005-01-02 16:48:44 +00:00
Paul Eggert
778ced2bda * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
(AT_SETUP): Clear AT_capture_files.
(_AT_CHECK): On failure, log each of AT_capture_files.  Fix comment.
(AT_KEYWORDS): Fix comment typo.
* tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
* tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
* doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
2005-01-01 08:12:12 +00:00
Paul Eggert
fd2691e7e2 Undo unnecessary 2nd part of previous change to m4sh.m4. 2005-01-01 07:54:40 +00:00
Paul Eggert
d992a7ce41 * BUGS (Minor Problems): Warn about makefile limitations.
* Makefile.am: Find and update `INSTALL' in $(srcdir).
* man/Makefile.am: Find and update manual pages in $(srcdir).
2004-12-29 06:54:44 +00:00
Paul Eggert
5ad4560f86 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
shells in subshell.
2004-12-25 07:50:01 +00:00
Paul Eggert
506530e5f9 * doc/autoconf.texi (Limitations of Builtins) <case>, <read>. 2004-12-22 21:50:28 +00:00
Akim Demaille
6834e94321 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
avoid cluttering displayed messages.  Rather, prepend srcdir where
AT_LINE is used for log files.
2004-12-22 13:29:09 +00:00
Stepan Kasal
9655f04da2 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
  no longer part of the macro, quote the occurrence of ``$tmp''.
* doc/autoconf.texi (Forbidden Patterns): Typo.
2004-12-21 14:24:01 +00:00
Akim Demaille
fa96c5a632 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
separated from the test title by forcing a white space.
2004-12-21 12:47:57 +00:00
Akim Demaille
337a92a529 Enable Emacs navigation within testsuite.log files.
* lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
use the compilation mode.
(AT_LINE): Point to the srcdir.
2004-12-21 12:25:08 +00:00
Paul Eggert
ea190d85f1 Pass TESTSUITEFLAGS. 2004-12-20 04:10:21 +00:00
Paul Eggert
b788fb9a74 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
* lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
2004-12-19 14:40:36 +00:00
Paul Eggert
1a135aaa8d * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
(_AT_CHECK): Use it.
* lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
(AS_ESCAPE): Fix comment.
* tests/autotest.at: Adjust section banner comments.
(AT_CHECK_AT): Accept STATUS and STDERR.
(AT_CHECK_AT_TEST): Likewise.
(Invalid brace-enclosed parameter expansion)
(Multiline command from M4 expansion)
(Double-M4-quoted command): New tests.
2004-12-19 14:25:56 +00:00
Paul Eggert
68b14fa353 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2. 2004-12-18 00:44:52 +00:00
Akim Demaille
2e8bb72892 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
m4_pattern_allow.
Suggested by Alexandre Duret-Lutz.
* doc/autoconf.texi (Setting Output Variables): Catch up.
2004-12-17 16:17:18 +00:00
Stepan Kasal
04c2cc1dbc * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment. 2004-12-17 14:41:16 +00:00
Stepan Kasal
bc1b400cc4 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
remove the comment which said we cannot.
2004-12-17 14:36:23 +00:00
Stepan Kasal
bf15a42ad1 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
Reini Urban and Paul Eggert for reporting the dependencies.

* lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
* doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
(AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
2004-12-17 14:32:51 +00:00
Stepan Kasal
b26f03d5be * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
so that eg. ``autoscan --help'' doesn't truncate it.
2004-12-17 14:21:50 +00:00
Paul Eggert
632f88fbc0 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove generated
conftest files.
2004-12-15 22:37:46 +00:00
Paul Eggert
bea2437161 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
tracing on commands with possibly-escaped newlines.
* doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
discontinued behavior and its implications.
* tests/autotest.at (BS-newline in command, ^BS-newline in command)
(BSx641-newline in command, BS-BS-newline in command)
(BSx640-newline in command, Newline-CODE-BS-newline in command)
(Single-quote-BS-newline in command)
(Single-quote-newline-BS-newline in command): New tests.
2004-12-14 01:04:25 +00:00
Paul Eggert
a090c3988a * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
on platforms where it works.
(_AS_TEST_PREPARE): Test for ``test -x''.
(_AS_BROKEN_TEST_PREPARE): Nuke.
2004-12-13 18:22:55 +00:00
Paul Eggert
5d3ad5cb5a * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
  give only 4-letter prefix to AS_TMPDIR, comment fixed.
* lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
  create the temporary directory.
  (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
2004-12-13 17:58:03 +00:00
Paul Eggert
498b9c8446 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found. 2004-12-13 07:15:26 +00:00
Alexandre Duret-Lutz
84bb23ef6f * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo. 2004-12-12 11:56:40 +00:00
Paul Eggert
37fb0cb6be Don't use negated character sets. 2004-12-12 09:51:10 +00:00
Paul Eggert
56f937c296 Simplifications to bin/Makefile.am and man/Makefile.am. 2004-12-10 23:57:42 +00:00
Paul Eggert
04dcf25d6e * bin/.cvsignore: Add autoconf.in.
* tests/.cvsignore: Add wrapper.in.

* man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.

* lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.

* tests/autotest.at: New file.
* tests/suite.at: Include it.
* tests/Makefile.am: Distribute it.

* lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
  shell tracing on a command that could contain multiple lines.
* doc/autoconf.text: Document that fact and its implications.
* lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
* tests/autotest.at (Multiline backquote command substitution,
  Multiline parameter expansion, Literal multiline command,
  Multiline parenthetical command substitution): Remove XFAIL.
2004-12-10 07:08:52 +00:00
Paul Eggert
61966b580a * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes. 2004-12-10 05:00:17 +00:00
Paul Eggert
0557a75b76 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
and suggest AC_SEARCH_LIBS.
2004-12-09 21:32:05 +00:00
Paul Eggert
5574d5b7ba * configure.ac (test suite): Cease to generate wrapper scripts.
* configure: Regenerate.
* lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
(m4f_dependencies): Adjust accordingly.
* tests/Makefile.am (Wrappers): Generate wrapper scripts.
(wrapper.in): Generate it in the build directory.
(MAINTAINERCLEANFILES): Delete wrapper.in.
(CLEANFILES): Add wrapper.in.
* tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
the output.  Replace each $as_me with a @wrap_program@.
* tests/wrapper.in: Delete it; we always build it.

* bin/Makefile.am (autoconf.in): Generate it in the build directory.
(EXTRA_DIST): Remove autoconf.in.
(CLEANFILES): Add autoconf.in.
(autoconf): Find autoconf.in in the build directory.
* bin/autoconf.in: Delete it; we always build it.
2004-12-09 21:14:45 +00:00
Paul Eggert
c567224651 * lib/autotest/general.m4 (AT_INIT): Replace a tr' with a sed'. Join
PATH members so as to not prepend an empty element.  Move a comment.
* Makefile.am (SUBDIRS): Build in `tests' last.
* tests/Makefile.am (installcheck-local): Add check-local dependencies.
2004-12-09 21:01:37 +00:00
Paul Eggert
dee725cb84 * lib/mdate-sh: Don't use "set - x$ls_command /". 2004-12-08 20:37:41 +00:00
Paul Eggert
34fa7e5287 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
patch: extra "-l"s.
2004-12-07 18:23:06 +00:00
Paul Eggert
3077af0f26 Add support for UNICOS getmntent. 2004-12-06 21:24:19 +00:00
Paul Eggert
636a864089 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
out the common code to ...
(_AC_DEFINE_Q).
2004-12-05 19:55:44 +00:00
Paul Eggert
26fc6c2b61 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use "char c = '\200';". 2004-12-02 21:51:06 +00:00
Paul Eggert
b9bc8e0a42 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89. 2004-12-02 20:09:23 +00:00
Paul Eggert
389b830ea8 Minor rewording to fix problems reported by Ralf Wildenhues. 2004-11-29 21:43:33 +00:00
Paul Eggert
3f0a1ceaad * NEWS: Add ^L above each release. 2004-11-29 21:25:15 +00:00
Paul Eggert
76da3417c6 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
2004-11-29 04:34:31 +00:00
Paul Eggert
f72fc4eb29 Fix documentation problems reported by Russ Boylan in
<http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
along with some nearby cruft.
* doc/autoconf.texi (Libtool): Libtool can be used without
Automake (not without Autoconf).
(Introduction): Mention lists.gnu.org.
* BUGS: Don't mention bugs.gnu.org.
Remove mention of ancient libtool compatibility problem.
* NEWS: Mention that bugs.gnu.org is kaput.
* README: Likewise.  Mention where mailing list archives can be found.
2004-11-29 04:29:08 +00:00
Paul Eggert
a9f8c9f48e * doc/autoconf.texi (Pretty Help Strings): Go back to single-quoting 2004-11-26 08:58:50 +00:00
Paul Eggert
09158bc896 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Expand $1.
* doc/autoconf.texi (Pretty Help Strings): more fixes
2004-11-23 19:13:33 +00:00
Paul Eggert
bbf4de9810 * doc/autoconf.texi (Pretty Help Strings): Fix typo. 2004-11-23 09:01:18 +00:00
Paul Eggert
2749e0cd5b * doc/autoconf.texi: Explain overquoting in descriptions. 2004-11-22 23:32:25 +00:00
Paul Eggert
d134956a15 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Move test. 2004-11-16 18:05:25 +00:00
Paul Eggert
7902e0d285 Avoid cp -r. 2004-11-11 00:13:32 +00:00
Paul Eggert
b518346d1f * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
limitations.
2004-11-10 21:59:55 +00:00
Paul Eggert
9bf04c6b54 * doc/autoconf.texi (Shellology, Special Shell Variables): Document that the Zsh
problem with NULLCMD was fixed in zsh 3.1.6-dev-18.
2004-10-11 21:42:05 +00:00
Paul Eggert
0952c34e3c * doc/autoconf.texi (One-Shot Macros): New node.
Also, wording fixups.
2004-10-11 20:26:01 +00:00
Paul Eggert
51d68951c9 * doc/autoconf.texi (Function Portability): Fix misdescription of putenv. 2004-09-28 17:23:40 +00:00
Paul Eggert
19b14c7967 Fix AC_AU_DEFUN bug. 2004-09-22 18:05:26 +00:00
Paul Eggert
f9ba7844be Fix OS/2 problems reported by Andreas Buening. 2004-09-05 22:27:17 +00:00
Paul Eggert
6ecc3e6bdb * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Clear ac_x_includes when needed. 2004-09-05 03:30:29 +00:00
Paul Eggert
2dddd6c450 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
three args in examples.
2004-09-04 04:52:38 +00:00
Akim Demaille
fac3ef22a9 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
"case" to restore ordering.
Reported by Stepan Kasal.
2004-09-02 07:30:25 +00:00
Akim Demaille
a626e04317 * doc/autoconf.texi: Typos and stylos. 2004-08-26 12:40:00 +00:00
Paul Eggert
935c28b108 Bump to 2.59c. 2004-08-21 00:12:02 +00:00
Paul Eggert
301517bd85 Autoconf 2.59b. 2004-08-20 23:59:22 +00:00
Paul Eggert
6b1c07685a Use "file name" rather than "filename" or "path",
to be consistent with the terminology of the GNU coding standards.
2004-08-20 19:58:06 +00:00
Paul Eggert
d4f7aabdf1 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
AC_C_LONG_DOUBLE): Undo 2004-06-04 change.
2004-08-20 07:01:28 +00:00
Paul Eggert
bfc2ff1489 Fixes to support spaces in the name of the build directory. 2004-08-20 06:24:32 +00:00
Paul Eggert
fb365a2e0d Add isinf, isnan stuff. 2004-08-12 21:54:04 +00:00
Paul Eggert
7a8ea3e87f * lib/Autom4te/General.pm (END): Return correct exit status even
if unlink succeeds and sets $?.
2004-08-12 17:24:40 +00:00
Paul Eggert
76fb11e7fe * tests/torture.at (Deep Package): Use configure.in, not configure.ac. 2004-08-09 23:14:57 +00:00
Paolo Bonzini
c5a18316e0 Added Nathanael Nerode to ChangeLog entry for AC_CHECK_TARGET_TOOL. 2004-08-04 09:18:34 +00:00
Alexandre Duret-Lutz
cc27a4753f * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
(AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
* lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
* doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
* lib/autom4te.in (Automake-preselections): Preselect
AC_REQUIRE_AUX_FILE.  Automake 1.10 will trace it.
2004-08-03 22:06:09 +00:00
Alexandre Duret-Lutz
a86400c06f * lib/autom4te.in (Automake-preselections): Preselect
AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.  Automake 1.9.1 will
trace them.
2004-08-01 22:30:34 +00:00
Paul Eggert
e216d5cb77 Document pdksh POSIX problem. 2004-07-30 00:34:44 +00:00
Paul Eggert
621101c872 Mention BIN_SH. 2004-07-29 22:30:15 +00:00
Paul Eggert
c652094d91 Use "set -o posix" with pdksh, too. 2004-07-27 20:15:15 +00:00
Paul Eggert
8dcb87fb42 * lib/m4sugar/m4sh.m4:
Don't fail if ENV, MAIL, MAILPATH, LC_ALL, etc. are read only.
2004-06-24 15:00:29 +00:00
Paul Eggert
c41d505cbc * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
zsh, disable GLOB_SUBST.
2004-06-24 07:07:39 +00:00
Paul Eggert
091c734d9a Warn about names like "aux". 2004-06-04 20:40:33 +00:00
Paul Eggert
8f94c94fe5 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division by zero. 2004-06-04 19:39:51 +00:00
Paul Eggert
9a76187b8c Fix AC_C_LONG_DOUBLE C89 compatibility problem. 2004-06-02 23:48:18 +00:00
Kevin Ryde
91806b7496 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
malloc(0) and realloc(NULL,size).
2004-06-02 23:14:35 +00:00
Kevin Ryde
b8e9e1a8db * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
Bob Proulx.
2004-06-02 22:52:31 +00:00
Paul Eggert
89d95a47eb Detect _Bool bug in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. 2004-06-01 05:33:27 +00:00
Paul Eggert
d3ac02e267 Mention that ! COMMAND can be rewritten using if-then-else. 2004-05-26 17:56:18 +00:00
Paul Eggert
01ccc31a6e Fix doc typo. 2004-05-25 18:50:06 +00:00
Paul Eggert
e6eb550c4d Fix autoconfdir to match comment. 2004-05-24 23:29:25 +00:00
Paul Eggert
3999390896 AC_FUNC_MBRTOWC: Don't assume that a function F exists merely because
the compiler and linker let you compile an expression like (F != 0).
2004-05-24 23:18:04 +00:00
Paul Eggert
77cf219604 Standardize on the spelling of "Unix". Explain !'s problems. 2004-05-24 19:24:20 +00:00
Alexandre Duret-Lutz
ac2dfd9caa * lib/autom4te.in (Automake-preselections): Preselect
LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
2004-05-22 21:58:19 +00:00
Kevin Ryde
7b79456598 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
referencing AC_FUNC_STRERROR_R.
* doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
note pessimistic assumption when cross compiling.
2004-05-19 01:54:27 +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
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
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
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
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
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
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
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
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
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
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
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
4a6e2542ea * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update copyright from
2003 to 2004.
2004-01-27 19:52:55 +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
989d244f81 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
-std1 disables some useful extensions on Tru64.
2004-01-15 18:20: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
39da25a1d2 Grammar fixes. 2004-01-14 18:36:58 +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
d75addc13b *** empty log message *** 2004-01-10 16:40:09 +00:00
Paul Eggert
d22e7cb9e4 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
with `autoconf -Wall,error'.
2004-01-10 06:48:02 +00:00
Paul Eggert
90cf0c1cbe * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside "'...'". 2004-01-07 23:59:15 +00:00
Alexandre Duret-Lutz
c32ade9b96 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
and _LT_AC_TAGCONFIG.
2004-01-07 22:07:07 +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
c1556b819b Speed up sed scripts by doing lineno substitution only on lines with "$LINENO". 2004-01-05 07:43:48 +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
f95cc1efe7 Use "rm -f" to remove conftest.sed. 2004-01-05 06:18:09 +00:00
Paul Eggert
bf95493fe6 *** empty log message *** 2004-01-04 01:41:52 +00:00
Kevin Ryde
1484636ed8 * doc/autoconf.texi: Add various further index entries. 2004-01-03 20:57:09 +00:00
Paul Eggert
cf35f4f352 * bin/autoreconf.in (autoreconf_current_directory):
Fix typo: mkdir without umask arg.
2003-12-30 00:20:04 +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
932964898a 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Test if sh -n works.
        * configure: Regenerate.
        * tests/atlocal.in: Store the result here.
        * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
        tools.at, looking in atlocal's ac_cv_sh_n_works instead
        of explicitly testing.
        (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
        (AT_CHECK_AUTOCONF): Test for the configure script syntax.
        * tests/tools.at (Syntax of the shell scripts): Simplify
        using AT_CHECK_SHELL_SYNTAX.
        (Syntax of the Perl scripts): Remove definition of
        AT_CHECK_PERL_SYNTAX.
2003-12-25 15:49:59 +00:00
Paolo Bonzini
063d705adf 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
        stderr to /dev/null.
        * bin/autoconf.in: Regenerate.
        * bin/wrapper.in: Regenerate.
2003-12-25 15:43:01 +00:00
Paolo Bonzini
0723ac047b 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
* lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
        Extracted from AS_SHELL_SANITIZE.
        (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
        macros.
        (AS_SHELL_SANITIZE): Move reinvocation code from
        _AS_LINENO_WORKS, use it to find out if shell
        functions work.
        (_AS_LINENO_WORKS): Don't find another shell if $LINENO
        does not work.
        (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
        (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
        was called.
        * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
        * bin/autoconf.in: Regenerate.
        * tests/wrapper.in: Regenerate.
        * tests/tools.at: Test the syntax of tests/autoconf
        and tests/testsuite.
2003-11-27 10:04:12 +00:00
Akim Demaille
90f031cf0b * config/announce-gen (&print_locations, &print_signatures)
(&sizes): New.
Use them.
No longer rely on Gnus to inline the list of signatures: compute
them on the fly.
2003-11-24 16:11:41 +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
Akim Demaille
d9d165e195 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
uses.
From Debian Autoconf 2.58.
2003-11-24 14:19:04 +00:00
Akim Demaille
c9df52cd72 Typos. 2003-11-24 14:09:12 +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
Paul Eggert
c966beba8e Put at least 14 bytes into the initial confdefs.h. 2003-11-17 17:37:05 +00:00
Kevin Ryde
e31511767a * 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.
2003-11-14 23:32:52 +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
fd6c90c36a * bin/autoreconf.in (&parse_args): Don't call automake with
--force-missing unless it actually supports it.
From Debian #219336.
2003-11-12 15:28:43 +00:00
Akim Demaille
5b23e50984 * configure.ac: Bump to 2.59a.
Require 2.59.
2003-11-12 15:21:00 +00:00
Akim Demaille
99a48ad6c1 Version 2.59. 2003-11-06 09:32:24 +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
Akim Demaille
8cde79a28b * configure.ac: Bump to 2.58a. 2003-11-05 10:38:00 +00:00
Kevin Ryde
197784a32b * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
it provokes a warning from makeinfo about looking like a cross
reference in info output.
* doc/autoconf.texi (Function Portability): Add notes on signal
handler return type, as per AC_TYPE_SIGNAL.
2003-11-04 21:20:12 +00:00
Akim Demaille
033be7cd65 tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM. 2003-11-04 12:32:01 +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
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
61cf467820 * bin/autom4te.in (&freeze): Use a less likely warning separator
than `nn', so that `nnn' is valid in warnings.
Reported by Steve Huston.
2003-10-31 08:43:39 +00:00
Akim Demaille
27197cbed6 * Makefile.cfg (local_updates, executable-update): Tweak to be
robust to parallel makes.
Suggested by Alexandre Duret-Lutz.
2003-10-28 08:28:56 +00:00
Akim Demaille
5f99feb4cd * Makefile.cfg (executable-update): New.
(local_updates): Call it.
2003-10-27 16:48:06 +00:00
Akim Demaille
d7b524a8b0 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
Don't remove core.* as it may remove valid user files.
* lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
(AC_FUNC_UTIME_NULL): Likewise.
2003-10-27 11:12:49 +00:00
Akim Demaille
7b7d2c43ec Version 2.57g.
* config/config.guess, config/config.sub: Upgrade from masters.
2003-10-23 14:30:04 +00:00
Akim Demaille
4b174d9e8c * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
AC_COMPILE_IFELSE that use break skip the clean up.  So do it by
hand...
2003-10-23 08:22:27 +00:00
Akim Demaille
7e99ccfaa0 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
Don't forget to remove conftest.err.
2003-10-23 07:56:52 +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
Paul Eggert
828da4a04c Use 'eval', so that the resulting configure scripts work even if
the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
2003-10-20 23:24:37 +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
Daniel Jacobowitz
4c38c907f7 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
_AC_COMPILER_EXEEXT to attempt a link.  If linking fails,
	override AC_LINK_IFELSE.
2003-10-20 15:57:44 +00:00