1 GNU Autoconf NEWS - User visible changes.
3 * Noteworthy changes in release ?.? (????-??-??) [?]
6 * Noteworthy changes in release 2.72 (2023-12-22) [release]
8 ** Backward incompatibilities
10 *** Configure scripts no longer support pre-1989 C compilers.
11 Specifically, compilers that *only* implement the original “K&R”
12 function definition syntax, and not the newer “prototyped” syntax,
13 will not be able to parse the test programs now emitted by
14 AC_CHECK_FUNC, AC_LANG_CALL, and similar macros. AC_PROG_CC still
15 accepts such compilers, but this may change in the near future.
17 This change was necessary in order to support the upcoming 2024
18 edition of the C standard (often referred to as “C23”), which will
19 officially remove the function declaration syntax used by
20 AC_CHECK_FUNC in Autoconf 2.71 and earlier. We feel that support
21 for compilers that support only C 2024 is more useful, nowadays,
22 than support for compilers that don’t implement a core feature of
25 *** Autoconf developers now need Perl 5.10 (2007) or later.
26 “Autoconf developers” means specifically people hacking on Autoconf
27 itself. Autoconf *users*, i.e. authors of configure.ac files and
28 add-on M4 macros, still need only Perl 5.6 (2000) or later.
30 We do recommend all Autoconf users upgrade to Perl 5.10 or later if
31 possible, as this version significantly improves Perl’s ability to
32 handle files with last-modification timestamps separated by less
33 than a second. (Note: even in the most recent release, Perl cannot
34 always match the file system’s timestamp resolution.)
36 Generated configure scripts continue to run without Perl.
38 *** Autoconf users now need GNU M4 1.4.8 (2006) or later.
39 Use of GNU M4 1.4.16 or later is recommended, as all earlier versions
40 are known to have had serious bugs in the text-processing builtins
41 on some, but not all, operating systems. Autoconf’s own configure
42 script will attempt to find a version of M4 that is not affected by
45 Note: Autoconf 2.70 and 2.71 include code that malfunctions with
46 M4 1.4.6 or 1.4.7. However, the only effect of the malfunction is
47 that you will get a confusing error message if you run autoconf on
48 a configure.ac that neglects to use AC_INIT or AC_OUTPUT.
50 Generated 'configure' scripts continue to run without M4.
52 *** Some m4sh diversions have been renumbered.
53 This will only affect macros that use m4_divert with numbered rather
54 than named diversions, which has always been strongly discouraged
55 both by the documentation and with warnings.
57 *** AC_FUNC_GETGROUPS and AC_TYPE_GETGROUPS no longer run test programs.
58 These macros were testing for OS bugs that we believe are at least
59 twenty years in the past. Most operating systems are now trusted to
60 provide an accurate prototype for getgroups in unistd.h, and to
61 implement it as specified in POSIX.
63 AC_FUNC_GETGROUPS still includes a short block-list of OSes with
64 known, severe bugs in getgroups. It can be overridden using
65 config.site. If you encounter a mistake in this list,
66 please report it to bug-autoconf.
68 *** All internal uses of AC_EGREP_CPP and AC_EGREP_HEADER have been removed.
69 These macros look for text matching a regular expression in the
70 output of the C preprocessor. Their use has been discouraged for
71 many years, as they tend to be unreliable; it is better to find a
72 way to use AC_COMPILE_IFELSE or AC_PREPROC_IFELSE instead. We have
73 finally taken our own advice.
75 This change might break configure scripts that expected probes for
76 ‘grep’ and/or the C preprocessor to happen as a side effect of an
77 unrelated operation. Such scripts can be fixed by adding
78 AC_PROG_EGREP and/or AC_PROG_CPP in an appropriate place.
80 The macros affected by this change are AC_C_STRINGIZE,
81 AC_C_VARARRAYS, AC_FUNC_GETGROUPS, AC_FUNC_GETLOADAVG,
82 AC_HEADER_TIOCGWINSZ, AC_PROG_GCC_TRADITIONAL, AC_TYPE_GETGROUPS,
83 AC_TYPE_UID_T, and AC_XENIX_DIR. Many of these macros are themselves
84 obsolete; if your configure script uses any of them, check whether
85 it is actually needed.
89 *** Support for ensuring time_t is Y2038-safe
90 configure can now ensure that time_t can represent moments in time
91 after 18 January 2038, i.e. 2**31 - 1 seconds after the Unix epoch.
92 On most “64-bit” systems this is true by default; the new feature
93 is detection of systems where time_t is a 32-bit signed integer by
94 default, *and* there is an alternative mode in which it is larger,
95 in which case that mode will be enabled.
97 In this release, all configure scripts that use AC_SYS_LARGEFILE
98 gain a new command line option --enable-year2038. When this option
99 is used, the configure script will check for and enable support for
102 This release also adds two new macros, AC_SYS_YEAR2038 and
103 AC_SYS_YEAR2038_RECOMMENDED. Both have all the effects of
104 AC_SYS_LARGEFILE. (This is because it is not possible to enlarge
105 time_t without also enlarging off_t, on any system we are aware of.)
107 AC_SYS_YEAR2038 additionally flips the default for --enable-year2038;
108 a configure script that uses this macro will check for and enable
109 support for a large time_t by default, but this can be turned off by
110 using --disable-year2038. AC_SYS_YEAR2038_RECOMMENDED goes even
111 further, and makes the configure script fail on systems that do not
112 seem to support timestamps after 18 January 2038 at all. This
113 failure can be suppressed by using --disable-year2038.
115 Changing the size of time_t can change a library’s ABI. Therefore,
116 application and library builders should take care that all packages
117 are configured with consistent use of --enable-year2038 or
118 --disable-year2038, to ensure binary compatibility. This is similar
119 to longstanding consistency requirements with --enable-largefile and
122 In this release, these macros only know how to enlarge time_t on two
123 classes of systems: 32-bit MinGW, and any system where time_t can be
124 enlarged by defining the preprocessor macro _TIME_BITS with the
125 value 64. At the time this NEWS entry was written, only GNU libc
126 (version 2.34 and later) supported the latter macro. Authors of
127 other C libraries with a 32-bit time_t are encouraged to adopt
128 _TIME_BITS, rather than inventing a different way to enlarge time_t.
130 *** AC_USE_SYSTEM_EXTENSIONS now enables C23 Annex F extensions
131 by defining __STDC_WANT_IEC_60559_EXT__.
133 ** Obsolete features and new warnings
135 *** Autoconf now quotes 'like this' instead of `like this'.
136 Autoconf’s diagnostics now follow current GNU coding standards,
137 which say that diagnostics in the C locale should quote 'like this'
138 with plain apostrophes instead of the older GNU style `like this'
139 with grave accent and apostrophe.
141 *** AC_PROG_GCC_TRADITIONAL no longer does anything.
142 This macro has had no useful effect since GCC dropped support for
143 traditional-mode compilation in version 3.3 (released in 2003), and
144 the systems that needed it are also long obsolete. It is now a
145 compatibility synonym for AC_PROG_CC.
149 *** autom4te now uses fine-grained file timestamps
150 Autoconf’s internal “autom4te” utility is now able to compare file
151 modification timestamps with sub-second precision, when available.
152 This eliminates a class of bugs where autom4te fails to regenerate
153 an outdated file. Automake 1.17 (forthcoming) is required for a
156 *** AC_HEADER_STDBOOL, AC_CHECK_HEADER_STDBOOL are obsolescent and less picky.
157 These macros are now obsolescent, as most programs can simply include
158 stdbool.h unconditionally. If you use these macros, they now accept
159 a stdbool.h that exists but does nothing, so long as ‘bool’, ‘true’,
160 and ‘false’ work anyway. This is for compatibility with C23 and
163 *** AC_PROG_MKDIR_P now falls back on plain 'mkdir -p'.
164 When AC_PROG_MKDIR_P cannot find a mkdir implementation that is
165 known to lack race condition bugs, it now falls back on 'mkdir -p'
166 instead of falling back on a relative path to install-sh, as the
167 relative paths now seem to be a more important problem than the
168 problems of ancient mkdir implementations with race condition bugs.
169 See <https://savannah.gnu.org/support/?110740>. The only ancient
170 mkdir still supported is Solaris 10 /usr/bin/mkdir, and for that
171 platform AC_PROG_MKDIR_P falls back on /opt/sfw/bin/mkdir which
172 should work if it is installed; if not, you should avoid parallel
173 'make' on that platform.
175 *** Better diagnostics for calling m4_warn() with a bad first argument
176 Calling m4_warn with a first argument that doesn’t match any of the
177 official warning categories now produces a sensible error message,
178 instead of something that makes it look like there’s a bug in the
179 guts of autom4te. Also, the documentation has been adjusted in
180 several places to make it clearer what the official warning
183 Note: In Autoconf 2.69 and earlier, the manual said that [] and [all]
184 could be used as the first argument to m4_warn. This was incorrect,
187 *** Improved compatibility with a wide variety of systems and tools
188 including CheriBSD, Darwin (macOS), GNU Guix, OS/2, z/OS, Bash 5.2,
189 the BusyBox shell and utilities, Clang/LLVM version 16, the upcoming
194 *** AC_SYS_LARGEFILE and AC_SYS_YEAR2038 only work correctly in C mode.
196 This is only a problem for configure scripts that invoke either
197 macro while AC_LANG([something other than C]) is in effect, and
198 will only be a *visible* problem on systems where support
199 for large files and/or timestamps after 2038 are *available*
200 but not enabled by default.
202 This is the cause of the AC_SYS_LARGEFILE, AC_SYS_YEAR2038, and/or
203 AC_SYS_YEAR2038_RECOMMENDED testsuite failures on some systems.
204 See <https://savannah.gnu.org/support/index.php?110983> for details
207 * Noteworthy changes in release 2.71 (2021-01-28) [stable]
209 ** Bug fixes, including:
211 *** Compilers that support C99 but not C2011 are detected correctly.
213 *** Compatibility improved with clang and Oracle C++.
215 *** Compatibility restored with automake's rules for regenerating configure.
217 *** Compatibility restored with old versions of std-gnu11.m4.
219 Packages that wish to maintain compatibility with Autoconf 2.69 or
220 older, should update their copy of std-gnu11.m4 from Gnulib as soon
221 as practical, as the compatibility code bulks up the configure script.
223 Packages that require Autoconf 2.70 can drop this file entirely.
225 * Noteworthy changes in release 2.70 (2020-12-08) [stable]
227 ** Backward incompatibilities:
229 *** Warnings about obsolete constructs are now on by default.
231 These warnings can be turned off with ‘-Wno-obsolete’.
233 Many of these warnings advise maintainers to run autoupdate.
234 Be aware that autoupdate cannot solve all backward compatibility
235 problems, and cannot completely solve all of the problems it does
236 address. A configure script edited by autoupdate is likely to
237 need further manual fix-ups.
239 *** Many macros have become pickier about argument quotation.
241 If you get a shell syntax error from your generated configure
242 script, or seemingly impossible misbehavior (e.g. entire blocks of
243 the configure script not getting executed), check first that all
244 macro arguments are properly quoted. The “M4 Quotation” section of
245 the manual explains how to quote macro arguments properly.
247 It is unfortunately not possible for autoupdate to correct
250 *** Many macros no longer AC_REQUIRE as many other macros as they used to.
252 This can expose several classes of latent bugs. These are the ones
255 - Make sure to explicitly invoke all of the macros that set result
256 variables used later in the configure script, or in generated
259 - Autoconf macros that use AC_REQUIRE are not safe to use in shell
260 control-flow constructs that appear outside of macros defined by
261 AC_DEFUN. Use AS_IF, AS_CASE, etc. instead. (See the
262 “Prerequisite Macros” section of the manual for details.)
264 The set of macros that use AC_REQUIRE internally may change from
265 release to release. The only macros that are guaranteed *not* to
266 use AC_REQUIRE are the macros for acting on the results of a
267 test: AC_DEFINE, AC_SUBST, AC_MSG_*, AC_CACHE_CHECK, etc.
269 - AC_REQUIRE cannot be applied to macros that need to be used with
270 arguments. Instead, invoke the macro normally, with its arguments.
272 *** More macros use config.sub and config.guess internally.
274 As a consequence of improved support for cross compilation (see below),
275 more macros now use the auxiliary scripts ‘config.sub’ and ‘config.guess’.
276 If you use any of the affected macros, these scripts must be available
277 when your configure script is run, even if you have no intention of
278 ever cross-compiling your program.
280 autoreconf will issue an error if any auxiliary scripts are needed but
281 cannot be found. (It is not currently possible to make autoconf
282 itself issue this error.)
284 ‘autoreconf --install’ will add ‘config.sub’, ‘config.guess’, and
285 ‘install-sh’ to your source tree if they are needed. If you are
286 using Automake, scripts added to your tree by ‘autoreconf --install’
287 will automatically be included in the tarball produced by ‘make dist’;
288 otherwise, you will need to arrange for them to be distributed
291 See the “Input” section of the manual for more detail, including
292 where to get the auxiliary scripts that may be needed by autoconf macros.
294 *** Setting CC to a C++ compiler is no longer supported.
296 The C and C++ languages have diverged enough that we can no longer
297 guarantee that test C programs will be processed as intended by a
298 C++ compiler. In this release, configure will proceed anyway, but
299 many test results will be incorrect. In a future release, we may
300 make AC_PROG_CC error out if it detects that CC is a C++ compiler.
302 See the “Language Choice” section of the manual for instructions on
303 how to write configure scripts for C++ programs, and for programs
304 with code in more than one language.
306 *** Running configure tests with warnings promoted to errors is not supported.
308 For instance, setting ‘CC="gcc -Werror"’ on the configure command
309 line, or adding -Werror to CFLAGS early in the configure script when
310 the compiler recognizes this option, is very likely to cause
311 subsequent tests to fail.
313 This has never been guaranteed to work; the code generated by
314 AC_CHECK_FUNC, for instance, is incorrect by a strict reading of the
315 original 1989 C standard, and has been ever since that macro was
316 introduced. Problems are more likely with newer, pickier compilers.
318 To enable compiler warnings and/or warnings-as-errors mode for your
319 own code, we currently recommend a dedicated Makefile variable
320 (e.g. ‘WARN_CFLAGS’) that is set by AC_SUBST when appropriate.
321 The Gnulib ‘warnings’ and ‘manywarnings’ modules can help with this.
322 We plan to add core support for probing for useful sets of compiler
323 warnings in a future release.
325 *** Including confdefs.h manually may cause test failures.
327 This has never been necessary; confdefs.h is automatically included
328 at the beginning of all test programs (by AC_LANG_SOURCE). Because
329 of the way confdefs.h is generated and used, it is not practical to
330 give it a multiple inclusion guard. Therefore, if you include it
331 yourself, all of its definitions will be scanned twice.
333 Historically this has not been a problem, because confdefs.h only
334 makes macro definitions, and the C standard allows redefinitions
335 of macros as long as they’re exactly the same, but newer, pickier
336 compilers may complain anyway (see for instance GCC bug 97998).
338 *** Older versions of automake and aclocal (< 1.8) are no longer supported.
340 *** AC_CONFIG_SUBDIRS no longer directly supports Cygnus configure.
342 If you are still using an Autoconf script to drive configuration of
343 a multi-package build tree where some subdirectories use Cygnus
344 configure, copy or link $ac_aux_dir/configure into each subdirectory
345 where it is needed. Please also contact us; we were under the
346 impression nobody used this very old tool anymore.
348 *** AC_CHECK_HEADER and AC_CHECK_HEADERS only do a compilation test.
350 This completes the transition from preprocessor-based header tests
351 begun in Autoconf 2.56.
353 The double test that was the default since Autoconf 2.64 is no
354 longer available. You can still request a preprocessor-only test
355 by specifying [-] as the fourth argument to either macro, but this
356 is now deprecated. If you really need that behavior use
359 *** AC_INCLUDES_DEFAULT assumes an ISO C90 compliant C implementation.
361 Specifically, it assumes that the ISO C90 header <stddef.h>
362 is available, without checking for it, and it does not include
363 the pre-standard header <memory.h> at all. If the POSIX header
364 <strings.h> exists, it will be included, without first testing
365 whether both <string.h> and <strings.h> can be included in the
368 AC_INCLUDES_DEFAULT still checks for the existence of <stdlib.h>,
369 <string.h>, and <stdio.h>, because these headers may not exist
370 in a “freestanding environment” (a compilation mode intended for OS
371 kernels and similar, where most of the features of the C library are
372 optional). Most programs need not use ‘#ifdef HAVE_STDLIB_H’ etc in
375 For compatibility’s sake, the C preprocessor macro STDC_HEADERS
376 will be defined when both <stdlib.h> and <string.h> are available;
377 however, <stdarg.h> and <float.h> are no longer checked for
378 (these, like <stddef.h>, are required to exist in a freestanding
379 environment). New code should not refer to this macro.
381 Future releases of Autoconf may reduce the set of headers checked
382 for by AC_INCLUDES_DEFAULT.
384 *** AS_ECHO and AS_ECHO_N unconditionally use ‘printf’.
386 This is substantially simpler, more reliable, and, in most cases,
387 faster than attempting to use ‘echo’ at all. However, if ‘printf’
388 is not a shell builtin, configure scripts will run noticeably
389 slower, and if ‘printf’ is not available at all, they will crash.
390 The only systems where this is known to be a problem are extremely
391 old, and unlikely to be able to handle modern C programs for other
392 reasons (e.g. not having a C90-compliant compiler at all).
394 *** Configure scripts require support for $( ... ) command substitution.
396 This POSIX shell feature is approximately the same age as
397 user-defined functions, but there do exist shells that support
398 functions and not $( ... ), such as Solaris 10 /bin/sh.
400 Configure scripts will automatically locate a shell that supports
401 this feature and re-execute themselves with it, if necessary, so
402 the new requirement should be transparent to most users.
404 In this release, most of Autoconf’s code still uses the older `...`
405 notation for command substitution.
407 *** AC_INIT now trims extra white space from its arguments.
409 For instance, AC_INIT([ GNU Hello ], [1.0]) will set PACKAGE_NAME
412 *** Macros that take whitespace-separated lists as arguments
413 now always expand macros within those arguments.
415 Formerly, these macros would *usually* expand those arguments, but
416 the behavior was not reliable nor was it consistent between autoconf
419 Macro expansion within these arguments is deprecated; if expansion
420 changes the list, a warning in the “obsolete” category will be
421 emitted. Note that ‘dnl’ is a macro. Putting ‘dnl’ comments inside
422 any argument to an Autoconf macro is, in general, only supported
423 when that argument takes more Autoconf code (e.g. the ACTION-IF-TRUE
424 argument to AC_COMPILE_IFELSE).
426 The affected macros are AC_CHECK_FILES, AC_CHECK_FUNCS,
427 AC_CHECK_FUNCS_ONCE, AC_CHECK_HEADERS, AC_CHECK_HEADERS_ONCE,
428 AC_CONFIG_MACRO_DIRS, AC_CONFIG_SUBDIRS, and AC_REPLACE_FUNCS.
430 *** AC_FUNC_VFORK no longer ignores a signal-handling bug in Solaris 2.4.
432 This bug was being ignored because Emacs wanted to use ‘vfork’ on
433 Solaris 2.4 anyway, but current versions of Emacs have dropped
434 support for Solaris 2.4. Most programs will want to avoid ‘vfork’
435 on this OS because of this bug.
437 *** AC_FUNC_STRERROR_R assumes strerror_r is unavailable if it’s not declared.
439 The fallback technique it used to probe strerror_r’s return type
440 when the function was present in the C library, but not declared by
441 <string.h>, was fragile and did not work at all when cross-compiling.
442 The systems where this fallback was necessary were all obsolete.
444 Programs that use AC_FUNC_STRERROR_R should make sure to test the
445 preprocessor macro HAVE_DECL_STRERROR_R before using strerror_r at all.
447 *** AC_OPENMP can’t be used if you have files named ‘mp’ or ‘penmp’.
449 Autoconf will now issue an error if AC_OPENMP is used in a configure
450 script that’s in the same directory as a file named ‘mp’ or ‘penmp’.
451 Configure scripts that use AC_OPENMP will now error out upon
452 encountering files with these names in their working directory
453 (e.g. when the build directory is separate from the source directory).
455 If you have files with these names at the top level of your source
456 tree, we recommend either renaming them or moving them into a
457 subdirectory. See the documentation of AC_OPENMP for further
462 *** Configure scripts now support a ‘--runstatedir’ option.
464 This defaults to ‘${localstatedir}/run’. It can be used, for
465 instance, to place per-process temporary runtime files (such as pid
466 files) into ‘/run’ instead of ‘/var/run’.
468 *** autoreconf will now run gtkdocize and intltoolize when appropriate.
470 *** autoreconf now recognizes AM_GNU_GETTEXT_REQUIRE_VERSION.
472 This macro can be used with gettext 0.19.6 or later to specify
473 a *minimum* version requirement for gettext, instead of the *fixed*
474 version requirement specified by AM_GNU_GETTEXT_VERSION.
476 *** autoheader handles secondary config headers better.
478 It is no longer necessary to duplicate AC_DEFINE templates in the
479 main configuration header for autoheader to notice them.
481 *** AC_PROG_CC now enables C2011 mode if the compiler supports it.
483 If not, it will fall back to C99 and C89, as before. Similarly,
484 AC_PROG_CXX now enables C++2011 if available, falling back on C++98.
486 *** New macro AC_C__GENERIC tests for C2011 _Generic support.
488 *** AC_C_VARARRAYS has been aligned with C2011.
490 It now defines __STDC_NO_VLA__ if variable-length arrays are not
491 supported but the compiler does not define __STDC_NO_VLA__.
493 For backward compatibility with Autoconf 2.61-2.69 AC_C_VARARRAYS
494 still defines HAVE_C_VARARRAYS, but this result macro is obsolescent.
496 *** New macro AC_CONFIG_MACRO_DIRS.
498 This macro can be used more than once and accepts a list of
499 directories to search for local M4 macros. With Automake 1.13 and
500 later, use of this macro eliminates a reason to use ACLOCAL_AMFLAGS
503 The older AC_CONFIG_MACRO_DIR, which could only be used once, is
504 still supported but considered deprecated.
506 *** AC_USE_SYSTEM_EXTENSIONS knows about more extensions to enable.
508 System extensions will now be enabled on HP-UX, macOS, and MINIX.
509 Optional ISO C library components (e.g. decimal floating point) will
512 *** New compatibility macro AC_CHECK_INCLUDES_DEFAULT.
514 This macro runs the checks normally performed as a side-effect by
515 AC_INCLUDES_DEFAULT, if they haven’t already been done. Autoupdate
516 will replace certain obsolete constructs, whose only remaining
517 useful effect is to trigger those checks, with this macro. It is
518 unlikely to be useful otherwise.
520 *** AC_REQUIRE_AUX_FILE has been improved.
522 Configure scripts now check, on startup, for the availability of all
523 the aux files that were mentioned in an AC_REQUIRE_AUX_FILE
524 invocation. This should help prevent certain classes of packaging
527 Also, it is no longer necessary for third-party macros that use
528 AC_REQUIRE_AUX_FILE to mention AC_CONFIG_AUX_DIR_DEFAULT. However,
529 if you are using AC_CONFIG_AUX_DIR_DEFAULT *without* also using
530 AC_REQUIRE_AUX_FILE, please start using AC_REQUIRE_AUX_FILE to
531 specify the aux files you actually need, so that the check can be
534 *** AC_PROG_LEX has an option to not look for yywrap.
536 AC_PROG_LEX now takes one argument, which may be either ‘yywrap’ or
537 ‘noyywrap’. If it is ‘noyywrap’, AC_PROG_LEX will only set LEXLIB
538 to ‘-lfl’ or ‘-ll’ if a scanner that defines both main and yywrap
539 itself still needs something else from that library. On the other
540 hand, if it is ‘yywrap’, AC_PROG_LEX will fail (setting LEX to ‘:’
541 and LEXLIB to nothing) if it can’t find a library that defines yywrap.
543 In the absence of arguments, AC_PROG_LEX’s behavior is bug-compatible
544 with 2.69, which did neither of the above things (see the manual for
545 details). This mode is deprecated.
547 We encourage all programs that use AC_PROG_LEX to use the new
548 ‘noyywrap’ mode, and to define yywrap themselves, or use %noyywrap.
549 The yywrap function in lib(f)l is trivial, and self-contained
550 scanners are easier to work with.
552 ** Obsolete features and new warnings
554 *** Use of the long-deprecated name ‘configure.in’ for the autoconf
555 input file now elicits a warning in the “obsolete” category.
557 *** Use of the undocumented internal shell variables $as_echo and
558 $as_echo_n now elicits a warning in the “obsolete” category.
559 The macros AS_ECHO and AS_ECHO_N should be used instead.
561 *** autoconf will now issue warnings (in the “syntax” category)
562 if the input file is missing a call to AC_INIT and/or AC_OUTPUT.
564 *** autoconf will now issue warnings (in the “syntax” category)
565 for a non-literal URL argument to AC_INIT, and for a TARNAME
566 argument to AC_INIT which is either non-literal or contains
567 characters that should not be used in file names (e.g. ‘*’).
569 *** AC_PROG_CC_STDC, AC_PROG_CC_C89, AC_PROG_CC_C99 are now obsolete.
571 Applications should use AC_PROG_CC.
573 *** AC_HEADER_STDC and AC_HEADER_TIME are now stubs.
575 They still define the C preprocessor macros STDC_HEADERS and
576 TIME_WITH_SYS_TIME, respectively, but they no longer check for the
577 ancient, non-ISO-C90 compliant systems where formerly those macros
578 would not be defined. Autoupdate will remove them.
580 These macros were already labeled obsolete in the manual.
582 *** AC_DIAGNOSE, AC_FATAL, AC_WARNING, and _AC_COMPUTE_INT are now
583 replaced with modern equivalents by autoupdate.
585 These macros were already labeled obsolete in the manual.
587 *** AC_CONFIG_HEADER is now diagnosed as obsolete, and replaced with
588 AC_CONFIG_HEADERS by autoupdate.
590 This macro has been considered obsolete for many years and was not
593 *** The macro AC_OBSOLETE is obsolete.
595 Autoupdate will replace it with m4_warn([obsolete], [explanation]).
596 If possible, macros using AC_OBSOLETE should be converted to use
597 AU_DEFUN or AU_ALIAS instead, which enables autoupdate to replace
598 them, but this has to be done by hand and is not always possible.
600 This macro has been considered obsolete for many years, but was not
601 officially declared as such.
603 *** Man pages for config.guess and config.sub are no longer provided.
605 They were moved to the master source tree for config.guess and
610 *** Compatible with current Automake, Libtool, Perl, Texinfo, and shells.
612 All of autoconf’s tools and generated scripts, and the build process
613 and testsuite for autoconf itself, have been tested to work
614 correctly with current versions of Automake, Libtool, Perl, Texinfo,
615 bash, ksh93, zsh, and FreeBSD and NetBSD /bin/sh.
617 Generated configure scripts are expected to work reliably with an
618 even wider variety of shells, including BusyBox sh and various
619 proprietary Unixes’ /bin/sh, as long as they are minimally compliant
620 with the Unix95 shell specification. Notably, support for
621 shell-script functions and the ‘printf’ builtin are required.
623 *** Checks compatible with current language standards and compilers.
625 Many individual macros have been improved to accommodate changes in
626 recent versions of the C and C++ language standards, and new
627 features and quirks of commonly used compilers (both free and
630 *** Improved support for cross compilation.
632 Many individual macros have been improved to produce more accurate
633 results when cross-compiling.
635 *** Improved robustness against unusual build environments.
637 Many bugs have been fixed where generated configure scripts would
638 fail catastrophically under unusual conditions, such as stdout being
639 closed, or $TMPDIR not being an absolute path, or the root directory
640 being mentioned in $PATH.
642 *** AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE now support multiple
643 programming languages. They no longer perform all checks in the
644 language active upon the first use of the macro.
646 *** AC_CHECK_DECL and AC_CHECK_DECLS will now detect missing declarations for
647 library functions that are also Clang compiler builtins.
649 *** AC_PATH_X and AC_PATH_XTRA don’t search for X11 when cross-compiling.
651 Libraries and headers found by running xmkmf or searching /usr/X11,
652 /usr/X11R7, etc. are likely to belong to a native X11 installation
653 for the build machine and to be inappropriate for cross compilation.
655 To cross-compile programs that require X11, we recommend putting the
656 headers and libraries for the host system in your cross-compiler’s
657 default search paths. Alternatively, use configure’s --x-includes
658 and --x-libraries command line options to tell it where they are.
660 *** AS_IF’s if-false argument may be empty after macro expansion.
662 This long-standing limitation broke configure scripts that used
663 macros in this position that emitted shell code in 2.69 but no
664 longer do, so we have lifted it.
666 *** AC_HEADER_MAJOR detects the location of the major, minor, and
667 makedev macros correctly under glibc 2.25 and later.
669 *** AC_FC_LINE_LENGTH now documents the maximum portable length of
670 “unlimited” Fortran source code lines to be 250 columns, not 254.
672 *** AC_INIT and AS_INIT no longer embed (part of) the path to the
673 source directory in generated files.
675 We believe this was the only case where generated file contents
676 could change depending on the environment outside the source tree
677 itself. If you find any other cases please report them as bugs.
679 *** config.log properly escapes arguments in the header comment.
681 *** config.status --config output is now quoted in a more readable fashion.
683 ** Autotest enhancements
685 *** Autotest provides a new macro AT_DATA_UNQUOTED, similar to AT_DATA
686 but processing variable substitutions, command substitutions and
687 backslashes in the contents argument.
689 *** AC_CONFIG_TESTDIR will automatically pass EXEEXT to a testsuite (via
692 *** AT_TESTED arguments can use variable or command substitutions, including
693 in particular $EXEEXT
695 *** New macros AT_PREPARE_TESTS, AT_PREPARE_EACH_TEST, and AT_TEST_HELPER_FN.
697 These provide an official way to define testsuite-specific
698 initialization code and shell functions.
700 * Noteworthy changes in release 2.69 (2012-04-24) [stable]
702 ** Autoconf now requires perl 5.6 or better (but generated configure
703 scripts continue to run without perl).
705 * Noteworthy changes in release 2.68b (2012-03-01) [beta]
706 Released by Eric Blake, based on git versions 2.68.*.
708 ** Autoconf-generated configure scripts now unconditionally re-execute
709 themselves with $CONFIG_SHELL, if that's set in the environment.
711 ** The texinfo documentation no longer specifies "front-cover" or
712 "back-cover" texts, so that it may now be included in Debian's
715 ** Support for the Go programming language has been added. The new macro
716 AC_LANG_GO sets variables GOC and GOFLAGS.
718 ** AS_LITERAL_IF again treats '=' as a literal. Regression introduced in
721 ** The macro AS_EXECUTABLE_P, present since 2.50, is now documented.
725 - AC_PROG_LN_S and AS_LN_S now fall back on 'cp -pR' (not 'cp -p') if 'ln -s'
726 does not work. This works better for symlinks to directories.
728 - New macro AC_HEADER_CHECK_STDBOOL.
730 - New and updated macros for Fortran support:
732 AC_FC_CHECK_BOUNDS to enable array bounds checking
733 AC_F77_IMPLICIT_NONE and AC_FC_IMPLICIT_NONE to disable implicit integer
734 AC_FC_MODULE_EXTENSION to compute the Fortran 90 module name extension
735 AC_FC_MODULE_FLAG for the Fortran 90 module search path flag
736 AC_FC_MODULE_OUTPUT_FLAG for the Fortran 90 module output directory flag
737 AC_FC_PP_SRCEXT for preprocessed Fortran source files extensions
738 AC_FC_PP_DEFINE for the Fortran preprocessor define flag
740 * Noteworthy changes in release 2.68 (2010-09-22) [stable]
741 Released by Eric Blake, based on git versions 2.67.*.
743 ** AC_MSG_ERROR (and AS_ERROR) can once again be followed immediately by
744 'dnl'. Regression introduced in 2.66.
746 ** AC_INIT again allows URLs with '?' for its BUG-REPORT argument.
747 Regression introduced in 2.66.
749 ** AC_REPLACE_FUNCS again allows a non-literal argument, such as a shell
750 variable that expands to a list of functions to check. Regression
753 ** AT_BANNER() with empty argument will cause visual separation from previous
756 ** The macros AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and
757 AC_RUN_IFELSE now warn if the first argument failed to use
758 AC_LANG_SOURCE or AC_LANG_PROGRAM to generate the conftest file
759 contents. A new macro AC_LANG_DEFINES_PROVIDED exists if you have
760 a compelling reason why you cannot use AC_LANG_SOURCE but must
763 ** The macro m4_define_default is now documented.
765 ** Symlinked config.cache files are supported; configure now tries to
766 update non-symlinked cache files atomically, so that concurrent configure
767 runs do not leave behind broken cache files. It is still unspecified
768 which subset or union of results is cached though.
770 ** Autotest testsuites should not contain long text lines any more, and be
771 portable even when very many test groups are used.
773 ** AT_CHECK semantics with respect to the Autotest variable $at_status and
774 shell execution environment of the arguments are documented now.
776 ** AC_FC_LIBRARY_LDFLAGS now tolerates output from newer gfortran.
778 ** Newly obsolete macros
779 The following macros have been marked obsolete. New programs
780 should use the corresponding Gnulib modules. Gnulib not only
781 detects a larger set of portability problems with these functions,
782 but also provides complete workarounds.
784 AC_FUNC_ERROR_AT_LINE AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
785 AC_FUNC_MKTIME AC_FUNC_STRTOD
788 * Major changes in Autoconf 2.67 (2010-07-21) [stable]
789 Released by Eric Blake, based on git versions 2.66.*.
791 ** AC_CONFIG_SUBDIRS with more than one subdirectory at a time works again.
792 Regression introduced in 2.66.
794 ** AC_CHECK_SIZEOF of a pointer type works again. Regression introduced in
797 ** New macro AC_FC_LINE_LENGTH to accept long Fortran source code lines.
799 ** AC_PREPROC_IFELSE now keeps the preprocessed output in the conftest.i
800 file for inspection by the commands in the ACTION-IF-TRUE argument.
802 ** AC_INIT again allows parentheses and other characters that are literal
803 in single- or double-quoted strings, and in quoted and unquoted
804 here-documents, for its PACKAGE and VERSION arguments. Regression
807 ** autoreconf passes warning flags to new enough versions of aclocal.
809 ** Running an Autotest testsuite in parallel mode no longer triggers a
810 race condition that could cause the testsuite run to end early,
811 fixing a sporadic failure in autoconf's own testsuite. Bug present
812 since introduction of parallel tests in 2.63b.
815 * Major changes in Autoconf 2.66 (2010-07-02) [stable]
816 Released by Eric Blake, based on git versions 2.65.*.
818 ** AC_FUNC_MMAP works in C++ mode again. Regression introduced in 2.65.
820 ** Use of m4_divert without a named diversion now issues a syntax warning,
821 since it is seldom right to change diversions behind autoconf's back.
823 ** The macros AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, and
824 AC_TYPE_INT64_T work again. Regression introduced in 2.65.
826 ** AC_PROG_INSTALL correctly uses 'shtool' again. Regression introduced
829 ** Autoconf should work on EBCDIC hosts.
831 ** AC_CHECK_DECL and AC_CHECK_DECLS accept optional function argument types
832 for overloaded C++ functions.
834 ** AS_SET_CATFILE accepts nonliterals in its variable name argument now.
836 ** Autotest testsuites accept an option --recheck to rerun tests that
837 failed or passed unexpectedly during the last non-debug testsuite run.
839 ** AC_ARG_ENABLE and AC_ARG_WITH now also accept '+' signs in '--enable-*'
840 and '--with-*' arguments, converting them to underscores for the variable
843 ** In configure scripts, loading CONFIG_SITE no longer searches PATH,
844 and problems in loading the configuration site files are diagnosed.
846 ** Autotest testsuites may optionally provide colored test results.
848 ** The previously undocumented Autotest macros AT_ARG_OPTION and
849 AT_ARG_OPTION_ARG have seen bug fixes and are documented now.
850 AT_ARG_OPTION has been changed in that the negative of a long option
851 --OPTION is now --no-OPTION rather than --noOPTION.
853 ** The macro AS_LITERAL_IF is slightly more conservative; text
854 containing shell quotes are no longer treated as literals.
855 Furthermore, a new macro, AS_LITERAL_WORD_IF, adds an additional
856 level of checking that no whitespace occurs in literals.
858 ** The macros AS_TR_SH and AS_TR_CPP no longer expand their results.
860 ** The following macros are now documented:
863 ** New macro AC_FC_FIXEDFORM to accept fixed-form Fortran.
866 * Major changes in Autoconf 2.65 (2009-11-21) [stable]
867 Released by Eric Blake, based on git versions 2.64.*.
869 ** Autoconf is now licensed under the General Public License version 3
870 or later (GPLv3+). As with earlier versions, the license includes
871 an exception clause so that you may release a configure script
872 generated by autoconf under the license of your own program.
874 ** New macros to support Objective C++.
875 AC_PROG_OBJCXX AC_PROG_OBJCXXCPP
877 ** The following undocumented autoconf macros, removed in Autoconf 2.64,
878 have been reinstated:
881 These macros are present only for backwards compatibility purposes.
883 ** The macro AC_LANG_COMPILER no longer fails on embedded systems that
884 lack fopen in the C library, such as AVR or RTEMS (regression
887 ** The AC_FC_FREEFORM macro no longer suffers from a whitespace bug that
888 made it fail with some Fortran compilers (regression introduced in
891 ** The AC_TYPE_UINT64_T and AC_TYPE_INT64_T macros have been fixed to no
892 longer mistakenly select a 32-bit type on some compilers (bug present
893 since macros were introduced in 2.59c).
895 ** The AC_FUNC_MMAP macro has been fixed to be portable to systems like
896 Cygwin (bug present since macro was introduced in 2.0).
898 ** The following documented autotest macros are new:
901 ** The following m4sugar macros now quote their expansion:
902 m4_toupper m4_tolower
904 ** The following m4sugar macros are new:
907 ** The m4sugar macro m4_text_wrap now copes with embedded quoting without
908 requiring quadrigraphs. For uses like AC_ARG_VAR([a], [[b c]]),
909 this gives the intuitive behavior of "[b c]" in the output (2.63
910 gave the output of "[b], [c]", and 2.64 encountered a failure).
912 ** The '$tmp' temporary directory used in config.status is documented for
915 ** config.status now provides a --config option to produce the configuration.
917 ** Many cache variables used by Autoconf's macros are now documented.
919 ** Configure scripts work better on DJGPP by avoiding a bug present in
920 the DJGPP port of bash 2.04 in handling 'return' in a shell
921 function (regression introduced in 2.64).
923 * Major changes in Autoconf 2.64 (2009-07-26) [stable]
924 Released by Eric Blake, based on git versions 2.63b.*.
926 ** Autoconf now requires GNU M4 1.4.6 or later. Earlier versions of M4
927 have a bug in regular expression handling that interferes with some
928 of the speedups provided since Autoconf 2.63. GNU M4 1.4.13 or
929 later is recommended.
931 ** AS_IF and AS_CASE have been taught to avoid syntax errors even when
932 given arguments that expand to just whitespace.
934 ** The following documented autoconf macros are new:
935 AC_ERLANG_SUBST_ERTS_VER
937 ** The autoheader tool now understands m4 macro arguments passed to
938 AC_DEFINE and AC_DEFINE_UNQUOTED.
940 ** Ensure AT_CHECK can support commands that include a # given with
941 proper m4 quoting. For shell comments, this is a new feature; for
942 non-shell comments, this fixes a regression introduced in 2.63b.
943 Additionally, AT_CHECK correctly supplies shell escapes for
944 metacharacters occurring in m4 macro expansions within the expected
945 stdout and stderr parameters.
947 ** The macro AT_CHECK now understands the concept of hard failure. If
948 a test exits with an unexpected status 99, cleanup actions for the
949 test are inhibited and the test is treated as a failure regardless
950 of AT_XFAIL_IF. It also understands the new directives
951 ignore-nolog, stdout-nolog, and stderr-nolog.
953 ** The following documented autotest macros are new:
954 AT_CHECK_UNQUOTED AT_FAIL_IF AT_SKIP_IF
956 ** The following documented m4sugar macros are new:
957 m4_argn m4_copy_force m4_default_nblank m4_default_nblank_quoted
958 m4_ifblank m4_ifnblank m4_rename_force
960 ** The autoconf testsuite now exercises all Erlang macros.
962 * Major changes in Autoconf 2.63b (2009-03-31) [beta]
963 Released by Eric Blake, based on git versions 2.63.*.
965 ** The manual is now shipped under the terms of the GNU FDL 1.3.
967 ** AC_REQUIRE now detects the case of an outer macro which first expands
968 then later indirectly requires the same inner macro. Previously,
969 this case led to silent out-of-order expansion (bug present since
970 2.50); it now issues a syntax warning, and duplicates the expansion
971 of the inner macro to guarantee dependencies have been met. See
972 the manual for advice on how to refactor macros in order to avoid
973 the bug in earlier autoconf versions and avoid increased script
974 size in the current version.
976 ** AC_DEFUN_ONCE has improved semantics. Previously, a macro declared
977 with AC_DEFUN_ONCE warned on a second invocation; and out-of-order
978 expansion was still possible. Now, dependencies are guaranteed,
979 and subsequent invocations are a silent no-op. This makes
980 AC_DEFUN_ONCE an ideal macro for silencing AC_REQUIRE warnings.
982 ** The following macros are now defined with AC_DEFUN_ONCE. This means
983 a subtle change in semantics; previously, an AC_DEFUN macro could
984 expand one of these macros multiple times or surround the macro
985 inside shell conditional text to bypass the effects of these
986 macros, but now the macro will expand exactly once, and prior to
987 the start of any enclosing AC_DEFUN macro:
988 AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_CANONICAL_TARGET
989 AC_HEADER_ASSERT AC_PROG_INSTALL AC_PROG_MKDIR_P
990 AC_USE_SYSTEM_EXTENSIONS
992 ** AC_LANG_ERLANG works once again (regression introduced in 2.61a).
994 ** AC_HEADER_ASSERT is fixed so that './configure --enable-assert' no
995 longer mistakenly disables assertions.
997 ** AC_INIT now takes an optional fifth parameter that can be used to
998 set AC_PACKAGE_URL, a URL for the package's home page; the URL is
999 used in 'configure --help' and is also available via AC_DEFINE.
1001 ** Autotest testsuites accept an option --jobs[=N] for parallel testing.
1002 This feature is still in testing, and may not work on every
1003 platform, help in improving it would be appreciated.
1005 ** Autotest testsuites do not attempt to write startup error messages
1006 to the log file before that is opened (regression introduced in 2.63).
1008 ** Configure scripts now use shell functions. This feature leads to
1009 smaller configure files and faster execution.
1011 ** Present But Cannot Be Compiled: Autoconf will now proceed with
1012 the compiler's result if a header is present but cannot be compiled.
1013 The warning is still printed, and you should really fix it by
1014 providing a fourth parameter to AC_CHECK_HEADER/AC_CHECK_HEADERS.
1016 ** Autoreconf added aclocal to the set of programs affected by the
1017 'autoreconf -I dir' option.
1019 ** The following documented m4sugar macros are new:
1020 m4_chomp m4_chomp_all m4_cleardivert m4_curry m4_default_quoted
1021 m4_esyscmd_s m4_map_args m4_map_args_pair m4_map_args_sep
1022 m4_map_args_w m4_set_map m4_set_map_sep m4_stack_foreach
1023 m4_stack_foreach_lifo m4_stack_foreach_sep
1024 m4_stack_foreach_sep_lifo
1026 ** The following m4sugar macros are documented now, but in some cases
1027 with slightly different semantics than what the previous
1028 undocumented version had:
1029 m4_copy m4_dumpdefs m4_rename m4_version_prereq
1031 ** The m4sugar macro m4_expand has been taught to handle unterminated
1032 comments and shell case statements. As a result, it is used
1033 internally in more places, such as AC_DEFINE and AT_CHECK. Most
1034 uses of AC_DEFINE and AT_CHECK should not behave any differently;
1035 however, it may be necessary to add double-quoting around
1036 unbalanced '(' where single-quoting used to be sufficient.
1038 ** The following documented m4sh macros are new:
1039 AS_INIT_GENERATED AS_LINENO_PREPARE AS_ME_PREPARE AS_SET_STATUS
1040 AS_VAR_APPEND AS_VAR_ARITH AS_VAR_COPY
1042 ** The following m4sh macros are documented now, but in some cases
1043 with slightly different semantics than what the previous
1044 undocumented version had:
1045 AS_ECHO AS_ECHO_N AS_ESCAPE AS_EXIT AS_LITERAL_IF AS_UNSET
1046 AS_VAR_IF AS_VAR_POPDEF AS_VAR_PUSHDEF AS_VAR_SET AS_VAR_SET_IF
1047 AS_VAR_TEST_SET AS_VERSION_COMPARE
1049 ** The m4sh macros AS_IF and AS_CASE can now be used in shell lists.
1050 The responsibility for supplying a trailing newline now belongs to
1051 the call site, but since most users did not add dnl, this generally
1052 results in fewer empty lines in configure.
1055 * Major changes in Autoconf 2.63 (2008-09-09) [stable]
1056 Released by Eric Blake, based on git versions 2.62.*.
1058 ** AC_C_BIGENDIAN does not mistakenly report "universal" for some
1059 bigendian hosts, a regression introduced with universal binary
1062 ** AC_PATH_X now includes /lib64 and /usr/lib64 in its list of default
1063 library directories.
1065 ** AC_USE_SYSTEM_EXTENSIONS no longer conflicts with an external
1066 AC_DEFINE([__EXTENSIONS__]). This fixes a regression introduced in
1067 2.62 when using macros such as AC_AIX that were made obsolete in
1068 favor of the more portable AC_USE_SYSTEM_EXTENSIONS.
1070 ** AC_CHECK_TARGET_TOOLS is usable in the non-cross-compile case.
1072 ** Newly obsolete macros
1073 The following macro has been marked obsolete, since current porting
1074 targets can safely assume C89 semantics that signal handlers return
1075 void. We have no current plans to remove the macro.
1079 ** The macros m4_map and m4_map_sep now ignore any list elements
1080 consisting of just empty quotes, and m4_map_sep now expands its
1081 separator. This fixes a regression in 2.62 when these macros were
1082 first documented, for the sake of clients expecting the semantics
1083 that these macros had prior to that time. The new macros m4_mapall
1084 and m4_mapall_sep, along with extra quoting of the separator, can
1085 be used to get the semantics that m4_map_sep had in 2.62.
1087 ** Clients of m4_expand, such as AS_HELP_STRING and AT_SETUP, can now
1088 handle properly quoted but otherwise unbalanced parentheses (for
1089 some macros, this fixes a regression in 2.62).
1091 ** Two new quadrigraphs have been introduced: @{:@ for (, and @:}@ for ),
1092 allowing the output of unbalanced parentheses in more contexts.
1094 ** The following m4sugar macros are new:
1095 m4_cleardivert m4_joinall m4_mapall m4_mapall_sep m4_reverse
1096 m4_set_add m4_set_add_all m4_set_contains m4_set_contents
1097 m4_set_delete m4_set_difference m4_set_dump m4_set_empty
1098 m4_set_foreach m4_set_intersection m4_set_list m4_set_listc
1099 m4_set_remove m4_set_size m4_set_union
1101 ** The following m4sugar macros now accept multiple arguments, as is the
1102 case with underlying m4:
1103 m4_defn m4_popdef m4_undefine
1105 ** The following m4sugar macros now guarantee linear scaling; they
1106 previously had linear scaling with m4 1.6 but quadratic scaling
1107 when using m4 1.4.x. All macros built on top of these also gain
1108 the scaling improvements.
1109 m4_bmatch m4_bpatsubsts m4_case m4_cond m4_do m4_dquote_elt
1110 m4_foreach m4_join m4_list_cmp m4_map m4_map_sep m4_max
1113 ** AT_KEYWORDS once again performs expansion on its argument, such that
1114 AT_KEYWORDS([m4_if([$1], [], [default])]) no longer complains about
1115 the possibly unexpanded m4_if [regression introduced in 2.62].
1117 ** Config header templates '#undef UNDEFINED /* comment */' do not lead to
1118 nested comments any more; regression introduced in 2.62.
1121 * Major changes in Autoconf 2.62 (2008-04-05) [stable]
1122 Released by Eric Blake, based on git versions 2.61a.*.
1124 ** Many optimizations have been applied to make overall execution faster.
1126 ** Autotest now makes use of shell functions.
1128 ** config.status now uses awk instead of sed also for config headers.
1130 - As a side effect, AC_DEFINE and AC_DEFINE_UNQUOTED now handle multi-line
1131 values, i.e., backslash-newline combinations are handled correctly.
1132 Further, for config headers, the total size of values is not limited by
1133 the POSIX length limit of text lines any more, only each single line.
1135 ** New config variable 'top_build_prefix'.
1137 ** New Autoconf macros:
1138 AC_AUTOCONF_VERSION AC_OPENMP AC_PATH_PROGS_FEATURE_CHECK
1140 ** AC_C_BIGENDIAN now supports universal binaries a la Mac OS X.
1142 ** AC_C_RESTRICT now prefers to #define 'restrict' to a variant spelling
1143 like '__restrict' if the variant spelling is available, as this is
1144 more likely to work when mixing C and C++ code.
1146 ** AC_CHECK_ALIGNOF's type argument T is now documented better: it must
1147 be a string of tokens such that "T y;" is a valid member declaration
1150 ** AC_CHECK_SIZEOF now accepts objects as well as types: the general rule
1151 is that sizeof (X) works, then AC_CHECK_SIZEOF (X) should work.
1153 ** AC_CHECK_TYPE and AC_CHECK_TYPES now work on any C type-name; formerly,
1154 they did not work for function types. In C++, they now work on any
1155 type-id that can be the operand of sizeof; this is similar to C,
1156 except it excludes anonymous struct and union types. Formerly,
1157 some (but not all) C++ types involving anonymous struct and union
1158 were accepted, though this was not documented.
1160 ** AC_CONFIG_LINKS now prefers to link against files in the build tree
1161 if found, and it works to link against a file of the same name in
1162 the source tree, even if both trees coincide.
1164 ** AC_INIT no longer alters $@; regression introduced in 2.60.
1166 ** AC_USE_SYSTEM_EXTENSIONS now defines _ALL_SOURCE for Interix platforms.
1168 ** AS_HELP_STRING no longer underquotes its first argument; it also handles
1169 the case where the first argument contains single-quoted commas.
1170 For example, "AS_HELP_STRING([-a, [--arg[=foo]]], [bar])" produces:
1171 " -a, --arg[=foo] bar"
1172 Additionally, the macro now takes two additional arguments,
1173 indent-column and wrap-column; these should not normally be needed,
1174 but can be used to fine-tune how the output text is wrapped.
1176 ** AC_PROG_INSTALL now requires an install program that can install multiple
1177 files into a target directory.
1179 ** The command 'autoconf -' now correctly processes a file from stdin.
1181 ** 'autoreconf -m' now honors $MAKE.
1183 ** For all of the directory arguments for 'configure', such as '--prefix'
1184 or '--bindir', trailing slashes are stripped. As an example, if
1185 tab completion in the user's shell appends trailing slashes, the
1186 command './configure --prefix=/usr/' will still result in an
1187 expanded libdir value of /usr/lib, not /usr//lib.
1189 ** 'configure --help=recursive' now works in read-only trees and from
1190 unconfigured build trees.
1192 ** If precious variables differ only in whitespace, then the cache consistency
1193 check warns instead of fails, and reuses the old value.
1195 ** AT_BANNER is now documented.
1197 ** AT_SETUP now handles macro expansions properly when calculating line
1200 ** Autotest now determines $srcdir correctly.
1202 ** Testsuites built by autotest now accept a -C/--directory=DIR option
1203 to adjust the working directory prior to creating files.
1205 ** Autoconf now requires GNU M4 1.4.5 or later. Earlier versions of M4 have
1206 a bug in macro tracing that interferes with the interaction between
1207 Autoconf and Automake. GNU M4 1.4.11 or later is recommended. The
1208 configure search for a working M4 is improved.
1210 ** For portability with the eventual M4 2.0, macros should no longer use
1211 anything larger than $9 to refer to arguments.
1213 ** Documentation for m4sugar is improved.
1215 - The following macros were previously available as undocumented
1216 interfaces; the macros are now documented as stable interfaces.
1218 __oline__ m4_assert m4_bmatch m4_bpatsubsts m4_car m4_case
1219 m4_cdr m4_default m4_divert_once m4_divert_pop m4_divert_push
1220 m4_divert_text m4_do m4_errprintn m4_fatal m4_flatten
1221 m4_ifndef m4_ifset m4_ifval m4_ifvaln m4_location
1222 m4_n m4_shiftn m4_strip m4_warn
1224 - The following macros were previously available as undocumented
1225 interfaces, but had bug fixes or semantic changes as part of this
1226 release. Packages that relied on the undocumented behavior
1227 should be analyzed to make sure they will still work with the
1228 new documented behavior.
1230 m4_cmp m4_list_cmp m4_join m4_map m4_map_sep m4_sign
1231 m4_text_box m4_text_wrap m4_version_compare
1233 - The m4_wrap macro used to have unspecified order, but now
1234 guarantees FIFO order. m4_wrap_lifo was added to guarantee LIFO
1237 - Packages using the undocumented m4sugar macro m4_PACKAGE_VERSION
1238 should consider using the new AC_AUTOCONF_VERSION instead.
1240 - m4sugar macros that are not documented in the manual are still
1241 deemed experimental, and should not be used outside of Autoconf.
1243 ** The m4sugar macros m4_append and m4_append_uniq, first documented in
1244 2.60, have been fixed to treat both the string and the separator
1245 arguments consistently with regards to quoting. Prior to this fix,
1246 m4_append_uniq could mistakenly duplicate entries if the expansion
1247 of the separator resulted in a different string (for example, if it
1248 contained quotes, a comma, or a macro name). However, it means
1249 that programs previously using
1250 m4_append([name], [string], [[, ]])
1251 are now using a four-character separator instead of the intended
1252 comma and space. If you need portability to earlier versions of
1253 Autoconf, you can insert the following snippet after AC_INIT but
1254 before any other macro expansions, to enforce the new semantics:
1255 m4_pushdef([m4_append], [m4_define([$1],
1256 m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
1257 Additionally, m4_append_uniq now takes optional parameters that can
1258 be used to take action depending on whether anything was appended,
1259 and warns if a non-empty separator occurs within the string being
1260 appended, since that can lead to duplicates.
1262 ** The following m4sugar macros are new:
1263 m4_append_uniq_w m4_apply m4_combine m4_cond m4_count
1264 m4_dquote_elt m4_echo m4_expand m4_ignore m4_make_list m4_max
1265 m4_min m4_newline m4_shift2 m4_shift3 m4_unquote m4_wrap_lifo
1267 ** Warnings are now generated by default when an installer invokes
1268 'configure' with an unknown --enable-* or --with-* option.
1269 These warnings can be disabled with the new AC_DISABLE_OPTION_CHECKING
1270 macro, or by invoking 'configure' with --disable-option-checking.
1272 ** Existing obsolete macros
1273 The documentation for the following macros is adjusted to make it
1274 more clear that they have previously been marked obsolete, as their
1275 functionality can be accomplished by other macros. We have no
1276 current plans to remove them from Autoconf.
1278 AC_ENABLE AC_STRUCT_ST_BLKSIZE AC_STRUCT_ST_RDEV AC_WITH
1280 ** Newly obsolete macros
1281 The following macros have been marked obsolete, as they only
1282 perform a subset of AC_USE_SYSTEM_EXTENSIONS. We have no current
1283 plans to remove them.
1285 AC_AIX AC_GNU_SOURCE AC_ISC_POSIX AC_MINIX
1287 ** AC_C_LONG_DOUBLE is obsolescent.
1288 The documentation now says that AC_C_LONG_DOUBLE is obsolescent: it
1289 tests for problems that are so old that it is no longer of
1290 practical importance on current systems. New programs need not use
1291 AC_C_LONG_DOUBLE. We have no current plans to remove it.
1293 ** AC_DIAGNOSE, AC_WARNING, and AC_FATAL are obsolescent.
1294 The documentation now favors the use of M4sugar macros m4_warn and
1295 m4_fatal, since the naming makes it more obvious that the
1296 diagnostics are associated with M4 expansion (ie. when running
1297 'autoconf'), and offers less confusion with the AC_MSG_ERROR,
1298 AC_MSG_FAILURE, and AC_MSG_WARN macros which manage diagnostics
1299 when running 'configure'. We have no current plans to remove these
1303 * Major changes in Autoconf 2.61a (2006-12-11)
1305 ** AC_FUNC_FSEEKO was broken in 2.61; it didn't make fseeko and ftello visible
1306 on many platforms. This has been fixed.
1308 ** AC_FUNC_SETVBUF_REVERSED is now obsolete. It is still defined for backward
1309 compatibility but it does nothing. The macro was already
1310 obsolescent, as the last systems to have the problem were those
1311 based on SVR2, which became obsolete in 1987. The macro had bugs
1312 on some modern systems and could no longer be maintained reliably
1313 due to lack of ancient systems to test it on.
1315 ** config.status now uses awk instead of sed for most substitutions, for speed.
1317 - As a side effect multi-line values of substituted variables no
1318 longer have a small limit in total size, though for portability
1319 each line should not exceed the POSIX length limit for text lines.
1321 - It is now documented that Makefile.in should not contain
1322 overlapping variable occurrences, e.g., @VAR1@VAR2@.
1323 Autoconf's behavior was always iffy in such cases, and the
1324 awk implementation has changed the behavior.
1326 ** Many uses of 'echo' have been rewritten so that Autoconf-generated
1327 scripts have fewer problems with strings or file names containing
1328 embedded special characters such as backslash or leading "-". This
1329 was implemented by using 'printf '%s\n' "$foo"' instead of 'echo
1330 "$foo"' when printf works. Due to the implementation technique
1331 used, Autoconf-generated scripts now run considerably more slowly
1332 on ancient implementations lacking printf. However, this should
1333 not be a problem, since Autoconf-generated scripts in practice
1334 invariably find a more-modern shell these days.
1337 * Major changes in Autoconf 2.61 (2006-11-17)
1339 ** New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
1341 ** AC_ARG_ENABLE and AC_ARG_WITH now allow '.' in feature and package names.
1344 * Major changes in Autoconf 2.60b (2006-10-22)
1347 Autoconf-generated shell scripts no longer export BIN_SH, due to
1348 configuration hassles with this. Installers who need BIN_SH in
1349 their environment should set it before invoking 'configure' and
1350 'make'. As far as we know, this affects only Unixware installations.
1352 ** Obsolescent macros
1353 The documentation now says that the following macros are obsolescent,
1354 as they are superseded by Gnulib:
1356 AC_FUNC_FNMATCH AC_FUNC_FNMATCH_GNU AC_FUNC_GETLOADAVG
1359 New programs should use the Gnulib counterparts of these macros.
1360 We have no current plans to remove them from Autoconf.
1362 ** AC_COMPUTE_INT no longer caches or reports results.
1364 ** AC_CHECK_DECL now also works with aggregate objects.
1366 ** AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for NonStop platforms.
1368 ** GNU M4 1.4.7 or later is now recommended.
1371 New M4sugar macro, which is more secure than the POSIX M4 maketemp.
1374 Now an alias for m4_mkstemp.
1376 * Major changes in Autoconf 2.60a (2006-08-25)
1378 ** GNU M4 1.4.6 or later is now recommended.
1380 ** The check for C99 now tests for varargs macros, as documented.
1381 It also tests that the preprocessor supports 64-bit integers.
1383 ** Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H" rather than
1384 "#if HAVE_STDLIB_H", so that it now works with "gcc -Wundef -Werror".
1386 ** The functionality of the undocumented _AC_COMPUTE_INT is now provided
1387 by a public and documented macro, AC_COMPUTE_INT. The parameters to the
1388 two macros are different, so autoupdate will not change the old private name
1389 to the new one. _AC_COMPUTE_INT may be removed in a future release.
1391 ** AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT now require
1392 that long long types be at least 64 bits wide, as C99 and tradition
1393 requires. Formerly, they accepted implementations of any width.
1396 * Major changes in Autoconf 2.60
1398 Released 2006-06-23, by Ralf Wildenhues.
1400 ** Autoconf no longer depends on whether m4wrap is FIFO (as Posix requires)
1401 or LIFO (as in GNU M4 1.4.x). GNU M4 2.0 is expected to conform to Posix
1402 here, so m4wrap/m4_wrap users should no longer depend on LIFO behavior.
1404 ** Provide a way to turn off warnings about the changed directory variables.
1406 * Major changes in Autoconf 2.59d
1408 Released 2006-06-05, by Ralf Wildenhues.
1410 ** GNU make now recommended for VPATH builds
1411 INSTALL now suggests VPATH builds (e.g., "sh ../srcdir/configure")
1412 only if you use GNU make. In practice, other 'make' implementations
1413 have too many subtle incompatibilities in their support for VPATH.
1414 Many packages (including Autoconf itself) are portable to other
1415 'make' implementations, but some packages are not, and recommending
1416 GNU make keeps the installation instructions simpler.
1418 ** Even more safety checks for the new Directory variables:
1419 Warn about suspicious '${datarootdir}' found in config files output.
1421 ** AC_TRY_COMMAND, AC_TRY_EVAL, ac_config_guess, ac_config_sub, ac_configure
1422 These never-documented macros and variables have been marked with
1423 comments saying that they may be removed in a future release,
1424 because their use can lead to unintended code being executed.
1425 If you need functionality that only these macros or variables
1426 currently supply, please write bug-autoconf@gnu.org.
1428 ** AC_SUBST, AC_DEFINE
1429 Literal arguments to these are passed to m4_pattern_allow now.
1432 Passing 'ac_cv_prog_cc_stdc=no' to 'configure' now sets ac_cv_prog_cc_c99
1433 and ac_cv_prog_cc_c89 to 'no' as well, for backward compatibility with
1434 obsolete K&R tests in the Automake test suite.
1443 Now more robust with special characters in file names, or when
1444 multiple processes create the same directory at the same time.
1446 ** Obsolescent macros
1447 The documentation now says that the following macros are obsolescent:
1448 they test for problems that are so old that they are no longer of
1449 practical importance on current systems.
1451 AC_C_BACKSLASH_A AC_FUNC_MEMCMP AC_HEADER_DIRENT
1452 AC_C_CONST AC_FUNC_SELECT_ARGTYPES AC_HEADER_STAT
1453 AC_C_PROTOTYPES AC_FUNC_SETPGRP AC_HEADER_STDC
1454 AC_C_STRINGIZE AC_FUNC_SETVBUF_REVERSED AC_HEADER_SYS_WAIT
1455 AC_C_VOLATILE AC_FUNC_STAT AC_HEADER_TIME
1456 AC_FUNC_CLOSEDIR_VOID AC_FUNC_STRFTIME AC_ISC_POSIX
1457 AC_FUNC_GETPGRP AC_FUNC_UTIME_NULL AC_PROG_GCC_TRADITIONAL
1458 AC_FUNC_LSTAT AC_FUNC_VPRINTF AC_STRUCT_TM
1460 New programs need not use these macros. We have no current plans to
1464 For compatibility with future Libtool 2.0, autoreconf will invoke
1465 libtoolize with the option '--ltdl' now, if LT_CONFIG_LTDL_DIR is
1468 * Major changes in Autoconf 2.59c
1470 Released 2006-04-12, by Ralf Wildenhues.
1472 ** The configure command now redirects standard input from /dev/null,
1473 to help avoid problems with subsidiary commands that might mistakenly
1474 read standard input. AS_ORIGINAL_STDIN_FD points to the original
1475 standard input before this redirection, if you really want configure to
1476 read from standard input.
1478 ** Directory variables adjusted to recent changes in the GNU Coding Standards.
1479 The following directory variables are new:
1481 datarootdir read-only architecture-independent data root [PREFIX/share]
1482 localedir locale-specific message catalogs [DATAROOTDIR/locale]
1483 docdir documentation root [DATAROOTDIR/doc/PACKAGE]
1484 htmldir html documentation [DOCDIR]
1485 dvidir dvi documentation [DOCDIR]
1486 pdfdir pdf documentation [DOCDIR]
1487 psdir ps documentation [DOCDIR]
1489 The following variables have new default values:
1491 datadir read-only architecture-independent data [DATAROOTDIR]
1492 infodir info documentation [DATAROOTDIR/info]
1493 mandir man documentation [DATAROOTDIR/man]
1495 This means that if you use any of '@datadir@', '@infodir@', or
1496 '@mandir@' in a file, you will have to ensure '${datarootdir}' is
1497 defined in this file. As a temporary measure, if any of those are
1498 found but no mention of 'datarootdir', the substitutions will be
1499 replaced with values that do not contain '${datarootdir}', and a
1500 warning will be issued.
1502 ** @top_builddir@ is now a dir name: it is always nonempty and doesn't have
1503 a trailing slash. Similar change will be made to ac_top_builddir in a
1504 future release; the old style value, which matches (../)*, is (and will
1505 continue to be) available as ac_top_build_prefix.
1508 New macro to check for support of 'typeof' syntax a la GNU C.
1510 ** AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_HEADERS_ONCE
1511 New "once-only" variants of commonly-used macros, to make 'configure'
1512 smaller and faster in common cases.
1515 New macro to check for strtold with C99 semantics.
1518 New macro that lets builder disable assertions at 'configure'-time.
1521 Now checks for X11/Xlib.h and XrmInitialize (X proper) rather than
1522 X11/Intrinsic.h and XtMalloc (Xt).
1524 ** AC_PRESERVE_HELP_ORDER
1525 New macro that causes 'configure' to display help strings for AC_ARG_ENABLE
1526 and AC_ARG_WITH arguments in one region, in the order defined. The default
1527 behavior is to group options of each classes separately.
1529 ** AC_PROG_CC, AC_PROG_CXX
1530 No longer automatically arrange to declare the 'exit' function of C,
1531 when a C++ compiler is used. Standard Autoconf macros no longer use
1532 'exit', so this is no longer an issue for them. If you use C++, and
1533 want to call 'exit', you'll have to arrange for its declaration
1534 yourself. But we now suggest you return from 'main' instead.
1536 ** AC_PROG_CC_C89, AC_PROG_CC_C99
1537 New macros for ISO C99 support. AC_PROG_CC_C89 and AC_PROG_CC_C99
1538 check for ANSI C89 and ISO C99 support respectively.
1541 Has been unobsoleted, and will check if the compiler supports ISO
1542 C99, falling back to ANSI C89 if not. ac_cv_prog_cc_stdc is
1543 retained for backwards compatibility, assuming the value of
1544 ac_cv_prog_cc_c99 or ac_cv_prog_cc_c89 (whichever is valid, in
1547 ** AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE
1548 New macros for checking commonly-used members of struct dirent.
1551 The substituted value can now contain newlines.
1554 The substitution now occurs only when @variable@ is on a line by itself,
1555 optionally surrounded by spaces and tabs. The whole line is replaced.
1557 ** AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER
1558 New macros to check for long double, and whether it is wider than double.
1559 The old macro AC_C_TYPE_LONG_DOUBLE has been marked as obsolete;
1560 applications should switch to the new macro.
1562 ** AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
1563 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT, AC_TYPE_SSIZE_T,
1564 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
1565 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT
1566 New macros to check for C99 and POSIX types.
1568 ** AC_USE_SYSTEM_EXTENSIONS
1569 New macro to enable extensions to Posix.
1572 New macro which is defined to the name of the first declared config header
1573 or undefined if no config headers have been declared yet.
1576 The macro correctly handles quadrigraphs now.
1578 ** AS_BOURNE_COMPATIBLE, AS_SHELL_SANITIZE, AS_CASE
1579 These macros are new or published now.
1582 New macro for copyright notices in testsuite files.
1584 ** ALLOCA, LIBOBJS, LTLIBOBJS
1585 Object names added to these variables are now prefixed with '${LIBOBJDIR}',
1586 as in '${LIBOBJDIR}alloca.o'. LIBOBJDIR is meant to be defined from
1587 'Makefile.in' in case the object files lie in a different directory.
1588 The LIBOBJDIR feature is experimental.
1591 Supports --no-recursive now.
1593 ** New macros to support Erlang/OTP.
1594 New macros for configuring paths to Erlang tools and libraries:
1595 AC_ERLANG_PATH_ERLC, AC_ERLANG_NEED_ERLC, AC_ERLANG_PATH_ERL,
1596 AC_ERLANG_NEED_ERL, AC_ERLANG_CHECK_LIB, AC_ERLANG_SUBST_ROOT_DIR,
1597 AC_ERLANG_SUBST_LIB_DIR.
1599 New macros for configuring installation of Erlang libraries:
1600 AC_ERLANG_SUBST_INSTALL_LIB_DIR, AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR.
1602 ** The manual now mentions Gnulib more prominently.
1604 ** New macros to support Objective C.
1605 AC_PROG_OBJC, AC_PROG_OBJCPP.
1607 * Major changes in Autoconf 2.59b
1609 Released 2004-08-20, by Paul Eggert.
1612 New macro that computes the default alignment of a type.
1614 ** AC_CHECK_TOOL, AC_PATH_TOOL, AC_CHECK_TOOLS
1615 When cross-compiling, these macros will give a warning if the tool
1616 is not prefixed. In the future, unprefixed cross tools will not
1617 be detected; please consult the info documentation for information
1618 about the reason of this change.
1620 ** AC_CHECK_TARGET_TOOL, AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOLS
1621 New macros that detect programs whose name is prefixed with the
1622 target type, if the build type and target type are different.
1624 ** AC_REQUIRE_AUX_FILE
1625 New trace macro that declares expected auxiliary files.
1628 New macro that tests for a grep program that accepts as a long a line
1631 ** AC_PROG_EGREP, AC_PROG_FGREP
1632 These macros now require AC_PROG_GREP, and try EGREP="$GREP -E" and
1633 FGREP="$GREP -F" respectively if possible, or else run a path search for
1634 a program that accepts as long a line as possible.
1637 New macro that tests for a sed program that truncates as few characters
1640 * Major changes in Autoconf 2.59
1642 Released 2003-11-04, by Akim Demaille
1644 ** ac_abs_builddir etc.
1645 Absolute file names were actually relative in 2.58.
1647 * Major changes in Autoconf 2.58
1649 Released 2003-11-04, by Akim Demaille
1652 core.* files are no longer removed, as they may be valid user files.
1654 ** autoreconf and auxiliary directory
1655 Autoreconf creates the auxiliary directory if needed. This is
1656 especially useful for initial "bootstrapping" of fresh CVS checkouts.
1658 ** AC_CONFIG_MACRO_DIR
1659 Use this macro to declare the directory for local M4 macros for aclocal.
1662 No longer includes twice the same file in LIBOBJS if invoked
1665 ** AC_CONFIG_COMMANDS
1666 The directory for its first argument is automatically created. For
1669 AC_CONFIG_COMMANDS([src/modules.hh], [...])
1671 $top_builddir/src/ is created if needed.
1673 ** Autotest and local.at
1674 The optional file local.at is always included in Autotest test suites.
1677 The warnings are always issued, including with cached runs.
1678 This became a significant problem since aclocal and automake can
1679 run autoconf behind the scene.
1681 ** autoheader warnings
1682 The warnings of autoheader can be turned off, using --warning.
1683 For instance, -Wno-obsolete disables the complaints about acconfig.h
1684 and other deprecated constructs.
1687 AC_C_RESTRICT, AC_INCLUDES_DEFAULT, AC_LANG_ASSERT, AC_LANG_WERROR,
1690 ** AC_DECL_SYS_SIGLIST
1694 Now checks that mktime is the inverse of localtime.
1696 ** Improve DJGPP portability
1697 The Autoconf tools and configure behave better under DJGPP.
1699 ** Present But Cannot Be Compiled
1700 New FAQ section dedicated to the mystic
1702 configure: WARNING: pi.h: present but cannot be compiled
1703 configure: WARNING: pi.h: check for missing prerequisite headers?
1704 configure: WARNING: pi.h: proceeding with the preprocessor's result
1707 ** Concurrent executions of autom4te
1708 autom4te now locks its internal files, which enables concurrent
1709 executions of autom4te, likely to happen if automake, autoconf,
1710 autoheader etc. are run simultaneously.
1713 Use of Libtool 1.5 and higher is encouraged. Compatibility with
1714 Libtool pre-1.4 is not checked.
1717 Testsuites no longer rerun failed tests in verbose mode; instead,
1718 failures are logged while the test is run.
1720 In addition, expected failures can be marked as such.
1722 * Major changes in Autoconf 2.57
1724 Released 2002-12-03 by Paul Eggert.
1726 Bug fixes for problems with AIX linker, with freestanding C compilers,
1727 with GNU M4 limitations, and with obsolete copies of GNU documents.
1729 The Free Documentation License has been upgraded from 1.1 to 1.2.
1731 * Major changes in Autoconf 2.56
1733 Released 2002-11-15 by Akim Demaille.
1735 One packaging problem fixed (config/install-sh was not executable).
1737 * Major changes in Autoconf 2.55
1739 Released 2002-11-14 by Akim Demaille.
1743 Have your configure.ac checked by autoscan ("autoscan").
1744 Try the warning options ("autoreconf -fv -Wall").
1748 - AC_CHECK_HEADER, AC_CHECK_HEADERS
1749 More information on proper use.
1751 - Writing Test Programs
1753 This sections explains how to write good test sources to use with
1754 AC_COMPILE_IFELSE etc. It documents AC_LANG_PROGRAM and so forth.
1756 - AC_FOO_IFELSE vs. AC_TRY_FOO
1758 Explains why Autoconf moves from AC_TRY_COMPILE etc. to
1759 AC_COMPILE_IFELSE and AC_LANG_PROGRAM etc.
1763 - Is more robust to different Gettext installations.
1765 - Produces messages (when --verbose) to be understood by Emacs'
1768 - Supports -W/--warnings.
1771 Once the GNU Build System reinstalled, run './config.status
1772 --recheck && ./config.status && make' if possible.
1776 - Supports --cache, and --no-cache.
1778 - ~/.autom4te.cfg makes it possible to disable the caching mechanism
1779 (autom4te.cache). See 'Customizing autom4te' in the documentation.
1786 Support for the obsoleted options -m, --macrodir, -l, --localdir is
1787 dropped in favor of the safer --include/--prepend-include scheme.
1792 AC_COMPILER_IFELSE, AC_FUNC_MBRTOWC, AC_HEADER_STDBOOL,
1793 AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM, AC_LANG_CALL,
1794 AC_LANG_FUNC_TRY_LINK, AC_MSG_FAILURE, AC_PREPROC_IFELSE.
1797 Obsoleted macros are kept for Autoconf backward compatibility, but
1798 should be avoided in configure.ac. Running autoupdate is advised.
1799 AC_DECL_SYS_SIGLIST.
1801 - AC_DEFINE/AC_DEFINE_UNQUOTED
1803 We have to stop using the old compatibility scheme --that tried to
1804 avoid useless backslashes-- because Libtool 1.4.3 contains a
1806 AC_DEFINE([error_t], [int],
1807 [Define to a type to use for \`error_t' if it is not
1808 otherwise available.])
1810 We have to quote the single quotes and backslashes with \. The old
1811 compatibility scheme saw that ` was backslashed, and therefore did
1812 not quote the single quote... Failure. Hence, Autoconf 2.54 is not
1813 compatible with Libtool. Autoconf 2.55 is, but in some cases might
1814 produce more \ than wanted.
1816 Please, note that in the future the same problem will happen with
1817 AC_MSG_*: use 'autoreconf -f -Wall'.
1821 - Portability of the Autoconf package to Solaris.
1823 - Spurious warnings caused by config.status.
1824 This bug is benign, but painful: on some systems (typically
1825 FreeBSD), warnings such as:
1827 config.status: creating Makefile
1828 mv: Makefile: set owner/group (was: 1357/0): Operation not permitted
1830 could be issued. This is fixed.
1833 Simultaneous executions of config.status are possible again.
1835 - Precious variables accumulation
1837 config.status could stack several copies of the precious variables
1841 ** Plans for later versions
1843 - ./configure <host>
1845 The compatibility hooks with the old scheme will be completely
1846 removed. Please, advice/use '--build', '--host', and '--target'
1849 - AC_CHECK_HEADER, AC_CHECK_HEADERS
1851 The tests will be stricter, please make sure your invocations are
1856 Shell functions will gradually be introduced, probably starting with
1857 Autotest. If you know machines which are in use that you suspect
1858 *not* to support shell functions, please run the test suite of
1859 Autoconf 2.55 on it, and report the results to
1860 bug-autoconf@gnu.org.
1864 Special characters in AC_MSG_* need not be quoted. Currently,
1865 Autoconf has heuristics to decide when a string is escaped, or has
1866 to be escaped. This scheme is fragile, and will be removed; the
1867 only risk is uglified messages. Please, run 'autoreconf -f -Wall'
1868 to find occurrences that will be affected.
1870 * Major changes in Autoconf 2.54
1872 Released 2002-09-13 by Akim Demaille.
1876 - autoreconf no longer changes the version of the gettext/po/intl
1877 support files. It now adds the files the correspond to the
1878 AM_GNU_GETTEXT_VERSION declared in configure.ac.
1880 Warning: It now relies on the 'autopoint' program, which is part
1881 of GNU gettext 0.11.4 and newer.
1883 Please note that you need to have a GNU gettext version that
1884 corresponds at least to the AM_GNU_GETTEXT_VERSION declared
1885 in configure.ac. You can upgrade to newer GNU gettext versions,
1886 though, without needing to change configure.ac.
1888 - The -I DIR or --include=DIR option now appends DIR to the include path
1889 instead of prepending; this is for consistency with other GNU tools.
1890 The new -B DIR or --prepend-include=DIR option has the old behavior.
1895 Now handles all the gory details about LIBOBJS and LTLIBOBJS.
1896 Please, remove lines such as
1898 # This is necessary so that .o files in LIBOBJS are also
1899 # built via the ANSI2KNR-filtering rules.
1900 LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
1902 and read the 'AC_LIBOBJ vs LIBOBJS' section. Do not define U in
1903 your Makefiles either.
1905 - AC_CONFIG_LINKS now makes copies if it can't make links.
1907 - AC_FUNC_FNMATCH now tests only for POSIX compatibility, reverting to
1908 Autoconf 2.13 behavior. The new macro AC_FUNC_FNMATCH_GNU also
1909 tests for GNU extensions to fnmatch, and replaces fnmatch if needed.
1911 - AC_FUNC_SETVBUF_REVERSED no longer fails when cross-compiling.
1913 - AC_PROG_CC_STDC is integrated into AC_PROG_CC.
1915 - AC_PROG_F77 default search no longer includes cf77 and cfg77.
1919 AC_C_BACKSLASH_A, AC_CONFIG_LIBOBJ_DIR, AC_GNU_SOURCE,
1920 AC_PROG_EGREP, AC_PROG_FGREP, AC_REPLACE_FNMATCH,
1921 AC_FUNC_FNMATCH_GNU, AC_FUNC_REALLOC, AC_TYPE_MBSTATE_T.
1923 - AC_FUNC_GETLOADAVG
1924 looks for getloadavg.c in the CONFIG_LIBOBJ_DIR.
1927 Now defines HAVE_MALLOC to 0 if 'malloc' does not work, and asks
1928 for an AC_LIBOBJ replacement.
1932 - Spurious complaints from 'm4_bmatch' about invalid regular
1933 expressions are suppressed.
1935 - Empty top_builddirs are properly handled.
1937 - AC_CHECK_MEMBER works correctly when the member is an aggregate.
1940 Now colon in the optional path arguments are properly handled.
1942 ** Improved portability
1944 - Both Autoconf the package, and the scripts it produces, should run
1945 more reliably with Zsh. Bear in mind it is the default Bourne shell
1948 - Autoconf and the scripts it produces no longer assume the existence of
1949 the obsolescent commands egrep and fgrep.
1953 - Limitations of Make
1957 The GNATS base moved to
1958 https://bugs.gnu.org/cgi-bin/gnatsweb.pl?database=autoconf
1959 (It is no longer available, though.)
1964 Now contains the list of output variables and files (AC_SUBST,
1967 * Major changes in Autoconf 2.53
1969 Released 2002-03-08 by Akim Demaille.
1973 Perl 5.005_03 or later is required: autom4te is written in Perl and is
1974 needed by autoconf. autoheader, autoreconf, ifnames, and autoscan are
1980 Argument requirements, output variables, defined macros.
1981 - M4sugar, M4sh, Autotest
1983 - Double quoting macros
1984 AC_TRY_CPP, AC_TRY_COMPILE, AC_TRY_LINK and AC_TRY_RUN.
1986 The Autoconf manual is now distributed under the terms of the GNU FDL.
1987 - Section 'Hosts and Cross-Compilation'
1988 Explains the rationale for the 2.5x changes in the cross-compilation
1989 chain, and in the relationships between build, host, and target
1991 Emphasizes that 'cross-compilation' == '--host is given'.
1992 If you are working on compilers etc., be sure to read this section.
1993 - Section 'AC_LIBOBJ vs. LIBOBJS'
1994 Explains why assigning LIBOBJS directly is now an error.
1995 Details how to update the code.
2000 Now used instead of hard coded line numbers.
2001 This eases the comparison of 'configure's, and diminishes the
2002 pressure over control version archives.
2003 Automatic replacement for shells that don't support this feature.
2004 - New output variables
2005 @builddir@, @top_builddir@, @abs_srcdir@, @abs_top_srcdir@, @abs_builddir@,
2010 Autoconf and Autotest modes are provided.
2015 New, used by the Autoconf suite to cache and speed up most processing.
2017 Supported by autom4te, autoconf and autoheader.
2019 Replaces --autoconf-dir and --localdir in autoconf, autoheader,
2020 autoupdate, and autoreconf.
2022 No longer passes --cygnus, --foreign, --gnits, --gnu, --include-deps:
2023 automake options are to be given via AUTOMAKE_OPTIONS.
2025 Runs gettextize and libtoolize when appropriate.
2027 --m4dir is no longer supported.
2029 Now runs only in the specified directories, defaulting to '.',
2030 but understands AC_CONFIG_SUBDIRS for dependent directories.
2031 Before, it used to run on all the 'configure.ac' found in the
2033 Independent packages are properly updated.
2037 - The top level $prefix is propagated to the AC_CONFIG_SUBDIRS configures.
2039 Under the user pressure, $? is finally available. Probably a mistake.
2040 - AC_F77_LIBRARY_LDFLAGS now supports the HP/UX f90 compiler.
2041 - Precious variables accumulation
2042 config.status could stack several copies of the precious variables
2044 - AC_PATH_PROG and family.
2045 Works properly when given a literal path.
2047 Somewhere since 2.13, the result had been reversed.
2051 - AC_C_BIGENDIAN supports the cross-compiling case.
2052 - AC_C_BIGENDIAN accepts ACTION-IF-TRUE, ACTION-IF-FALSE, and
2053 ACTION-IF-UNKNOWN arguments. All are optional, and the default
2054 for ACTION-IF-TRUE is to define WORDS_BIGENDIAN like AC_C_BIGENDIAN
2056 - AC_C_LONG_DOUBLE now succeeds only if 'long double' has more range or
2057 precision than 'double'.
2062 It now defines the preprocessor symbols PACKAGE_NAME,
2063 PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING, and
2067 Admits a fourth optional parameter: the tar name.
2069 - AC_CONFIG_COMMANDS, HEADERS, FILES, LINKS.
2070 Provide the user with srcdir, ac_srcdir, ac_top_srcdir, ac_builddir,
2071 ac_top_builddir, ac_abs_srcdir, ac_abs_top_srcdir, ac_abs_builddir,
2072 ac_abs_top_builddir.
2074 - AC_CONFIG_COMMANDS, HEADERS, FILES, LINKS and AC_OUTPUT.
2075 Are much less expensive when using long lists of files.
2078 Works with shell variables, and non alphanumeric names.
2082 - AC_FUNC_STRERROR_R now sets STRERROR_R_CHAR_P, not HAVE_WORKING_STRERROR_R,
2083 because POSIX 1003.1-200x draft 7 says strerror_r returns int, not char *.
2085 - AC_FUNC_STRTOD substitutes POW_LIB.
2090 * Major changes in Autoconf 2.52
2092 Released 2001-07-18 by Akim Demaille.
2097 This feature was present in autoconf 2.50 but was not documented.
2098 For example, '@<:@' is translated to '[' just before output. This
2099 is useful when writing strings that contain unbalanced quotes, or
2100 other hard-to-quote constructs.
2101 - m4_pattern_forbid, m4_pattern_allow
2102 - Tips for upgrading from 2.13.
2103 - Using autoscan to maintain a configure.ac.
2106 - Now include stdint.h.
2107 - sys/types.h and sys/stat.h are guarded.
2108 - strings.h is included if available, and not conflicting with string.h.
2111 - The test suite is more robust and presents less false failures.
2112 - Invocation of GNU M4 now robust to POSIXLY_CORRECT.
2113 - configure accepts --prefix='' again.
2114 - AC_CHECK_LIB works properly when its first argument is not a
2116 - HAVE_INTTYPES_H is defined only if not conflicting with sys/types.h.
2117 - build_, host_, and target_alias are AC_SUBST as in 2.13.
2118 - AC_ARG_VAR properly propagates precious variables inherited from the
2119 environment to ./config.status.
2120 - Using --program-suffix/--program-prefix is portable.
2121 - Failures to detect the default compiler's output extension are less
2123 - 'config.status foo' works properly when 'foo' depends on variables
2124 set in an AC_CONFIG_THING INIT-CMD.
2125 - autoheader is more robust to broken input.
2126 - Fixed Fortran name-mangling and link tests on a number of systems,
2127 e.g. NetBSD; see AC_F77_DUMMY_MAIN, below.
2130 - AC_CHECK_HEADER and AC_CHECK_HEADERS support a fourth argument to
2131 specify pre-includes. In this case, the headers are compiled with
2132 cc, not merely preprocessed by cpp. Therefore it is the _usability_
2133 of a header which is checked for, not just its availability.
2134 - AC_ARG_VAR refuses to run configure when precious variables have
2136 - Versions of compilers are dumped in the logs.
2137 - AC_CHECK_TYPE recognizes use of 'foo_t' as a replacement type.
2140 - AC_PATH_XTRA only adds -ldnet to $LIBS if it's needed to link.
2141 - AC_FUNC_WAIT3 and AC_SYS_RESTARTABLE_SYSCALLS are obsoleted.
2142 - AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH, AM_FUNC_MKTIME,
2143 AM_FUNC_OBSTACK, and AM_FUNC_STRTOD are now activated.
2144 Be sure to read 'Upgrading from Version 2.13' to understand why
2145 running 'autoupdate' is needed.
2146 - AC_F77_DUMMY_MAIN, AC_F77_MAIN: new macros to detect whether
2147 a main-like routine is required/possible when linking C/C++ with
2148 Fortran. Users of e.g. AC_F77_WRAPPERS should be aware of these.
2149 - AC_FUNC_GETPGRP behaves better when cross-compiling.
2151 * Major changes in Autoconf 2.51
2152 There was no release of Autoconf 2.51 since some packagers had used
2153 this version number without permission to ship intermediary versions
2154 of 2.50. The version was skipped to avoid confusion.
2156 * Major changes in Autoconf 2.50
2158 Released 2001-05-21 by Akim Demaille.
2160 ** Lots of bug fixes
2161 There have been far too many to enumerate them here. Check out
2162 ChangeLog if you really want to know more.
2164 ** Improved documentation
2165 In particular, portability issues are better covered.
2168 All the standard GNU Makefile targets are supported. The layout has
2169 changed: m4/ holds the M4 extensions Autoconf needs for its
2170 configuration, doc/ contains the documentation, and tests/ contains
2173 ** Man pages are provided
2174 For autoconf, autoreconf, autoupdate, autoheader, autoscan, ifnames,
2175 config.guess, config.sub.
2179 Provides a safe and powerful means to trace the macro uses. This
2180 provide the parsing layer for tools which need to 'study'
2184 Specify what category of warnings should be enabled.
2186 - When recursing into subdirectories, try for configure.gnu before
2187 configure to adapt for packages not using autoconf on case-insensitive
2191 More errors are now caught (circular AC_REQUIRE dependencies,
2192 AC_DEFINE in the action part of an AC_CACHE_CHECK, too many pops
2193 etc.). In addition, their location and call stack are given.
2196 autoupdate is much more powerful, and is able to provide the glue code
2197 which might be needed to move from an old macro to its newer
2200 You are strongly encouraged to use it to modernize both your
2201 'configure.in' and your .m4 extension files.
2204 The internal machinery of autoheader has completely changed. As a
2205 result, using 'acconfig.h' should be considered to be obsoleted, and
2206 you are encouraged to get rid of it using the AH macros.
2211 ** Fortran 77 compilers
2212 Globally, the support for Fortran 77 is considerably improved.
2214 Support for automatically determining a Fortran 77 compiler's
2215 name-mangling scheme. New CPP macros F77_FUNC and F77_FUNC_ are
2216 provided to wrap C/C++ identifiers, thus making it easier and more
2217 transparent for C/C++ to call Fortran 77 routines, and Fortran 77 to
2218 call C/C++ routines. See the Texinfo documentation for details.
2221 The test suite no longer uses DejaGNU. It should be easy to submit
2222 test cases in this new framework.
2225 - --help, --help=long, -hl
2226 no longer dumps useless items.
2228 lists only specific options.
2229 - --help=recursive, -hr
2230 displays the help of all the embedded packages.
2231 - Remembers environment variables when reconfiguring.
2232 The previous scheme to set envvar before running configure was
2234 what prevented configure from remembering the environment in which
2235 it was run, therefore --recheck was run in an inconsistent
2236 environment. Now, one should run
2238 and then --recheck will work properly. Variables declared with
2239 AC_ARG_VAR are also preserved.
2241 $build defaults to `config.guess`, $host to $build, and then $target
2243 Cross-compilation is a global status of the package, it no longer
2244 depends upon the current language.
2245 Cross compilation is enabled iff the user specified '--host'.
2246 'configure' now fails if it can't run the executables it compiles,
2247 unless cross-compilation is enabled.
2249 The cache file is disabled by default. The new options
2250 '--config-cache', '-C' set the cache to 'config.cache'.
2254 Much faster on most architectures.
2255 - concurrent executions
2256 It is safe to use 'make -j' with config.status.
2257 - human interface improved
2258 It is possible to invoke
2259 ./config.status foobar
2260 instead of the former form (still valid)
2261 CONFIG_COMMANDS= CONFIG_HEADERS= CONFIG_LINKS= \
2262 CONFIG_FILES=foobar:foo.in:bar.in \
2264 The same holds for configuration headers and links.
2265 You can instantiate unknown files and headers:
2266 ./config.status --header foo.h:foo.h.in --file bar:baz
2267 - has a useful --help
2268 - accepts special file name "-" for stdin/stdout
2273 Specify additional copyright information.
2276 Now expects the identity of the package as argument.
2280 Most macros, if not all, now strictly follow the 'one quotation
2281 level' rule. This results in a more predictable expansion.
2284 A sly bug in the AC_REQUIRE machinery, which could produce incorrect
2285 configure scripts, was fixed by Axel Thimm.
2289 Document and ask for the registration of an envvar.
2292 Specifies the file which 'configure' should look for when trying to
2293 find the source tree (used to be handled by AC_INIT).
2295 - AC_CONFIG_COMMANDS
2296 To add new actions to config.status. Should be used instead of
2300 Replaces AC_LINK_FILES.
2302 - AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS, AC_CONFIG_SUBDIRS,
2303 AC_CONFIG_LINKS, and AC_CONFIG_FILES
2304 They now obey sh: you should no longer use shell variables as
2305 argument. Instead of
2307 test "$package_foo_enabled" = yes && $my_subdirs="$my_subdirs foo"
2308 AC_CONFIG_SUBDIRS($my_subdirs)
2312 if test "$package_foo_enabled" = yes; then
2313 AC_CONFIG_SUBDIRS(foo)
2317 To format an Autoconf macro's help string so that it looks pretty
2318 when the user executes 'configure --help'.
2321 ** Generic Test Macros
2323 The interface of the AC_CHECK families of macros (decl, header,
2324 type, member, func) is now uniform. They support the same set of
2327 - AC_CHECK_DECL, AC_CHECK_DECLS
2328 To check whether a symbol is declared.
2330 - AC_CHECK_SIZEOF, AC_C_CHAR_UNSIGNED.
2331 No longer need a cross-compilation default.
2334 The test it performs is much more robust than previously, and makes
2335 it possible to test builtin types in addition to typedefs.
2336 It is now schizophrenic:
2337 - AC_CHECK_TYPE(TYPE, REPLACEMENT)
2338 remains for backward compatibility, but its use is discouraged.
2339 - AC_CHECK_TYPE(TYPE, IF-FOUND, IF-NOT-FOUND, INCLUDES)
2340 behaves exactly like the other AC_CHECK macros.
2343 Checks whether given types are supported by the system.
2345 - AC_CHECK_MEMBER, AC_CHECK_MEMBERS
2346 Check for given members in aggregates (e.g., pw_gecos in struct
2350 Checks if the compiler supports ISO C, included when needs special
2354 Checking whether the preprocessor indicates missing includes by the
2355 error code. stderr is checked by AC_TRY_CPP only as a fallback.
2358 Takes a language as argument and replaces AC_LANG_C,
2359 AC_LANG_CPLUSPLUS and AC_LANG_FORTRAN77.
2361 - AC_LANG_PUSH, AC_LANG_POP
2362 Are preferred to AC_LANG_SAVE, AC_LANG_RESTORE.
2365 - AC_FUNC_CHOWN, AC_FUNC_MALLOC, AC_FUNC_STRERROR_R,
2366 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, AC_FUNC_STAT, AC_FUNC_LSTAT,
2367 AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD, AC_FUNC_FSEEKO.
2371 Sets GETGROUPS_LIBS.
2373 - AC_FUNC_GETLOADAVG
2374 Defines 'HAVE_STRUCT_NLIST_N_UN_N_NAME' instead of 'NLIST_NAME_UNION'.
2377 Now integrates 'AC_DECL_YYTEXT' which is obsoleted.
2380 Arrange for large-file support.
2382 - AC_EXEEXT, AC_OBJEXT
2383 You are no longer expected to use them: their computation is
2384 performed by default.
2386 ** C++ compatibility
2387 Every macro has been revisited in order to support at best CC=c++.
2389 Major changes in Autoconf 2.14:
2390 There was no release of GNU Autoconf 2.14.
2392 Major changes in Autoconf 2.13:
2394 Released 1999-05-01 by Ben Elliston.
2396 * Support for building on 32-bit Windows systems where the only available C or
2397 C++ compiler is the Microsoft Visual C++ command line compiler
2398 ('cl'). Additional support for building on 32-bit Windows systems which are
2399 using the Cygwin or Mingw32 environments.
2400 * Support for alternative object file and executable file extensions.
2401 On 32-bit Windows, for example, these are .obj and .exe. These are discovered
2402 using AC_OBJEXT and AC_EXEEXT, which substitute @OBJEXT@ and
2403 @EXEEXT@ in the output, respectively.
2404 * New macros: AC_CACHE_LOAD, AC_CACHE_SAVE, AC_FUNC_SELECT_ARGTYPES,
2405 AC_VALIDATE_CACHED_SYSTEM_TUPLE, AC_SEARCH_LIBS, AC_TRY_LINK_FUNC,
2406 AC_C_STRINGIZE, AC_CHECK_FILE(S), AC_PROG_F77 (and friends).
2407 * AC_DEFINE now has an optional third argument for a description to be
2408 placed in the config header input file (e.g. config.h.in).
2409 * The C++ code fragment compiled for the C++ compiler test had to be
2410 improved to include an explicit return type for main(). This was
2411 causing failures on systems using recent versions of the EGCS C++
2413 * Fixed an important bug in AC_CHECK_TYPE that would cause a configure
2414 script to report that 'sometype_t' was present when only 'type_t'
2416 * Merge of the FSF version of config.guess and config.sub to modernize
2417 these scripts. Add support for a few new hosts in config.guess.
2418 Incorporate latest versions of install-sh, mkinstalldirs and
2419 texinfo.tex from the FSF.
2420 * autoreconf is capable of running automake if necessary (and
2422 * Support for Fortran 77. See the Texinfo documentation for details.
2423 * Bug fixes and workarounds for quirky bugs in vendor utilities.
2425 Major changes in Autoconf 2.12:
2427 Released 1996-11-26 by David J. MacKenzie
2429 * AC_OUTPUT and AC_CONFIG_HEADERS can create output files by
2430 concatenating multiple input files separated by colons, like so:
2431 AC_CONFIG_HEADERS([config.h:conf.pre:config.h.in:conf.post])
2432 AC_OUTPUT([Makefile:Makefile.in:Makefile.rules])
2433 The arguments may be shell variables, to compute the lists on the fly.
2434 * AC_LINK_FILES and AC_CONFIG_SUBDIRS may be called multiple times.
2435 * New macro AC_OUTPUT_COMMANDS adds more commands to run in config.status.
2438 Major changes in Autoconf 2.11:
2440 Released November 18th, 1996, by David J. MacKenzie
2442 * AC_PROG_CC and AC_PROG_CXX check whether the compiler works.
2443 They also default CFLAGS/CXXFLAGS to "-g -O2" for gcc, instead of "-g -O".
2444 * AC_REPLACE_FUNCS defines HAVE_foo if the system has the function 'foo'.
2445 * AC_CONFIG_HEADERS expands shell variables in its argument.
2446 * New macros: AC_FUNC_FNMATCH, AC_FUNC_SETPGRP.
2447 * The "checking..." messages and the source code for test programs that
2448 fail are saved in config.log.
2449 * Another workaround has been added for seds with small command length limits.
2450 * config.sub and config.guess recognize more system types.
2453 Major changes in Autoconf 2.10:
2455 Released May 7th, 1996, by Roland McGrath
2458 * The cache variable names used by 'AC_CHECK_LIB(LIB, FUNC, ...)' has
2459 changed: now $ac_cv_lib_LIB_FUNC, previously $ac_cv_lib_LIB.
2461 Major changes in Autoconf 2.9:
2463 Released March 16th, 1996, by Roland McGrath
2467 Major changes in Autoconf 2.8:
2469 Released March 8th, 1996, by Roland McGrath
2473 Major changes in Autoconf 2.7:
2475 Released November 22nd, 1995, by David J. MacKenzie
2479 Major changes in Autoconf 2.6:
2481 Released November 20th, 1995, by David J. MacKenzie
2485 Major changes in Autoconf 2.5:
2487 Released November 17th, 1995, by Roland McGrath
2489 * New configure options --bindir, --libdir, --datadir, etc., with
2490 corresponding output variables.
2491 * New macro: AC_CACHE_CHECK, to make using the cache easier.
2492 * config.log contains the command being run as well as any output from it.
2493 * AC_CHECK_LIB can check for libraries with "." or "/" or "+" in their name.
2494 * AC_PROG_INSTALL doesn't cache a name for install-sh, for sharing caches.
2495 * AC_CHECK_PROG, AC_PATH_PROG, AC_CHECK_PROGS, AC_PATH_PROGS, and
2496 AC_CHECK_TOOL can search a path other than $PATH.
2497 * AC_CHECK_SIZEOF takes an optional size to use when cross-compiling.
2499 Major changes in Autoconf 2.4:
2501 Released June 14th, 1995, by David J. MacKenzie
2503 * Fix a few bugs found by Emacs testers.
2505 Major changes in Autoconf 2.3:
2507 Released March 27th, 1995, by David J. MacKenzie
2509 * Fix the cleanup trap in several ways.
2510 * Handle C compilers that are picky about option placement.
2511 * ifnames gets the version number from the right directory.
2513 Major changes in Autoconf 2.2:
2515 Released March 8th, 1995, by David J. MacKenzie
2517 * The ifnames utility is much faster but requires a "new awk" interpreter.
2518 * AC_CHECK_LIB and AC_HAVE_LIBRARY check and add the new
2519 library before existing libs, not after, in case it uses them.
2520 * New macros: AC_FUNC_GETPGRP, AC_CHECK_TOOL.
2521 * Lots of bug fixes.
2522 * Many additions to the TODO file :-)
2524 Major changes in Autoconf 2.1:
2526 Released November 4th, 1994, by David J. MacKenzie
2529 * More explanations in the manual.
2530 * Fix a spurious failure in the testsuite.
2531 * Clarify some warning messages.
2532 * autoreconf by default only rebuilds configure and config.h.in files
2533 that are older than any of their particular input files; there is a
2534 --force option to use after installing a new version of Autoconf.
2536 Thanks to everybody who's submitted changes and additions to Autoconf!
2537 I've incorporated many of them, and am still considering others for
2538 future releases -- but I didn't want to postpone this release indefinitely.
2540 Caution: don't indiscriminately rebuild configure scripts with
2541 Autoconf version 2. Some configure.in files need minor adjustments to
2542 work with it; the documentation has a chapter on upgrading. A few
2543 configure.in files, including those for GNU Emacs and the GNU C
2544 Library, need major changes because they relied on undocumented
2545 internals of version 1. Future releases of those packages will have
2546 updated configure.in files.
2548 It's best to use GNU M4 1.3 (or later) with Autoconf version 2.
2549 Autoconf now makes heavy use of M4 diversions, which were implemented
2550 inefficiently in GNU M4 releases before 1.3.
2552 Major changes in Autoconf 2.0:
2554 Released October 26th, 1994, by David J. MacKenzie
2556 ** New copyright terms:
2557 * There are no restrictions on distribution or use of configure scripts.
2560 * Autoconf manual is reorganized to make information easier to find
2561 and has several new indexes.
2562 * INSTALL is reorganized and clearer and is now made from Texinfo source.
2565 * autoscan to generate a preliminary configure.in for a package by
2566 scanning its source code for commonly used nonportable functions,
2567 programs, and header files.
2568 * ifnames to list the symbols used in #if and #ifdef directives in a
2570 * autoupdate to update a configure.in to use the version 2 macro names.
2571 * autoreconf to recursively remake configure and configuration header
2572 files in a source tree.
2574 ** Changed utilities:
2575 * autoheader can take pieces of acconfig.h to replace config.h.{top,bot}.
2576 * autoconf and autoheader can look for package-local definition files
2577 in an alternate directory.
2580 * AC_CACHE_VAL to share results of tests between configure runs.
2581 * AC_DEFUN to define macros, automatically AC_PROVIDE them, and ensure
2582 that macros invoked with AC_REQUIRE don't interrupt other macros.
2583 * AC_CONFIG_AUX_DIR, AC_CANONICAL_SYSTEM, AC_CANONICAL_HOST, AC_LINK_FILES to
2584 support deciding unguessable features based on the host and target types.
2585 * AC_CONFIG_SUBDIRS to recursively configure a source tree.
2586 * AC_ARG_PROGRAM to use the options --program-prefix,
2587 --program-suffix, and --program-transform-name to change the names
2588 of programs being installed.
2589 * AC_PREFIX_DEFAULT to change the default installation prefix.
2590 * AC_TRY_COMPILE to compile a test program without linking it.
2591 * AC_CHECK_TYPE to check whether sys/types.h or stdlib.h defines a given type.
2592 * AC_CHECK_LIB to check for a particular function and library.
2593 * AC_MSG_CHECKING and AC_MSG_RESULT to print test results, on a single line,
2594 whether or not the test succeeds. They obsolete AC_CHECKING and AC_VERBOSE.
2595 * AC_SUBST_FILE to insert one file into another.
2596 * AC_FUNC_MEMCMP to check whether memcmp is 8-bit clean.
2597 * AC_FUNC_STRFTIME to find strftime even if it's in -lintl.
2598 * AC_FUNC_GETMNTENT to find getmntent even if it's in -lsun or -lseq.
2599 * AC_HEADER_SYS_WAIT to check whether sys/wait.h is POSIX.1 compatible.
2602 * Many macros renamed systematically, but old names are accepted for
2603 backward compatibility.
2604 * AC_OUTPUT adds the "automatically generated" comment to
2605 non-Makefiles where it finds @configure_input@ in an input file, to
2606 support files with various comment syntaxes.
2607 * AC_OUTPUT does not replace "prefix" and "exec_prefix" in generated
2608 files when they are not enclosed in @ signs.
2609 * AC_OUTPUT allows the optional environment variable CONFIG_STATUS to
2610 override the file name "config.status".
2611 * AC_OUTPUT takes an optional argument for passing variables from
2612 configure to config.status.
2613 * AC_OUTPUT and AC_CONFIG_HEADERS allow you to override the input-file names.
2614 * AC_OUTPUT automatically substitutes the values of CFLAGS, CXXFLAGS,
2615 CPPFLAGS, and LDFLAGS from the environment.
2616 * AC_PROG_CC and AC_PROG_CXX now set CFLAGS and CXXFLAGS, respectively.
2617 * AC_PROG_INSTALL looks for install-sh or install.sh in the directory
2618 specified by AC_CONFIG_AUXDIR, or srcdir or srcdir/.. or
2619 srcdir/../.. by default.
2620 * AC_DEFINE, AC_DEFINE_UNQUOTED, and AC_SUBST are more robust and smaller.
2621 * AC_DEFINE no longer prints anything, because of the new result reporting
2622 mechanism (AC_MSG_CHECKING and AC_MSG_RESULT).
2623 * AC_VERBOSE pays attention to --quiet/--silent, not --verbose.
2624 * AC_ARG_ENABLE and AC_ARG_WITH support whitespace in the arguments to
2625 --enable- and --with- options.
2626 * AC_CHECK_FUNCS and AC_CHECK_HEADERS take optional shell commands to
2627 execute on success or failure.
2628 * Checking for C functions in C++ works.
2631 * AC_REMOTE_TAPE and AC_RSH removed; too specific to tar and cpio, and
2632 better maintained with them.
2633 * AC_ARG_ARRAY removed because no one was likely using it.
2634 * AC_HAVE_POUNDBANG replaced with AC_SYS_INTERPRETER, which doesn't
2635 take arguments, for consistency with all of the other specific checks.
2638 * Comes with config.sub and config.guess, and uses them optionally.
2639 * Uses config.cache to cache test results. An alternate cache file
2640 can be selected with the --cache-file=FILE option.
2641 * Uses optional shell scripts $prefix/share/config.site and
2642 $prefix/etc/config.site to perform site or system specific initializations.
2643 * configure saves compiler output to ./config.log for debugging.
2644 * New files autoconf.m4 and autoheader.m4 load the other Autoconf macros.
2645 * acsite.m4 is the new name for the system-wide aclocal.m4.
2646 * Has a DejaGnu test suite.
2648 Major changes in Autoconf 1.11:
2650 * AC_PROG_INSTALL calls install.sh with the -c option.
2651 * AC_SET_MAKE cleans up after itself.
2652 * AC_OUTPUT sets prefix and exec_prefix if they weren't set already.
2653 * AC_OUTPUT prevents shells from looking in PATH for config.status.
2655 Plus a few other bug fixes.
2657 Major changes in Autoconf 1.10:
2659 * autoheader uses config.h.bot if present, analogous to config.h.top.
2660 * AC_PROG_INSTALL looks for install.sh in srcdir or srcdir/.. and
2662 * AC_PROG_CXX looks for cxx as a C++ compiler.
2664 Plus several bugs fixed.
2666 Major changes in Autoconf 1.9:
2668 * AC_YYTEXT_POINTER replaces AC_DECLARE_YYTEXT.
2669 * AC_SIZEOF_TYPE generates the cpp symbol name automatically,
2670 and autoheader generates entries for those names automatically.
2671 * AC_FIND_X gets the result from xmkmf correctly.
2672 * AC_FIND_X assumes no X if --without-x was given.
2673 * AC_FIND_XTRA adds libraries to the variable X_EXTRA_LIBS.
2674 * AC_PROG_INSTALL finds OSF/1 installbsd.
2676 Major changes in Autoconf 1.8:
2679 * New macros AC_LANG_C, AC_LANG_CPLUSPLUS, AC_LANG_SAVE, AC_LANG_RESTORE,
2680 AC_PROG_CXX, AC_PROG_CXXCPP, AC_REQUIRE_CPP
2681 for checking both C++ and C features in one configure script.
2682 * New macros AC_CHECKING, AC_VERBOSE, AC_WARN, AC_ERROR for printing messages.
2683 * New macros AC_FIND_XTRA, AC_MMAP, AC_SIZEOF_TYPE, AC_PREREQ,
2684 AC_SET_MAKE, AC_ENABLE.
2687 * AC_FIND_X looks for X in more places.
2688 * AC_PROG_INSTALL defaults to install.sh instead of cp, if it's in srcdir.
2689 install.sh is distributed with Autoconf.
2690 * AC_DECLARE_YYTEXT has been removed because it can't work, pending
2691 a rewrite of quoting in AC_DEFINE.
2692 * AC_OUTPUT adds its comments in C format when substituting in C files.
2693 * AC_COMPILE_CHECK protects its ECHO-TEXT argument with double quotes.
2695 ** New or changed command line options:
2696 * configure accepts --enable-FEATURE[=ARG] and --disable-FEATURE options.
2697 * configure accepts --without-PACKAGE, which sets withval=no.
2698 * configure accepts --x-includes=DIR and --x-libraries=DIR.
2699 * Giving --with-PACKAGE no argument sets withval=yes instead of withval=1.
2700 * configure accepts --help, --version, --silent/--quiet, --no-create options.
2701 * configure accepts and ignores most other Cygnus configure options, and
2702 warns about unknown options.
2703 * config.status accepts --help, --version options.
2705 ** File names and other changes:
2706 * Relative srcdir values are not made absolute.
2707 * The values of @prefix@ and @exec_prefix@ and @top_srcdir@ get substituted.
2708 * Autoconf library files are installed in ${datadir}/autoconf, not ${datadir}.
2709 * autoheader optionally copies config.h.top to the beginning of config.h.in.
2710 * The example Makefile dependencies for configure et al. work better.
2711 * Namespace cleanup: all shell variables used internally by Autoconf
2712 have names beginning with 'ac_'.
2714 More big improvements are in process for future releases, but have not
2715 yet been (variously) finished, integrated, tested, or documented enough
2718 Major changes in Autoconf 1.7:
2720 * New macro AC_OBSOLETE.
2721 * Bugs in Makefile.in fixed.
2722 * AC_LONG_FILE_NAMES improved.
2724 Major changes in Autoconf 1.6:
2726 * New macro AC_LONG_64_BITS.
2727 * Multiple .h files can be created.
2728 * AC_FIND_X looks for X files directly if it doesn't find xmkmf.
2729 * AC_ALLOCA defines C_ALLOCA if using alloca.c.
2730 * --with-NAME can take a value, e.g., --with-targets=sun4,hp300bsd.
2731 * Unused --no-create option to configure removed.
2732 * autoheader doesn't change the timestamp of its output file if
2733 the file didn't change.
2734 * All macros that look for libraries now use AC_HAVE_LIBRARY.
2735 * config.status checks three optional environment variables to
2736 modify its behavior.
2737 * The usual bug fixes.
2739 Major changes in Autoconf 1.5:
2741 * New macros AC_FIND_X, AC_OFF_T, AC_STAT_MACROS_BROKEN, AC_REVISION.
2742 * autoconf and autoheader scripts have GNU standards conforming
2743 --version and --help options (they print their message and exit).
2746 Major changes in Autoconf 1.4:
2748 * New macros AC_HAVE_POUNDBANG, AC_TIME_WITH_SYS_TIME, AC_LONG_DOUBLE,
2749 AC_GETGROUPS_T, AC_DEFINE_UNQUOTED.
2750 * autoconf and autoheader use the M4 environment variable to determine the
2751 name of the M4 program to use.
2752 * The --macrodir option to autoconf and autoheader specifies the directory
2753 in which acspecific.m4, acgeneral.m4, etc. reside if not the default.
2754 * autoconf and autoheader can take '-' as their file names, which means to
2755 read stdin as input.
2756 * Resulting configure scripts can take a --verbose option which causes them
2757 to print the results of their tests.
2758 * AC_DEFINE quotes its second argument in such a way that spaces, magic
2759 shell characters, etc. will be preserved during various stages of
2760 expansion done by the shell. If you don't want this, use
2761 AC_DEFINE_UNQUOTED instead.
2762 * Much textual processing done with external calls to tr and sed have been
2763 internalized with builtin M4 'patsubst' and 'translit' calls.
2764 * AC_OUTPUT doesn't hardwire the file names it outputs. Instead, you can
2765 set the shell variables 'gen_files' and 'gen_config' to the list of
2766 file names to output.
2767 * AC_DECLARE_YYTEXT does an AC_SUBST of 'LEX_OUTPUT_ROOT', which may be
2768 "lex.yy" or "lexyy", depending on the system.
2769 * AC_PROGRAMS_CHECK takes an optional third arg. If given, it is used as
2771 * If AC_ALLOCA chooses alloca.c, it also defines STACK_DIRECTION.
2772 * AC_CONST works much more reliably on more systems.
2775 Major changes in Autoconf 1.3:
2777 configure no longer requires awk for packages that use a config.h.
2778 Support handling --with-PACKAGE options.
2779 New 'autoheader' script to create 'config.h.in' from 'configure.in'.
2780 Ignore troublesome -lucb and -lPW when searching for alloca.
2781 Rename --exec_prefix to --exec-prefix for GNU standards conformance.
2782 Improve detection of STDC library.
2783 Add AC_HAVE_LIBRARY to check for non-default libraries.
2784 Function checking should work with future GNU libc releases.
2786 Major changes in Autoconf 1.2:
2788 The --srcdir option is now usually unnecessary.
2789 Add a file containing sample comments describing CPP macros.
2790 A comment in config.status tells which host it was configured on.
2791 Substituted variable values can now contain commas.
2792 Fix bugs in various feature checks.
2794 Major changes in Autoconf 1.1:
2796 Added AC_STRCOLL macro.
2797 Made AC_GETLOADAVG check for more things.
2798 AC_OUTPUT argument is now optional.
2803 Copyright (C) 1993-1996, 1998-2017, 2020-2024 Free Software Foundation,
2806 Copying and distribution of this file, with or without modification,
2807 are permitted in any medium without royalty provided the copyright
2808 notice and this notice are preserved. This file is offered as-is,
2809 without warranty of any kind.