This broke various things.
Also remove the comment in devel/autoconf/Makefile that says to update it, so
that the next person does not fall into the same pitfall again.
2.70 deprecates a lot of stuff, so expect more warnings, but generally things
seem to work fine, so updating to 2.70 shouldn't break much.
Also update mk/gnu-config/*, as per the comment in devel/autoconf/Makefile.
mk/gnu-config/missing is not actually part of autoconf, but of automake, which
I did not update - however, the file was quite out of date, so I took the
liberty to update that one with the latest automake.
The change log is too long to include in this commit, given how many years
there were between 2.69 and 2.70. Check the file ChangeLog after `make
extract`.
pkglint --only "https instead of http" -r -F
With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.
This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
Issues found with existing distfiles:
distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
distfiles/fortran-utils-1.1.tar.gz
distfiles/ivykis-0.39.tar.gz
distfiles/enum-1.11.tar.gz
distfiles/pvs-3.2-libraries.tgz
distfiles/pvs-3.2-linux.tgz
distfiles/pvs-3.2-solaris.tgz
distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
devel/autoconf (but just add 2.69 status)
devel/dejagnu
devel/p5-ExtUtils-AutoInstall (infinite loop)
devel/p5-Inline-C (fail at t/27inline_maker.t)
devel/p5-Search-Elasticsearch (several items)
Some other {net,devel}/p5-packages
Set BUILD_DEPENDS+= for make test
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
* Noteworthy changes in release 2.69 (2012-04-24) [stable]
** Autoconf now requires perl 5.6 or better (but generated configure
scripts continue to run without perl).
* Noteworthy changes in release 2.68b (2012-03-01) [beta]
Released by Eric Blake, based on git versions 2.68.*.
** Autoconf-generated configure scripts now unconditionally re-execute
themselves with $CONFIG_SHELL, if that's set in the environment.
** The texinfo documentation no longer specifies "front-cover" or
"back-cover" texts, so that it may now be included in Debian's
"main" section.
** Support for the Go programming language has been added. The new macro
AC_LANG_GO sets variables GOC and GOFLAGS.
** AS_LITERAL_IF again treats '=' as a literal. Regression introduced in
2.66.
** The macro AS_EXECUTABLE_P, present since 2.50, is now documented.
** Macros
- AC_PROG_LN_S and AS_LN_S now fall back on 'cp -pR' (not 'cp -p') if 'ln -s'
does not work. This works better for symlinks to directories.
- New macro AC_HEADER_CHECK_STDBOOL.
- New and updated macros for Fortran support:
AC_FC_CHECK_BOUNDS to enable array bounds checking
AC_F77_IMPLICIT_NONE and AC_FC_IMPLICIT_NONE to disable implicit integer
AC_FC_MODULE_EXTENSION to compute the Fortran 90 module name extension
AC_FC_MODULE_FLAG for the Fortran 90 module search path flag
AC_FC_MODULE_OUTPUT_FLAG for the Fortran 90 module output directory flag
AC_FC_PP_SRCEXT for preprocessed Fortran source files extensions
AC_FC_PP_DEFINE for the Fortran preprocessor define flag
* Noteworthy changes in release 2.68 (2010-09-22) [stable]
Released by Eric Blake, based on git versions 2.67.*.
** AC_MSG_ERROR (and AS_ERROR) can once again be followed immediately by
`dnl'. Regression introduced in 2.66.
** AC_INIT again allows URLs with '?' for its BUG-REPORT argument.
Regression introduced in 2.66.
** AC_REPLACE_FUNCS again allows a non-literal argument, such as a shell
variable that expands to a list of functions to check. Regression
introduced in 2.66.
** AT_BANNER() with empty argument will cause visual separation from previous
test category.
** The macros AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and
AC_RUN_IFELSE now warn if the first argument failed to use
AC_LANG_SOURCE or AC_LANG_PROGRAM to generate the conftest file
contents. A new macro AC_LANG_DEFINES_PROVIDED exists if you have
a compelling reason why you cannot use AC_LANG_SOURCE but must
avoid the warning.
** The macro m4_define_default is now documented.
** Symlinked config.cache files are supported; configure now tries to
update non-symlinked cache files atomically, so that concurrent configure
runs do not leave behind broken cache files. It is still unspecified
which subset or union of results is cached though.
** Autotest testsuites should not contain long text lines any more, and be
portable even when very many test groups are used.
** AT_CHECK semantics with respect to the Autotest variable $at_status and
shell execution environment of the arguments are documented now.
** AC_FC_LIBRARY_LDFLAGS now tolerates output from newer gfortran.
** Newly obsolete macros
The following macros have been marked obsolete. New programs
should use the corresponding Gnulib modules. Gnulib not only
detects a larger set of portability problems with these functions,
but also provides complete workarounds.
AC_FUNC_ERROR_AT_LINE AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
AC_FUNC_MKTIME AC_FUNC_STRTOD
* Major changes in Autoconf 2.67 (2010-07-21) [stable]
Released by Eric Blake, based on git versions 2.66.*.
** AC_CONFIG_SUBDIRS with more than one subdirectory at a time works again.
Regression introduced in 2.66.
** AC_CHECK_SIZEOF of a pointer type works again. Regression introduced in
2.66.
** New macro AC_FC_LINE_LENGTH to accept long Fortran source code lines.
** AC_PREPROC_IFELSE now keeps the preprocessed output in the conftest.i
file for inspection by the commands in the ACTION-IF-TRUE argument.
** AC_INIT again allows parentheses and other characters that are literal
in single- or double-quoted strings, and in quoted and unquoted
here-documents, for its PACKAGE and VERSION arguments. Regression
introduced in 2.66.
** autoreconf passes warning flags to new enough versions of aclocal.
** Running an Autotest testsuite in parallel mode no longer triggers a
race condition that could cause the testsuite run to end early,
fixing a sporadic failure in autoconf's own testsuite. Bug present
since introduction of parallel tests in 2.63b.
* Major changes in Autoconf 2.66 (2010-07-02) [stable]
Released by Eric Blake, based on git versions 2.65.*.
** AC_FUNC_MMAP works in C++ mode again. Regression introduced in 2.65.
** Use of m4_divert without a named diversion now issues a syntax warning,
since it is seldom right to change diversions behind autoconf's back.
** The macros AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, and
AC_TYPE_INT64_T work again. Regression introduced in 2.65.
** AC_PROG_INSTALL correctly uses `shtool' again. Regression introduced
in 2.64.
** Autoconf should work on EBCDIC hosts.
** AC_CHECK_DECL and AC_CHECK_DECLS accept optional function argument types
for overloaded C++ functions.
** AS_SET_CATFILE accepts nonliterals in its variable name argument now.
** Autotest testsuites accept an option --recheck to rerun tests that
failed or passed unexpectedly during the last non-debug testsuite run.
** AC_ARG_ENABLE and AC_ARG_WITH now also accept `+' signs in `--enable-*'
and `--with-*' arguments, converting them to underscores for the variable
names.
** In configure scripts, loading CONFIG_SITE no longer searches PATH,
and problems in loading the configuration site files are diagnosed.
** Autotest testsuites may optionally provide colored test results.
** The previously undocumented Autotest macros AT_ARG_OPTION and
AT_ARG_OPTION_ARG have seen bug fixes and are documented now.
AT_ARG_OPTION has been changed in that the negative of a long option
--OPTION is now --no-OPTION rather than --noOPTION.
** The macro AS_LITERAL_IF is slightly more conservative; text
containing shell quotes are no longer treated as literals.
Furthermore, a new macro, AS_LITERAL_WORD_IF, adds an additional
level of checking that no whitespace occurs in literals.
** The macros AS_TR_SH and AS_TR_CPP no longer expand their results.
** The following macros are now documented:
AS_BOX
** New macro AC_FC_FIXEDFORM to accept fixed-form Fortran.
GNU Autoconf NEWS - User visible changes.
* Major changes in Autoconf 2.66 (2010-07-02) [stable]
Released by Eric Blake, based on git versions 2.65.*.
** AC_FUNC_MMAP works in C++ mode again. Regression introduced in 2.65.
** Use of m4_divert without a named diversion now issues a syntax warning,
since it is seldom right to change diversions behind autoconf's back.
** The macros AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, and
AC_TYPE_INT64_T work again. Regression introduced in 2.65.
** AC_PROG_INSTALL correctly uses `shtool' again. Regression introduced
in 2.64.
** Autoconf should work on EBCDIC hosts.
** AC_CHECK_DECL and AC_CHECK_DECLS accept optional function argument types
for overloaded C++ functions.
** AS_SET_CATFILE accepts nonliterals in its variable name argument now.
** Autotest testsuites accept an option --recheck to rerun tests that
failed or passed unexpectedly during the last non-debug testsuite run.
** AC_ARG_ENABLE and AC_ARG_WITH now also accept `+' signs in `--enable-*'
and `--with-*' arguments, converting them to underscores for the variable
names.
** In configure scripts, loading CONFIG_SITE no longer searches PATH,
and problems in loading the configuration site files are diagnosed.
** Autotest testsuites may optionally provide colored test results.
** The previously undocumented Autotest macros AT_ARG_OPTION and
AT_ARG_OPTION_ARG have seen bug fixes and are documented now.
AT_ARG_OPTION has been changed in that the negative of a long option
--OPTION is now --no-OPTION rather than --noOPTION.
** The macro AS_LITERAL_IF is slightly more conservative; text
containing shell quotes are no longer treated as literals.
Furthermore, a new macro, AS_LITERAL_WORD_IF, adds an additional
level of checking that no whitespace occurs in literals.
** The macros AS_TR_SH and AS_TR_CPP no longer expand their results.
** The following macros are now documented:
AS_BOX
** New macro AC_FC_FIXEDFORM to accept fixed-form Fortran.
Using .tar.xz intorduce dependency on archivers/xz,
and it require GCC_REQD=3.4, then maybe result in unwanted
dependency on lang/gcc34.
Especially on Ineterix, it has gcc-3.3, and lang/gcc34 is marked as
"not for Interix", then no chance to install packages using autoconf.
approved by wiz@.
* Major changes in Autoconf 2.65 (2009-11-21) [stable]
Released by Eric Blake, based on git versions 2.64.*.
** Autoconf is now licensed under the General Public License version 3
or later (GPLv3+). As with earlier versions, the license includes
an exception clause so that you may release a configure script
generated by autoconf under the license of your own program.
** New macros to support Objective C++.
AC_PROG_OBJCXX AC_PROG_OBJCXXCPP
** The following undocumented autoconf macros, removed in Autoconf 2.64,
have been reinstated:
AH_CHECK_HEADERS
These macros are present only for backwards compatibility purposes.
** The macro AC_LANG_COMPILER no longer fails on embedded systems that
lack fopen in the C library, such as AVR or RTEMS (regression
introduced in 2.64).
** The AC_FC_FREEFORM macro no longer suffers from a whitespace bug that
made it fail with some Fortran compilers (regression introduced in
2.64).
** The AC_TYPE_UINT64_T and AC_TYPE_INT64_T macros have been fixed to no
longer mistakenly select a 32-bit type on some compilers (bug present
since macros were introduced in 2.59c).
** The AC_FUNC_MMAP macro has been fixed to be portable to systems like
Cygwin (bug present since macro was introduced in 2.0).
** The following documented autotest macros are new:
AT_CHECK_EUNIT
** The following m4sugar macros now quote their expansion:
m4_toupper m4_tolower
** The following m4sugar macros are new:
m4_escape
** The m4sugar macro m4_text_wrap now copes with embedded quoting without
requiring quadrigraphs. For uses like AC_ARG_VAR([a], [[b c]]),
this gives the intuitive behavior of "[b c]" in the output (2.63
gave the output of "[b], [c]", and 2.64 encountered a failure).
** The `$tmp' temporary directory used in config.status is documented for
public use now.
** config.status now provides a --config option to produce the configuration.
** Many cache variables used by Autoconf's macros are now documented.
** Configure scripts work better on DJGPP by avoiding a bug present in
the DJGPP port of bash 2.04 in handling 'return' in a shell
function (regression introduced in 2.64).
XXX: Needs m4>=1.4.6, but we use USE_TOOLS+=gm4:run, and I don't see
a way to specify a version there. Please someone fix that :)
On the other hand, 1.4.6 was added to pkgsrc in 09/2006, so I hope
everyone has it by now.
* Major changes in Autoconf 2.64 (2009-07-26) [stable]
Released by Eric Blake, based on git versions 2.63b.*.
** Autoconf now requires GNU M4 1.4.6 or later. Earlier versions of M4
have a bug in regular expression handling that interferes with some
of the speedups provided since Autoconf 2.63. GNU M4 1.4.13 or
later is recommended.
** AS_IF and AS_CASE have been taught to avoid syntax errors even when
given arguments that expand to just whitespace.
** The following documented autoconf macros are new:
AC_ERLANG_SUBST_ERTS_VER
** The autoheader tool now understands m4 macro arguments passed to
AC_DEFINE and AC_DEFINE_UNQUOTED.
** Ensure AT_CHECK can support commands that include a # given with
proper m4 quoting. For shell comments, this is a new feature; for
non-shell comments, this fixes a regression introduced in 2.63b.
Additionally, AT_CHECK correctly supplies shell escapes for
metacharacters occurring in m4 macro expansions within the expected
stdout and stderr parameters.
** The macro AT_CHECK now understands the concept of hard failure. If
a test exits with an unexpected status 99, cleanup actions for the
test are inhibited and the test is treated as a failure regardless
of AT_XFAIL_IF. It also understands the new directives
ignore-nolog, stdout-nolog, and stderr-nolog.
** The following documented autotest macros are new:
AT_CHECK_UNQUOTED AT_FAIL_IF AT_SKIP_IF
** The following documented m4sugar macros are new:
m4_argn m4_copy_force m4_default_nblank m4_default_nblank_quoted
m4_ifblank m4_ifnblank m4_rename_force
** The autoconf testsuite now exercises all Erlang macros.
* Major changes in Autoconf 2.63b (2009-03-31) [beta]
Released by Eric Blake, based on git versions 2.63.*.
** The manual is now shipped under the terms of the GNU FDL 1.3.
** AC_REQUIRE now detects the case of an outer macro which first expands
then later indirectly requires the same inner macro. Previously,
this case led to silent out-of-order expansion (bug present since
2.50); it now issues a syntax warning, and duplicates the expansion
of the inner macro to guarantee dependencies have been met. See
the manual for advice on how to refactor macros in order to avoid
the bug in earlier autoconf versions and avoid increased script
size in the current version.
** AC_DEFUN_ONCE has improved semantics. Previously, a macro declared
with AC_DEFUN_ONCE warned on a second invocation; and out-of-order
expansion was still possible. Now, dependencies are guaranteed,
and subsequent invocations are a silent no-op. This makes
AC_DEFUN_ONCE an ideal macro for silencing AC_REQUIRE warnings.
** The following macros are now defined with AC_DEFUN_ONCE. This means
a subtle change in semantics; previously, an AC_DEFUN macro could
expand one of these macros multiple times or surround the macro
inside shell conditional text to bypass the effects of these
macros, but now the macro will expand exactly once, and prior to
the start of any enclosing AC_DEFUN macro:
AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_CANONICAL_TARGET
AC_HEADER_ASSERT AC_PROG_INSTALL AC_PROG_MKDIR_P
AC_USE_SYSTEM_EXTENSIONS
** AC_LANG_ERLANG works once again (regression introduced in 2.61a).
** AC_HEADER_ASSERT is fixed so that './configure --enable-assert' no
longer mistakenly disables assertions.
** AC_INIT now takes an optional fifth parameter that can be used to
set AC_PACKAGE_URL, a URL for the package's home page; the URL is
used in `configure --help' and is also available via AC_DEFINE.
** Autotest testsuites accept an option --jobs[=N] for parallel testing.
This feature is still in testing, and may not work on every
platform, help in improving it would be appreciated.
** Autotest testsuites do not attempt to write startup error messages
to the log file before that is opened (regression introduced in 2.63).
** Configure scripts now use shell functions. This feature leads to
smaller configure files and faster execution.
** Present But Cannot Be Compiled: Autoconf will now proceed with
the compiler's result if a header is present but cannot be compiled.
The warning is still printed, and you should really fix it by
providing a fourth parameter to AC_CHECK_HEADER/AC_CHECK_HEADERS.
** Autoreconf added aclocal to the set of programs affected by the
`autoreconf -I dir' option.
** The following documented m4sugar macros are new:
m4_chomp m4_chomp_all m4_cleardivert m4_curry m4_default_quoted
m4_esyscmd_s m4_map_args m4_map_args_pair m4_map_args_sep
m4_map_args_w m4_set_map m4_set_map_sep m4_stack_foreach
m4_stack_foreach_lifo m4_stack_foreach_sep
m4_stack_foreach_sep_lifo
** The following m4sugar macros are documented now, but in some cases
with slightly different semantics than what the previous
undocumented version had:
m4_copy m4_dumpdefs m4_rename m4_version_prereq
** The m4sugar macro m4_expand has been taught to handle unterminated
comments and shell case statements. As a result, it is used
internally in more places, such as AC_DEFINE and AT_CHECK. Most
uses of AC_DEFINE and AT_CHECK should not behave any differently;
however, it may be necessary to add double-quoting around
unbalanced `(' where single-quoting used to be sufficient.
** The following documented m4sh macros are new:
AS_INIT_GENERATED AS_LINENO_PREPARE AS_ME_PREPARE AS_SET_STATUS
AS_VAR_APPEND AS_VAR_ARITH AS_VAR_COPY
** The following m4sh macros are documented now, but in some cases
with slightly different semantics than what the previous
undocumented version had:
AS_ECHO AS_ECHO_N AS_ESCAPE AS_EXIT AS_LITERAL_IF AS_UNSET
AS_VAR_IF AS_VAR_POPDEF AS_VAR_PUSHDEF AS_VAR_SET AS_VAR_SET_IF
AS_VAR_TEST_SET AS_VERSION_COMPARE
** The m4sh macros AS_IF and AS_CASE can now be used in shell lists.
The responsibility for supplying a trailing newline now belongs to
the call site, but since most users did not add dnl, this generally
results in fewer empty lines in configure.
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.
* 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.
* Major changes in Autoconf 2.61 (2006-11-17)
** New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
** AC_ARG_ENABLE and AC_ARG_WITH now allow '.' in feature and package names.
* Major changes in Autoconf 2.60b (2006-10-22)
** BIN_SH
Autoconf-generated shell scripts no longer export BIN_SH, due to
configuration hassles with this. Installers who need BIN_SH in
their environment should set it before invoking 'configure' and
'make'. As far as we know, this affects only Unixware installations.
** Obsolescent macros
The documentation now says that the following macros are obsolescent,
as they are superseded by Gnulib:
AC_FUNC_FNMATCH AC_FUNC_FNMATCH_GNU AC_FUNC_GETLOADVG AC_REPLACE_FNMATCH
New programs should use the Gnulib counterparts of these macros.
We have no current plans to remove them from Autoconf.
** AC_COMPUTE_INT no longer caches or reports results.
** AC_CHECK_DECL now also works with aggregate objects.
** AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for NonStop platforms.
** GNU M4 1.4.7 or later is now recommended.
** m4_mkstemp
New M4sugar macro, which is more secure than the POSIX M4 maketemp.
** m4_maketemp
Now an alias for m4_mkstemp.
* Major changes in Autoconf 2.60a (2006-08-25)
** GNU M4 1.4.6 or later is now recommended.
** The check for C99 now tests for varargs macros, as documented.
It also tests that the preprocessor supports 64-bit integers.
** Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H" rather than
"#if HAVE_STDLIB_H", so that it now works with "gcc -Wundef -Werror".
** The functionality of the undocumented _AC_COMPUTE_INT is now provided
by a public and documented macro, AC_COMPUTE_INT. The parameters to the
two macros are different, so autoupdate will not change the old private name
to the new one. _AC_COMPUTE_INT may be removed in a future release.
** AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT now require
that long long types be at least 64 bits wide, as C99 and tradition
requires. Formerly, they accepted implementations of any width.
when you do not preserve timestamps in mk, this can cause
config.guess and config.sub to be newer than config.guess.1 and
config.sub.1. In that case, the man pages need to be rebuilt, and
build fails because pkgsrc lacks help2man. Work around this situation.
* 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.
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier
to the tool name, e.g.,
USE_TOOLS+= perl:run
Tools without modifiers or with an explicit ":build" modifier will
cause build dependencies (BUILD_DEPENDS) on those tools to be added.
This makes the notation a bit more compact.