Commit Graph

353 Commits

Author SHA1 Message Date
Ralf Wildenhues
96aa2c31b2 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
(_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
(AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
(AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
(AC_LANG_BOOL_COMPILE_TRY(Objective C))
(AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
(AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
(_AC_PROG_OBJC_G): New macros.
(_AC_ARG_VAR_CPPFLAGS): Adjusted.
* doc/autoconf.texi (Objective C Compiler): New node.
(Preset Output Variables): Document OBJCFLAGS.
(Language Choice): Document `Objective C' language.
(Fortran Compiler): Fix typo.
* NEWS: Updated.
Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
2006-03-20 20:28:55 +00:00
Paul Eggert
79fcd7c3c2 * lib/autoconf/erlang.m4: Rename macros from ERLANG_* to
AC_ERLANG_*.  All uses changed.
* lib/freeze.mk (autoconf_m4f_dependencies): Add erlang.m4
* NEWS: Add short description of new macros.
2006-02-20 19:45:30 +00:00
Ralf Wildenhues
6fab15fe41 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
(_AS_CASE): Private helper macro.
* tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
* doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
Fix syntax of AS_IF description
(Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
for the AC_REQUIRE mess.
* NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
AS_SHELL_SANITIZE.
2006-02-15 07:00:29 +00:00
Ralf Wildenhues
8e944069ad * bin/autoreconf.in: New option `--no-recursive'.
Improve wording for subpackages a bit.
* doc/autoconf.texi (autoreconf Invocation): Updated.
* NEWS: Updated.
2006-01-31 12:07:40 +00:00
Ralf Wildenhues
f124168ce6 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
correctly: pad with spaces after FIRST_PREFIX if necessary,
and compute string lenghts with `m4_qlen' instead of `m4_len'.
* lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
* tests/m4sh.at (AS_HELP_STRING): Test extended.
* NEWS: Updated.
Reported by numerous people, numerous times.
2006-01-11 08:05:55 +00:00
Stepan Kasal
6f870957c2 NEWS: Move AH_HEADER mention to right place. 2005-11-01 06:24:53 +00:00
Stepan Kasal
ebe099095d typo 2005-10-20 06:13:33 +00:00
Paul Eggert
356092a89c * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
(which belong to Xt, not X itself).  See Debian bug 327655.
* NEWS: Mention this.
2005-09-18 17:10:24 +00:00
Stepan Kasal
9b3a6b5e1d Implement AH_HEADER 2005-08-23 08:50:54 +00:00
Paul Eggert
7d9430d8b1 * NEWS: New macro AC_C_TYPEOF.
* doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
* lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
* tests/c.at (C keywords): Test AC_C_TYPEOF.
2005-07-06 21:39:30 +00:00
Paul Eggert
fac859f174 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
directories with weird names.  Apparently some people like living
on the edge.  However, improve the test that "pwd" actually does
report a name for the working directory.
* NEWS: Remove the claim that we test for funny chars in dir names.
2005-07-01 22:20:56 +00:00
Paul Eggert
e32eb1d0fe * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
directory have inherent problems with special characters like spaces,
due to limitations in Make syntax.  Problem reported by Alexandre
Duret-Lutz.
* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
Also, fix Tru64 porting problem with shell patterns,
reported by Ralf Wildenhues.
2005-06-24 02:13:39 +00:00
Paul Eggert
2fc0b2c9ba * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
* doc/autoconf.texi (Particular Headers): Reword example
for multiline stdbool replacement.
(Setting Output Variables): Reword text a bit.  Don't
give all the details about |#_!!_#|.
Reword description of line replacement.
2005-06-01 07:16:50 +00:00
Stepan Kasal
8641b608b5 make top_builddir consistent with Automake 2005-05-20 08:13:15 +00:00
Alexandre Duret-Lutz
0f41ecbc90 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
as on 2005-05-02.
* doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
Mention LIBOBJDIR.
2005-05-14 18:33:30 +00:00
Paul Eggert
681d17dce2 Update FSF postal mail address. 2005-05-14 07:00:38 +00:00
Paul Eggert
789f0bf6ff * NEWS: The configure command now warns you if you attempt to use
a directory whose name contains a special character like space,
newline, or "\".
* doc/autoconf.texi (Installation Directory Variables): Allow
"," in file names.  Do not use \@; it's not a portable regexp.
* bin/Makefile.am (edit): Likewise.
* lib/Makefile.am (edit): Likewise.
* tests/Makefile.am (edit): Likewise.
* tests/semantics.at: Likewise.
* tests/torture.at: Likewise.
* lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
* lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
* doc/autoconf.texi (File System Conventions): Warn about
unportable file names.
* lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
(AC_INIT): Use it.
(_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
ac_pwd, and quote srcdir.
* lib/autotest/general.m4 (AT_INIT): Quote file name args.
2005-03-23 01:01:58 +00:00
Paul Eggert
29373c6512 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
/dev/null, as "configure" shouldn't read stdin, and this insulates
us from problems (e.g., when testing for "cl").  Also, do this
redirection before invoking "hostname" or "uname", and keep the
original input stream available via...
(AS_ORIGINAL_STDIN_FD): ... this new macro.
(_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
bother with "</dev/null" since it's now done at the top of
'configure'.
* lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
* lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
* lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
* doc/autoconf.texi (File Descriptor Macros): New section.
(Printing Messages): Mention it.
* tests/base.at (Input/Output): New test.
2005-02-23 23:24:49 +00:00
Paul Eggert
c28abf84de * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
(AC_COPYRIGHT): Factor header comment portion out and move into...
* lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
* lib/autotest/general.at (AT_COPYRIGHT): New macro.
(AT_INIT): Add Autotest copyright notice.  Display copyright notices in
--version output.
* tests/local.at: Add Autoconf test suite copyright notice.
* doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
* NEWS: Mention AT_COPYRIGHT.
2005-02-05 07:58:43 +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
3271f2121a Patch from Roger Leigh (with some minor changes) as follows:
* NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
Resurrect AC_PROG_CC_STDC.
* doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
AC_PROG_CC_C89, AC_PROG_CC_C99.
(Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
* lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
AC_PROG_CC_C99): New macros.
(AC_PROG_CC_STDC): Use them.
(_AC_PROG_CC_STDC): Remove.
(AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
* THANKS: Add Roger Leigh.
2005-01-03 07:35:21 +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
Paul Eggert
c82b927f72 Add ^L above each release. 2004-11-29 21:24:57 +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
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
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
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
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
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
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
Akim Demaille
8cde79a28b * configure.ac: Bump to 2.58a. 2003-11-05 10:38:00 +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
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
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
32ae8f6d07 Bump to 2.57h. 2003-10-24 10:01:27 +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
Gary V. Vaughan
2f9a01b432 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
that future autopoint/aclocal/automake/autoreconf will be able
to trace to find where to install local m4 macros.
* doc/autoconf.texi (Input): Document it.
* NEWS: Updated.
2003-10-08 13:12:19 +00:00
Akim Demaille
69148bc4e5 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
* bin/autoreconf.in (autoreconf_current_directory): Create the
AUX_DIR if needed, for sake of automake --add-missing etc.
Suggested by Alexandre Duret-Lutz.
2003-10-03 07:30:01 +00:00
Akim Demaille
b9859c602f Version 2.57f. 2003-10-01 10:29:36 +00:00
Akim Demaille
83424320dc Bump to 2.57f. 2003-09-30 13:02:07 +00:00
Akim Demaille
0d2e796391 Version 2.59e.
* config/mkinstalldirs: Upgrade.
2003-09-29 09:12:46 +00:00
Akim Demaille
9a8ac9d0ba * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
directory for AC_CONFIG_COMMANDS' first argument exists.
This makes valid the invocation of _AC_SRCPATH that follows.
Reported by Eric Sunshine.
* doc/autoconf.texi (Configuration Commands): Adjust.
2003-09-26 13:55:03 +00:00
Akim Demaille
259006c2c7 Bump to 2.57e. 2003-09-25 15:22:43 +00:00
Akim Demaille
f2e174acbe Version 2.57d.
* config/install-sh: Upgrade from CVS Automake.
2003-09-25 08:33:32 +00:00
Akim Demaille
2e24ee3582 * bin/autoheader.in: Issue the "Using auxiliary..." message only
when -Wobsolete is set.
Set it on by default.
Suggested by Klee Dienes.
2003-08-27 11:35:08 +00:00