Commit Graph

4967 Commits

Author SHA1 Message Date
Paul Eggert
bc5477ae6d * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG,
and AC_REPLACE_FNMATCH are now obsolescent in Autoconf.  New
programs should use their Gnulib counterparts.
* doc/autoconf.texi (Particular Functions): Likewise.
(Macro Names, testsuite Invocation): Replace uses of these
obsolete macros with uses of non-obsolete macros.
2006-08-31 22:38:30 +00:00
Eric Blake
bba8ad9304 * configure.ac (AC_INIT): Bump to 2.60b.
* NEWS: Update.
2006-08-29 12:37:57 +00:00
Eric Blake
c0bcd967e1 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was
mistakenly swapped on 2006-08-15.
2006-08-29 04:36:39 +00:00
Paul Eggert
4a02090423 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO
file created by the PGI compiler.
2006-08-26 03:48:30 +00:00
Paul Eggert
b300fd6e54 Reword to pacify "make alpha". 2006-08-25 21:42:41 +00:00
Paul Eggert
29d31f1f76 Version 2.60a. 2006-08-25 21:40:50 +00:00
Paul Eggert
6746b8cdf0 Fix email address in previous checkin. 2006-08-25 21:21:56 +00:00
Paul Eggert
1c6fa73a54 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to
simplify the code.
2006-08-25 21:21:19 +00:00
Paul Eggert
351972e6ff Fix Lex library problem reported to us by Julio Garvia.
* doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is
for the default, which the user can override.
* lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL
deal with LEXLIB.
(_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code
didn't work if some values were cached but not others.  Test for
broken lex libraries like native ia64-hp-hpux11.22; see
<http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and
work around the problem by preferring an empty LEXLIB to -lfl or
-ll.  Let the user set LEXLIB='' to indicate no library needed.
2006-08-25 20:48:02 +00:00
Paul Eggert
d2cc5bd968 * NEWS: Recommend M4 1.4.6 instead of 1.4.5.
* README: Likewise.
* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2006-08-25 17:23:11 +00:00
Stepan Kasal
b9b330ce66 fix typos 2006-08-25 00:36:08 +00:00
Paul Eggert
2db42f6613 Regenerate. 2006-08-24 22:57:30 +00:00
Paul Eggert
f2a9d6f3a7 Regenerate. 2006-08-24 22:57:30 +00:00
Paul Eggert
345806cfca Rework to use more-modern build style.
Many files are renamed; all uses of their names were changed.
* .x-sc_trailing_blank: Renamed from .x-sc_trailing_blank.
* .x-sc_useless_cpp_parens: New file.
* build-aux/config.guess: Renamed from config/config.guess.  Update.
* build-aux/config.sub: Renamed from config/config.sub.  Update.
* build-aux/elisp-comp: Renamed from config/elisp-comp.
* build-aux/install-sh: Renamed from config/install-sh.  Update.
* build-aux/mdate-sh: Renamed from config/mdate-sh.
* build-aux/missing: Renamed from config/missing.
* build-aux/texinfo.tex: Renamed from config/texinfo.tex.  Update.
* build-aux/vc-list-files: Renamed from config/vc-list-files.
* config/Makefile.am: Removed.
* config/mkinstalldirs: Removed.
* config/move-if-change: Removed.
* m4/m4.m4: Renamed from config/m4.m4.  Add (C) to copyright notice.
* Makefile.am (SUBDIRS): Remove config.
(ACLOCAL_AMFLAGS): Include from m4, not config.
(EXTRA_DIST): Add config/announce-gen, config/prev-version.txt.
(WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this.
(autom4te-update): Rewrite with a loop.  Get from gnulib, not automake.
Fail if there's an error.
* Makefile.cfg (move_if_change): Remove.
(wget_files): Remove.
(cvs_executable_files): New macro.
(cvs_files): Use it.  Remove mkinstalldirs.  Add fdl.texi.
(executable-update): Use $(cvs_executable_files).
(local-checks-to-skip): Remove.
* Makefile.maint: Merge from coreutils, plus add our own changes
(gzip_rsyncable): New macro.
(GZIP_ENV): Use it.
(CVS_LIST): Use build-aux/vc-list-files.
(VERSION_REGEXP): New macro.
(local-checks-available): Add patch-check, $(syntax-check-rules),
check-AUTHORS.
(syntax-check-rules): Compute dynamically.
(sc_cast_of_x_alloc_return_value): Work even if no source files.
(sc_cast_of_alloca_return_value): Likewise.
(sc_prohibit_atoi_atof): Simplify regexp.
(sc_no_if_have_config_h, sc_require_config_h):
(sc_prohibit_assert_without_use,
(sc_obsolete_symbols): Check for O_NDELAY.
(sc_texi_notab): Remove.
(sc-changelog): Don't make an exception for '----' lines.
(.re-list): Remove, so we don't have a junk file behind.
(sc_system_h_headers): Remove the need for .re-list.
(sc_the_the):  New rule.
(sc_tight_scope): Simplify.
(sc_trailing_space): Renamed from sc_trailing_blank.
(longopt_re): New macro.
(sc_two_space_separator_in_usage): New rule.
(sc_unmarked_diagnostics): Look at all files under CVS.
(sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules.
(news-date-check, changelog-check): Version is OK.
(po-check): Look for lib files even if not in CVS.
(copyright-check): Use $() not ``.
(maintainer-distcheck): Do not depend on changelog-check.
(my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz).
Also check for -Wpointer-arith.
(WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1):
(xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check):
Remove.
(announcement): Add --gpg-key-id arg.
(cvs-sv): Remove.
(move_if_change): Just use mv.
(local_updates: Remove wget-update, po-update.
(po_repo, do-po-update, po-update, wget_files, get-targets): Remove.
(config.guess-url_prefix, config.sub-url_prefix): Remove.
(ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
(standards.texi-url_prefix, make-stds.texi-url_prefix, target, url):
($(get-targets)): Remove.
(cvs_files): Remove missing, mkinstalldirs, ansi2knr.c.
(gnulib_repo): Renamed from automake_repo.  Get from gnulib now.
(cvs-update): Get from gnulib.
(emut_upload_commands): gnupload is in build-aux now.
(alpha beta major): Add changelog-check.  Check version.
* configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux.
(AC_CONFIG_FILES): Remove.
* bin/autoconf.as: Add spaces to avoid distcheck warning.
* config/announce-gen: Sync from coreutils.
* doc/make-stds.texi: Sync from gnulib.
* doc/standards.texi: Likewise.
* man/Makefile.am: Adjust for config -> build-aux renaming.
* tests/Makefile.am: Prefer $(FOO) to @FOO@.
* tests/local.at: Adjust from config -> build-aux renaming.
* tests/tools.at: Likewise.
* tests/torture.at: Likewise.
2006-08-24 22:56:47 +00:00
Paul Eggert
1355dba882 * NEWS: The C99 check now tests for vararg macros and 64-bit
preprocessor ints.
* doc/autoconf.texi (C Compiler): Document // comments, va_copy.
* lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and
64-bit preprocessor ints.  Check for static initialization of
long long.  Remove unnecessary casts.
2006-08-24 18:08:16 +00:00
Paul Eggert
306da87fe0 * doc/autoconf.texi (Particular Programs): Mention that
@INSTALL@ and @MKDIR_P@ may vary for different output files.
2006-08-24 16:58:54 +00:00
Paul Eggert
b7efbd4332 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore
-lgcc?* and -lSystem, for Darwin/MacOS X.
2006-08-24 16:46:20 +00:00
Paul Eggert
6e0e4d438b * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to
pacify insanely picky compilers.  Problem reported by Eric Blake.
2006-08-22 20:09:51 +00:00
Paul Eggert
c19c2d5a27 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no
longer supported by Sun.
2006-08-22 19:51:18 +00:00
Paul Eggert
652ee4361c Undo change to types.m4; it was a typo. 2006-08-15 16:28:35 +00:00
Paul Eggert
60c7f58b21 Undo last change; it was a typo. 2006-08-15 16:28:09 +00:00
Paul Eggert
427e34b361 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
-Wundef -Werror".  Problem reported by David Fang in
<http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
* doc/autoconf.texi (Header Templates, Default Includes):
(Particular Functions, Generic Functions, Header Portability):
(Particular Headers, Generic Headers, Generic Declarations, Guidelines):
(Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
(Present But Cannot Be Compiled, Preprocessor Symbol Index):
Prefer #ifdef to #if.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
(AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
(AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
Likewise.
* lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
(AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
* lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
(AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
* lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
this.
2006-08-15 16:24:42 +00:00
Paul Eggert
bf41565f6b OpenBSD -> Open@acronym{BSD} 2006-08-14 22:56:17 +00:00
Paul Eggert
a5b93304ab * doc/autoconf.texi (Limitations of Usual Tools): Document sed
problems with arg script text that doesn't end in newline, and
with '-e a...'.  Problems reported by Ralf Wildenhues.
2006-08-14 22:51:35 +00:00
Paul Eggert
1c33bc0c6f * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another
check for libXt by a check for libX11.
2006-08-12 18:33:46 +00:00
Ralf Wildenhues
ca7e6407ad * doc/autoconf.texi (config.status Invocation): Adjust according
to last change.
2006-08-10 04:53:38 +00:00
Ralf Wildenhues
134a37cf31 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status
--help' should mention that `--version' outputs configuration
settings.  Report by Bruno Haible.
2006-08-08 16:29:04 +00:00
Paul Eggert
75f3372076 Fix test suite failures reported by Pierre in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>.
* lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim
the compiler created a file "b.out" when it didn't create anything
at all.
* lib/autoconf/specific.m4 (AC_SYS_INTERPRETER):
Discard stderr too, when invoking the test script.
2006-08-07 07:10:24 +00:00
Paul Eggert
75a9e8db40 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo
in the restoring of the werror flag.
2006-08-06 06:26:25 +00:00
Paul Eggert
dac52fe6c9 (Limitations of Usual Tools): Warn about sed stripping
leading white space from text.
2006-07-24 19:55:45 +00:00
Paul Eggert
9ef3d1d118 * doc/autoconf.texi (Volatile Objects): Be even a little
less skeptical about "volatile".
2006-07-24 19:35:50 +00:00
Paul Eggert
9c1ab8a186 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the
compiler complains about it, even if things works after the
complaint.  Problem reported by Peter O'Gorman.
2006-07-20 22:38:47 +00:00
Paul Eggert
63b0709b94 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS,
CPPFLAGS, and LDFLAGS better.  Problem reported by Bruno Haible.
Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS.
2006-07-20 21:21:14 +00:00
Paul Eggert
f2b54ad2d0 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS
better, since it's also used when linking.  Similarly for
CXXFLAGS etc.
2006-07-20 17:09:10 +00:00
Paul Eggert
9a2033f027 Fix previous log entry; I misunderstood Welche. 2006-07-17 21:39:39 +00:00
Paul Eggert
f731b21996 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space after
-R regardless of host.  Patrick Welche reports that a space after -R
is also required for NetBSD 3.99.
2006-07-17 17:34:05 +00:00
Paul Eggert
ad613a172c * NEWS: Recommend M4 1.4.5.
* tests/tools.at (autom4te cache): Update wording of diagnostic
to match M4 1.4.5.
2006-07-17 17:30:44 +00:00
Paul Eggert
f2d54b1996 * README: Recommend M4 1.4.5.
* doc/autoconf.texi (Introduction, Why GNU M4): Likewise.
2006-07-17 16:15:34 +00:00
Paul Eggert
64d8807b72 Don't bother unsetting CONFIG_SITE. 2006-07-07 20:22:15 +00:00
Paul Eggert
8bed34d16a * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects
under AC_C_VOLATILE.
(Volatile Objects): Be a little less skeptical about what
"volatile" means.  Derived from thoughts by Ben Pfaff in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>.
2006-07-07 18:43:49 +00:00
Ralf Wildenhues
8663480a9f * doc/autoconf.texi: Fix some typos. 2006-07-07 18:39:38 +00:00
Paul Eggert
df0c08d108 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
more globally, since the 2006-06-30 patch didn't suffice.  Problem
reported by Keith Marshall.  Also, don't bother with builddir2,
since it shouldn't be needed any more.
2006-07-07 17:56:16 +00:00
Paolo Bonzini
c910e682cc 2006-07-07 Paolo Bonzini <bonzini@gnu.org>
* doc/autoconf.texi (Generic compiler characteristics):
	Document AC_COMPUTE_INT.  Fix wrong statements on Default
	Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF.

	* lib/autoconf/general.m4 (AC_COMPUTE_INT): New.
	(_AC_COMPUTE_INT): Add obsoletion warnings.
	* lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use
	AC_COMPUTE_INT.

	* NEWS: Document change.
2006-07-07 14:21:57 +00:00
Paul Eggert
a253ae0bb3 (Volatile Objects): Tune wording slightly.
Some of this was suggested by Ralf Wildenhues.
2006-07-05 22:05:53 +00:00
Paul Eggert
ca218b2ec5 * doc/autoconf.texi (Volatile Objects): New section. 2006-07-05 09:40:56 +00:00
Paul Eggert
698f722ed0 Document 'long long' change. 2006-07-05 08:34:26 +00:00
Paul Eggert
3163027d5c * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT):
Require that long long int be at least 64 bits wide.
(AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
2006-07-02 07:35:29 +00:00
Paul Eggert
dcfa118a7f * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE
to a nonexistent file, so that we don't have to worry about
a local site configuration that doesn't use /usr/local.
Problem reported by Keith Marshall in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>.
2006-06-30 07:19:46 +00:00
Paul Eggert
60dc5a14da * doc/autoconf.texi: Be more consistent about using @acronym with
"HP" and "HP-UX".  Remove mention of OSF; the old version wasn't
quite right (it talked about "OSF/Tru64", even though the
operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX,
and it even mentioned "OSF 4"!) and at this point there's little
reason to talk about OSF any more, since it died in 1994.
(Specific Compiler Characteristics): Simplify example of
negative-size array.
(File Descriptors): Reorder to make the text flow better.
Remove joke about "appreciate the various levels"; I didn't get it.
Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>.
(File Descriptors, Limitations of Usual Tools):
Tone down the advice against renaming or removing open files.
(Limitations of Usual Tools): Add a new section, on 'rm'.
2006-06-28 17:48:52 +00:00
Stepan Kasal
239d119726 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
-lXt in LIBS, idea from Karsten Hopp.
2006-06-28 08:36:54 +00:00