Log message:
Update to 2.63:
GNU Autoconf NEWS - User visible changes.
* Major changes in Autoconf 2.63 (2008-09-09) [stable]
Released by Eric Blake, based on git versions 2.62.*.
** AC_C_BIGENDIAN does not mistakenly report "universal" for some
bigendian hosts, a regression introduced with universal binary
support in 2.62.
** AC_PATH_X now includes /lib64 and /usr/lib64 in its list of default
library directories.
** AC_USE_SYSTEM_EXTENSIONS no longer conflicts with an external
AC_DEFINE([__EXTENSIONS__]). This fixes a regression introduced in
2.62 when using macros such as AC_AIX that were made obsolete in
favor of the more portable AC_USE_SYSTEM_EXTENSIONS.
** AC_CHECK_TARGET_TOOLS is usable in the non-cross-compile case.
** Newly obsolete macros
The following macro has been marked obsolete, since current porting
targets can safely assume C89 semantics that signal handlers return
void. We have no current plans to remove the macro.
AC_TYPE_SIGNAL
** The macros m4_map and m4_map_sep now ignore any list elements
consisting of just empty quotes, and m4_map_sep now expands its
separator. This fixes a regression in 2.62 when these macros were
first documented, for the sake of clients expecting the semantics
that these macros had prior to that time. The new macros m4_mapall
and m4_mapall_sep, along with extra quoting of the separator, can
be used to get the semantics that m4_map_sep had in 2.62.
** Clients of m4_expand, such as AS_HELP_STRING and AT_SETUP, can now
handle properly quoted but otherwise unbalanced parentheses (for
some macros, this fixes a regression in 2.62).
** Two new quadrigraphs have been introduced: @{:@ for (, and @:}@ for ),
allowing the output of unbalanced parentheses in more contexts.
** The following m4sugar macros are new:
m4_joinall m4_mapall m4_mapall_sep m4_reverse m4_set_add
m4_set_add_all m4_set_contains m4_set_contents m4_set_delete
m4_set_difference m4_set_dump m4_set_empty m4_set_foreach
m4_set_intersection m4_set_list m4_set_listc m4_set_remove
m4_set_size m4_set_union
** The following m4sugar macros now accept multiple arguments, as is the
case with underlying m4:
m4_defn m4_popdef m4_undefine
** The following m4sugar macros now guarantee linear scaling; they
previously had linear scaling with m4 1.6 but quadratic scaling
when using m4 1.4.x. All macros built on top of these also gain
the scaling improvements.
m4_bmatch m4_bpatsubsts m4_case m4_cond m4_do m4_dquote_elt
m4_foreach m4_join m4_list_cmp m4_map m4_map_sep m4_max
m4_min m4_shiftn
** AT_KEYWORDS once again performs expansion on its argument, such that
AT_KEYWORDS([m4_if([$1], [], [default])]) no longer complains about
the possibly unexpanded m4_if [regression introduced in 2.62].
** Config header templates `#undef UNDEFINED /* comment */' do not lead to
nested comments any more; regression introduced in 2.62.
|
Log message:
Update to 2.62:
* Major changes in Autoconf 2.62 (2008-04-05) [stable]
Released by Eric Blake, based on git versions 2.61a.*.
** Many optimizations have been applied to make overall execution faster.
** Autotest now makes use of shell functions.
** config.status now uses awk instead of sed also for config headers.
- As a side effect, AC_DEFINE and AC_DEFINE_UNQUOTED now handle multi-line
values, i.e., backslash-newline combinations are handled correctly.
Further, for config headers, the total size of values is not limited by
the POSIX length limit of text lines any more, only each single line.
** New config variable `top_build_prefix'.
** New Autoconf macros:
AC_AUTOCONF_VERSION AC_OPENMP AC_PATH_PROGS_FEATURE_CHECK
** AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
** AC_C_RESTRICT now prefers to #define 'restrict' to a variant spelling
like '__restrict' if the variant spelling is available, as this is
more likely to work when mixing C and C++ code.
** AC_CHECK_ALIGNOF's type argument T is now documented better: it must
be a string of tokens such that "T y;" is a valid member declaration
in a struct.
** AC_CHECK_SIZEOF now accepts objects as well as types: the general rule
is that sizeof (X) works, then AC_CHECK_SIZEOF (X) should work.
** AC_CHECK_TYPE and AC_CHECK_TYPES now work on any C type-name; formerly,
they did not work for function types. In C++, they now work on any
type-id that can be the operand of sizeof; this is similar to C,
except it excludes anonymous struct and union types. Formerly,
some (but not all) C++ types involving anonymous struct and union
were accepted, though this was not documented.
** AC_CONFIG_LINKS now prefers to link against files in the build tree
if found, and it works to link against a file of the same name in
the source tree, even if both trees coincide.
** AC_INIT no longer alters $@; regression introduced in 2.60.
** AC_USE_SYSTEM_EXTENSIONS now defines _ALL_SOURCE for Interix platforms.
** AS_HELP_STRING no longer underquotes its first argument; it also handles
the case where the first argument contains single-quoted commas.
For example, "AS_HELP_STRING([-a, [--arg[=foo]]], [bar])" produces:
" -a, --arg[=foo] bar"
Additionally, the macro now takes two additional arguments,
indent-column and wrap-column; these should not normally be needed,
but can be used to fine-tune how the output text is wrapped.
** AC_PROG_INSTALL now requires an install program that can install multiple
files into a target directory.
** The command 'autoconf -' now correctly processes a file from stdin.
** 'autoreconf -m' now honors $MAKE.
** For all of the directory arguments for 'configure', such as '--prefix'
or '--bindir', trailing slashes are stripped. As an example, if
tab completion in the user's shell appends trailing slashes, the
command './configure --prefix=/usr/' will still result in an
expanded libdir value of /usr/lib, not /usr//lib.
** `configure --help=recursive' now works in read-only trees and from
unconfigured build trees.
** If precious variables differ only in whitespace, then the cache consistency
check warns instead of fails, and reuses the old value.
** AT_BANNER is now documented.
** AT_SETUP now handles macro expansions properly when calculating line
length.
** Autotest now determines $srcdir correctly.
** Testsuites built by autotest now accept a -C/--directory=DIR option
to adjust the working directory prior to creating files.
** Autoconf now requires GNU M4 1.4.5 or later. Earlier versions of M4 have
a bug in macro tracing that interferes with the interaction between
Autoconf and Automake. GNU M4 1.4.11 or later is recommended. The
configure search for a working M4 is improved.
** For portability with the eventual M4 2.0, macros should no longer use
anything larger than $9 to refer to arguments.
** Documentation for m4sugar is improved.
- The following macros were previously available as undocumented
interfaces; the macros are now documented as stable interfaces.
__oline__ m4_assert m4_bmatch m4_bpatsubsts m4_car m4_case
m4_cdr m4_default m4_divert_once m4_divert_pop m4_divert_push
m4_divert_text m4_do m4_errprintn m4_fatal m4_flatten
m4_ifndef m4_ifset m4_ifval m4_ifvaln m4_location
m4_n m4_shiftn m4_strip m4_warn
- The following macros were previously available as undocumented
interfaces, but had bug fixes or semantic changes as part of this
release. Packages that relied on the undocumented behavior
should be analyzed to make sure they will still work with the
new documented behavior.
m4_cmp m4_list_cmp m4_join m4_map m4_map_sep m4_sign
m4_text_box m4_text_wrap m4_version_compare
- The m4_wrap macro used to have unspecified order, but now
guarantees FIFO order. m4_wrap_lifo was added to guarantee LIFO
order.
- Packages using the undocumented m4sugar macro m4_PACKAGE_VERSION
should consider using the new AC_AUTOCONF_VERSION instead.
- m4sugar macros that are not documented in the manual are still
deemed experimental, and should not be used outside of Autoconf.
** The m4sugar macros m4_append and m4_append_uniq, first documented in
2.60, have been fixed to treat both the string and the separator
arguments consistently with regards to quoting. Prior to this fix,
m4_append_uniq could mistakenly duplicate entries if the expansion
of the separator resulted in a different string (for example, if it
contained quotes, a comma, or a macro name). However, it means
that programs previously using
m4_append([name], [string], [[, ]])
are now using a four-character separator instead of the intended
comma and space. If you need portability to earlier versions of
Autoconf, you can insert the following snippet after AC_INIT but
before any other macro expansions, to enforce the new semantics:
m4_pushdef([m4_append], [m4_define([$1],
m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
Additionally, m4_append_uniq now takes optional parameters that can
be used to take action depending on whether anything was appended,
and warns if a non-empty separator occurs within the string being
appended, since that can lead to duplicates.
** The following m4sugar macros are new:
m4_append_uniq_w m4_apply m4_combine m4_cond m4_count
m4_dquote_elt m4_echo m4_expand m4_ignore m4_make_list m4_max
m4_min m4_newline m4_shift2 m4_shift3 m4_unquote m4_wrap_lifo
** Warnings are now generated by default when an installer invokes
'configure' with an unknown --enable-* or --with-* option.
These warnings can be disabled with the new AC_DISABLE_OPTION_CHECKING
macro, or by invoking 'configure' with --disable-option-checking.
** Existing obsolete macros
The documentation for the following macros is adjusted to make it
more clear that they have previously been marked obsolete, as their
functionality can be accomplished by other macros. We have no
current plans to remove them from Autoconf.
AC_ENABLE AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH
** Newly obsolete macros
The following macros have been marked obsolete, as they only
perform a subset of AC_USE_SYSTEM_EXTENSIONS. We have no current
plans to remove them.
AC_AIX AC_GNU_SOURCE AC_ISC_POSIX AC_MINIX
** AC_C_LONG_DOUBLE is obsolescent.
The documentation now says that AC_C_LONG_DOUBLE is obsolescent: it
tests for problems that are so old that it is no longer of
practical importance on current systems. New programs need not use
AC_C_LONG_DOUBLE. We have no current plans to remove it.
** AC_DIAGNOSE, AC_WARNING, and AC_FATAL are obsolescent.
The documentation now favors the use of M4sugar macros m4_warn and
m4_fatal, since the naming makes it more obvious that the
diagnostics are associated with M4 expansion (ie. when running
`autoconf'), and offers less confusion with the AC_MSG_ERROR,
AC_MSG_FAILURE, and AC_MSG_WARN macros which manage diagnostics
when running `configure'. We have no current plans to remove these
macros.
* Major changes in Autoconf 2.61a (2006-12-11)
** AC_FUNC_FSEEKO was broken in 2.61; it didn't make fseeko and ftello visible
on many platforms. This has been fixed.
** AC_FUNC_SETVBUF_REVERSED is now obsolete. It is still defined for backward
compatibility but it does nothing. The macro was already
obsolescent, as the last systems to have the problem were those
based on SVR2, which became obsolete in 1987. The macro had bugs
on some modern systems and could no longer be maintained reliably
due to lack of ancient systems to test it on.
** config.status now uses awk instead of sed for most substitutions, for speed.
- As a side effect multi-line values of substituted variables no
longer have a small limit in total size, though for portability
each line should not exceed the POSIX length limit for text lines.
- It is now documented that Makefile.in should not contain
overlapping variable occurrences, e.g., @VAR1@VAR2@.
Autoconf's behavior was always iffy in such cases, and the
awk implementation has changed the behavior.
** Many uses of 'echo' have been rewritten so that Autoconf-generated
scripts have fewer problems with strings or file names containing
embedded special characters such as backslash or leading "-". This
was implemented by using `printf '%s\n' "$foo"' instead of `echo
"$foo"' when printf works. Due to the implementation technique
used, Autoconf-generated scripts now run considerably more slowly
on ancient implementations lacking printf. However, this should
not be a problem, since Autoconf-generated scripts in practice
invariably find a more-modern shell these days.
|
Log message:
Update to 2.60:
* Major changes in Autoconf 2.60
Released 2006-06-23, by Ralf Wildenhues.
** Autoconf no longer depends on whether m4wrap is FIFO (as Posix requires)
or LIFO (as in GNU M4 1.4.x). GNU M4 2.0 is expected to conform to Posix
here, so m4wrap/m4_wrap users should no longer depend on LIFO behavior.
** Provide a way to turn off warnings about the changed directory variables.
* Major changes in Autoconf 2.59d
Released 2006-06-05, by Ralf Wildenhues.
** GNU make now recommended for VPATH builds
INSTALL now suggests VPATH builds (e.g., "sh ../srcdir/configure")
only if you use GNU make. In practice, other 'make' implementations
have too many subtle incompatibilities in their support for VPATH.
Many packages (including Autoconf itself) are portable to other
'make' implementations, but some packages are not, and recommending
GNU make keeps the installation instructions simpler.
** Even more safety checks for the new Directory variables:
Warn about suspicious `${datarootdir}' found in config files output.
** AC_TRY_COMMAND, AC_TRY_EVAL, ac_config_guess, ac_config_sub, ac_configure
These never-documented macros and variables have been marked with
comments saying that they may be removed in a future release,
because their use can lead to unintended code being executed.
If you need functionality that only these macros or variables
currently supply, please write bug-autoconf@gnu.org.
** AC_SUBST, AC_DEFINE
Literal arguments to these are passed to m4_pattern_allow now.
** AC_PROG_CC_STDC
Passing 'ac_cv_prog_cc_stdc=no' to 'configure' now sets ac_cv_prog_cc_c99
and ac_cv_prog_cc_c89 to 'no' as well, for backward compatibility with
obsolete K&R tests in the Automake test suite.
** AC_PROG_CXX_C_O
New macro.
** AC_PROG_MKDIR_P
New macro.
** AS_MKDIR_P
Now more robust with special characters in file names, or when
multiple processes create the same directory at the same time.
** Obsolescent macros
The documentation now says that the following macros are obsolescent:
they test for problems that are so old that they are no longer of
practical importance on current systems.
AC_C_BACKSLASH_A AC_FUNC_MEMCMP AC_HEADER_DIRENT
AC_C_CONST AC_FUNC_SELECT_ARGTYPES AC_HEADER_STAT
AC_C_PROTOTYPES AC_FUNC_SETPGRP AC_HEADER_STDC
AC_C_STRINGIZE AC_FUNC_SETVBUF_REVERSED AC_HEADER_SYS_WAIT
AC_C_VOLATILE AC_FUNC_STAT AC_HEADER_TIME
AC_FUNC_CLOSEDIR_VOID AC_FUNC_STRFTIME AC_ISC_POSIX
AC_FUNC_GETPGRP AC_FUNC_UTIME_NULL AC_PROG_GCC_TRADITIONAL
AC_FUNC_LSTAT AC_FUNC_VPRINTF AC_STRUCT_TM
New programs need not use these macros. We have no current plans to
remove them.
** autoreconf
For compatibility with future Libtool 2.0, autoreconf will invoke
libtoolize with the option `--ltdl' now, if LT_CONFIG_LTDL_DIR is
used.
* Major changes in Autoconf 2.59c
Released 2006-04-12, by Ralf Wildenhues.
** The configure command now redirects standard input from /dev/null,
to help avoid problems with subsidiary commands that might mistakenly
read standard input. AS_ORIGINAL_STDIN_FD points to the original
standard input before this redirection, if you really want configure to
read from standard input.
** Directory variables adjusted to recent changes in the GNU Coding Standards.
The following directory variables are new:
datarootdir read-only architecture-independent data root [PREFIX/share]
localedir locale-specific message catalogs [DATAROOTDIR/locale]
docdir documentation root [DATAROOTDIR/doc/PACKAGE]
htmldir html documentation [DOCDIR]
dvidir dvi documentation [DOCDIR]
pdfdir pdf documentation [DOCDIR]
psdir ps documentation [DOCDIR]
The following variables have new default values:
datadir read-only architecture-independent data [DATAROOTDIR]
infodir info documentation [DATAROOTDIR/info]
mandir man documentation [DATAROOTDIR/man]
This means that if you use any of `@datadir@', `@infodir@', or
`@mandir@' in a file, you will have to ensure `${datarootdir}' is
defined in this file. As a temporary measure, if any of those are
found but no mention of `datarootdir', the substitutions will be
replaced with values that do not contain `${datarootdir}', and a
warning will be issued.
** @top_builddir@ is now a dir name: it is always nonempty and doesn't have
a trailing slash. Similar change will be made to ac_top_builddir in a
future release; the old style value, which matches (../)*, is (and will
continue to be) available as ac_top_build_prefix.
** AC_C_TYPEOF
New macro to check for support of 'typeof' syntax a la GNU C.
** AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_HEADERS_ONCE
New "once-only" variants of commonly-used macros, to make 'configure'
smaller and faster in common cases.
** AC_FUNC_STRTOLD
New macro to check for strtold with C99 semantics.
** AC_HEADER_ASSERT
New macro that lets builder disable assertions at 'configure'-time.
** AC_PATH_X
Now checks for X11/Xlib.h and XrmInitialize (X proper) rather than
X11/Intrinsic.h and XtMalloc (Xt).
** AC_PRESERVE_HELP_ORDER
New macro that causes `configure' to display help strings for AC_ARG_ENABLE
and AC_ARG_WITH arguments in one region, in the order defined. The default
behavior is to group options of each classes separately.
** AC_PROG_CC, AC_PROG_CXX
No longer automatically arrange to declare the 'exit' function of C,
when a C++ compiler is used. Standard Autoconf macros no longer use
'exit', so this is no longer an issue for them. If you use C++, and
want to call 'exit', you'll have to arrange for its declaration
yourself. But we now suggest you return from 'main' instead.
** AC_PROG_CC_C89, AC_PROG_CC_C99
New macros for ISO C99 support. AC_PROG_CC_C89 and AC_PROG_CC_C99
check for ANSI C89 and ISO C99 support respectively.
** AC_PROG_CC_STDC
Has been unobsoleted, and will check if the compiler supports ISO
C99, falling back to ANSI C89 if not. ac_cv_prog_cc_stdc is
retained for backwards compatibility, assuming the value of
ac_cv_prog_cc_c99 or ac_cv_prog_cc_c89 (whichever is valid, in
that order).
** AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE
New macros for checking commonly-used members of struct dirent.
** AC_SUBST
The substituted value can now contain newlines.
** AC_SUBST_FILE
The substitution now occurs only when @variable@ is on a line by itself,
optionally surrounded by spaces and tabs. The whole line is replaced.
** AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER
New macros to check for long double, and whether it is wider than double.
The old macro AC_C_TYPE_LONG_DOUBLE has been marked as obsolete;
applications should switch to the new macro.
** AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT, AC_TYPE_SSIZE_T,
AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT
New macros to check for C99 and POSIX types.
** AC_USE_SYSTEM_EXTENSIONS
New macro to enable extensions to Posix.
** AH_HEADER
New macro which is defined to the name of the first declared config header
or undefined if no config headers have been declared yet.
** AS_HELP_STRING
The macro correctly handles quadrigraphs now.
** AS_BOURNE_COMPATIBLE, AS_SHELL_SANITIZE, AS_CASE
These macros are new or published now.
** AT_COPYRIGHT
New macro for copyright notices in testsuite files.
** ALLOCA, LIBOBJS, LTLIBOBJS
Object names added to these variables are now prefixed with `${LIBOBJDIR}',
as in `${LIBOBJDIR}alloca.o'. LIBOBJDIR is meant to be defined from
`Makefile.in' in case the object files lie in a different directory.
The LIBOBJDIR feature is experimental.
** autoreconf
Supports --no-recursive now.
** New macros to support Erlang/OTP.
New macros for configuring paths to Erlang tools and libraries:
AC_ERLANG_PATH_ERLC, AC_ERLANG_NEED_ERLC, AC_ERLANG_PATH_ERL,
AC_ERLANG_NEED_ERL, AC_ERLANG_CHECK_LIB, AC_ERLANG_SUBST_ROOT_DIR,
AC_ERLANG_SUBST_LIB_DIR.
New macros for configuring installation of Erlang libraries:
AC_ERLANG_SUBST_INSTALL_LIB_DIR, AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR.
** The manual now mentions Gnulib more prominently.
** New macros to support Objective C.
AC_PROG_OBJC, AC_PROG_OBJCPP.
* Major changes in Autoconf 2.59b
Released 2004-08-20, by Paul Eggert.
** AC_CHECK_ALIGNOF
New macro that computes the default alignment of a type.
** AC_CHECK_TOOL, AC_PATH_TOOL, AC_CHECK_TOOLS
When cross-compiling, these macros will give a warning if the tool
is not prefixed. In the future, unprefixed cross tools will not
be detected; please consult the info documentation for information
about the reason of this change.
** AC_CHECK_TARGET_TOOL, AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOLS
New macros that detect programs whose name is prefixed with the
target type, if the build type and target type are different.
** AC_REQUIRE_AUX_FILE
New trace macro that declares expected auxiliary files.
** AC_PROG_GREP
New macro that tests for a grep program that accepts as a long a line
as possible.
** AC_PROG_EGREP, AC_PROG_FGREP
These macros now require AC_PROG_GREP, and try EGREP="$GREP -E" and
FGREP="$GREP -F" respectively if possible, or else run a path search for
a program that accepts as long a line as possible.
** AC_PROG_SED
New macro that tests for a sed program that truncates as few characters
as possible.
|