* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
[autoconf/tsuna.git] / NEWS
blob7f352ea579ab0c6fa787f348edfde84302e0c6b2
1 * Major changes in Autoconf 2.61a (2006-12-11)
3 ** AC_FUNC_FSEEKO was broken in 2.61; it didn't make fseeko and ftello visible
4    on many platforms.  This has been fixed.
6 ** AC_FUNC_SETVBUF_REVERSED is now obsolete.  It is still defined for backward
7    compatibility but it does nothing.  The macro was already
8    obsolescent, as the last systems to have the problem were those
9    based on SVR2, which became obsolete in 1987.  The macro had bugs
10    on some modern systems and could no longer be maintained reliably
11    due to lack of ancient systems to test it on.
13 ** config.status now uses awk instead of sed for most substitutions, for speed.
15    - As a side effect multi-line values of substituted variables no
16      longer have a small limit in total size, though for portability
17      each line should not exceed the POSIX length limit for text lines.
19    - It is now documented that Makefile.in should not contain
20      overlapping variable occurrences, e.g., @VAR1@VAR2@.
21      Autoconf's behavior was always iffy in such cases, and the
22      awk implementation has changed the behavior.
24 ** Many uses of 'echo' have been rewritten so that Autoconf-generated
25    scripts have fewer problems with strings or file names containing
26    embedded special characters such as backslash or leading "-".  This
27    was implemented by using `printf '%s\n' "$foo"' instead of `echo
28    "$foo"' when printf works.  Due to the implementation technique
29    used, Autoconf-generated scripts now run considerably more slowly
30    on ancient implementations lacking printf.  However, this should
31    not be a problem, since Autoconf-generated scripts in practice
32    invariably find a more-modern shell these days.
34 * Major changes in Autoconf 2.61 (2006-11-17)
36 ** New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
38 ** AC_ARG_ENABLE and AC_ARG_WITH now allow '.' in feature and package names.
40 * Major changes in Autoconf 2.60b (2006-10-22)
42 ** BIN_SH
43   Autoconf-generated shell scripts no longer export BIN_SH, due to
44   configuration hassles with this.  Installers who need BIN_SH in
45   their environment should set it before invoking 'configure' and
46   'make'.  As far as we know, this affects only Unixware installations.
48 ** Obsolescent macros
49   The documentation now says that the following macros are obsolescent,
50   as they are superseded by Gnulib:
52     AC_FUNC_FNMATCH  AC_FUNC_FNMATCH_GNU  AC_FUNC_GETLOADVG  AC_REPLACE_FNMATCH
54   New programs should use the Gnulib counterparts of these macros.
55   We have no current plans to remove them from Autoconf.
57 ** AC_COMPUTE_INT no longer caches or reports results.
59 ** AC_CHECK_DECL now also works with aggregate objects.
61 ** AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for NonStop platforms.
63 ** GNU M4 1.4.7 or later is now recommended.
65 ** m4_mkstemp
66   New M4sugar macro, which is more secure than the POSIX M4 maketemp.
68 ** m4_maketemp
69   Now an alias for m4_mkstemp.
71 * Major changes in Autoconf 2.60a (2006-08-25)
73 ** GNU M4 1.4.6 or later is now recommended.
75 ** The check for C99 now tests for varargs macros, as documented.
76   It also tests that the preprocessor supports 64-bit integers.
78 ** Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H" rather than
79   "#if HAVE_STDLIB_H", so that it now works with "gcc -Wundef -Werror".
81 ** The functionality of the undocumented _AC_COMPUTE_INT is now provided
82   by a public and documented macro, AC_COMPUTE_INT.  The parameters to the
83   two macros are different, so autoupdate will not change the old private name
84   to the new one.  _AC_COMPUTE_INT may be removed in a future release.
86 ** AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT now require
87    that long long types be at least 64 bits wide, as C99 and tradition
88    requires.  Formerly, they accepted implementations of any width.
91 * Major changes in Autoconf 2.60
93   Released 2006-06-23, by Ralf Wildenhues.
95 ** Autoconf no longer depends on whether m4wrap is FIFO (as Posix requires)
96   or LIFO (as in GNU M4 1.4.x).  GNU M4 2.0 is expected to conform to Posix
97   here, so m4wrap/m4_wrap users should no longer depend on LIFO behavior.
99 ** Provide a way to turn off warnings about the changed directory variables.
101 * Major changes in Autoconf 2.59d
103   Released 2006-06-05, by Ralf Wildenhues.
105 ** GNU make now recommended for VPATH builds
106   INSTALL now suggests VPATH builds (e.g., "sh ../srcdir/configure")
107   only if you use GNU make.  In practice, other 'make' implementations
108   have too many subtle incompatibilities in their support for VPATH.
109   Many packages (including Autoconf itself) are portable to other
110   'make' implementations, but some packages are not, and recommending
111   GNU make keeps the installation instructions simpler.
113 ** Even more safety checks for the new Directory variables:
114   Warn about suspicious `${datarootdir}' found in config files output.
116 ** AC_TRY_COMMAND, AC_TRY_EVAL, ac_config_guess, ac_config_sub, ac_configure
117   These never-documented macros and variables have been marked with
118   comments saying that they may be removed in a future release,
119   because their use can lead to unintended code being executed.
120   If you need functionality that only these macros or variables
121   currently supply, please write bug-autoconf@gnu.org.
123 ** AC_SUBST, AC_DEFINE
124   Literal arguments to these are passed to m4_pattern_allow now.
126 ** AC_PROG_CC_STDC
127   Passing 'ac_cv_prog_cc_stdc=no' to 'configure' now sets ac_cv_prog_cc_c99
128   and ac_cv_prog_cc_c89 to 'no' as well, for backward compatibility with
129   obsolete K&R tests in the Automake test suite.
131 ** AC_PROG_CXX_C_O
132   New macro.
134 ** AC_PROG_MKDIR_P
135   New macro.
137 ** AS_MKDIR_P
138   Now more robust with special characters in file names, or when
139   multiple processes create the same directory at the same time.
141 ** Obsolescent macros
142   The documentation now says that the following macros are obsolescent:
143   they test for problems that are so old that they are no longer of
144   practical importance on current systems.
146     AC_C_BACKSLASH_A       AC_FUNC_MEMCMP            AC_HEADER_DIRENT
147     AC_C_CONST             AC_FUNC_SELECT_ARGTYPES   AC_HEADER_STAT
148     AC_C_PROTOTYPES        AC_FUNC_SETPGRP           AC_HEADER_STDC
149     AC_C_STRINGIZE         AC_FUNC_SETVBUF_REVERSED  AC_HEADER_SYS_WAIT
150     AC_C_VOLATILE          AC_FUNC_STAT              AC_HEADER_TIME
151     AC_FUNC_CLOSEDIR_VOID  AC_FUNC_STRFTIME          AC_ISC_POSIX
152     AC_FUNC_GETPGRP        AC_FUNC_UTIME_NULL        AC_PROG_GCC_TRADITIONAL
153     AC_FUNC_LSTAT          AC_FUNC_VPRINTF           AC_STRUCT_TM
155   New programs need not use these macros.  We have no current plans to
156   remove them.
158 ** autoreconf
159   For compatibility with future Libtool 2.0, autoreconf will invoke
160   libtoolize with the option `--ltdl' now, if LT_CONFIG_LTDL_DIR is
161   used.
163 * Major changes in Autoconf 2.59c
165   Released 2006-04-12, by Ralf Wildenhues.
167 ** The configure command now redirects standard input from /dev/null,
168   to help avoid problems with subsidiary commands that might mistakenly
169   read standard input.  AS_ORIGINAL_STDIN_FD points to the original
170   standard input before this redirection, if you really want configure to
171   read from standard input.
173 ** Directory variables adjusted to recent changes in the GNU Coding Standards.
174   The following directory variables are new:
176     datarootdir   read-only architecture-independent data root [PREFIX/share]
177     localedir     locale-specific message catalogs [DATAROOTDIR/locale]
178     docdir        documentation root [DATAROOTDIR/doc/PACKAGE]
179     htmldir       html documentation [DOCDIR]
180     dvidir        dvi documentation [DOCDIR]
181     pdfdir        pdf documentation [DOCDIR]
182     psdir         ps documentation [DOCDIR]
184   The following variables have new default values:
186     datadir       read-only architecture-independent data [DATAROOTDIR]
187     infodir       info documentation [DATAROOTDIR/info]
188     mandir        man documentation [DATAROOTDIR/man]
190   This means that if you use any of `@datadir@', `@infodir@', or
191   `@mandir@' in a file, you will have to ensure `${datarootdir}' is
192   defined in this file.  As a temporary measure, if any of those are
193   found but no mention of `datarootdir', the substitutions will be
194   replaced with values that do not contain `${datarootdir}', and a
195   warning will be issued.
197 ** @top_builddir@ is now a dir name: it is always nonempty and doesn't have
198   a trailing slash.  Similar change will be made to ac_top_builddir in a
199   future release; the old style value, which matches (../)*, is (and will
200   continue to be) available as ac_top_build_prefix.
202 ** AC_C_TYPEOF
203   New macro to check for support of 'typeof' syntax a la GNU C.
205 ** AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_HEADERS_ONCE
206   New "once-only" variants of commonly-used macros, to make 'configure'
207   smaller and faster in common cases.
209 ** AC_FUNC_STRTOLD
210   New macro to check for strtold with C99 semantics.
212 ** AC_HEADER_ASSERT
213   New macro that lets builder disable assertions at 'configure'-time.
215 ** AC_PATH_X
216   Now checks for X11/Xlib.h and XrmInitialize (X proper) rather than
217   X11/Intrinsic.h and XtMalloc (Xt).
219 ** AC_PRESERVE_HELP_ORDER
220   New macro that causes `configure' to display help strings for AC_ARG_ENABLE
221   and AC_ARG_WITH arguments in one region, in the order defined.  The default
222   behavior is to group options of each classes separately.
224 ** AC_PROG_CC, AC_PROG_CXX
225   No longer automatically arrange to declare the 'exit' function of C,
226   when a C++ compiler is used.  Standard Autoconf macros no longer use
227   'exit', so this is no longer an issue for them.  If you use C++, and
228   want to call 'exit', you'll have to arrange for its declaration
229   yourself.  But we now suggest you return from 'main' instead.
231 ** AC_PROG_CC_C89, AC_PROG_CC_C99
232   New macros for ISO C99 support.  AC_PROG_CC_C89 and AC_PROG_CC_C99
233   check for ANSI C89 and ISO C99 support respectively.
235 ** AC_PROG_CC_STDC
236   Has been unobsoleted, and will check if the compiler supports ISO
237   C99, falling back to ANSI C89 if not.  ac_cv_prog_cc_stdc is
238   retained for backwards compatibility, assuming the value of
239   ac_cv_prog_cc_c99 or ac_cv_prog_cc_c89 (whichever is valid, in
240   that order).
242 ** AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE
243   New macros for checking commonly-used members of struct dirent.
245 ** AC_SUBST
246   The substituted value can now contain newlines.
248 ** AC_SUBST_FILE
249   The substitution now occurs only when @variable@ is on a line by itself,
250   optionally surrounded by spaces and tabs.  The whole line is replaced.
252 ** AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER
253   New macros to check for long double, and whether it is wider than double.
254   The old macro AC_C_TYPE_LONG_DOUBLE has been marked as obsolete;
255   applications should switch to the new macro.
257 ** AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
258    AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT, AC_TYPE_SSIZE_T,
259    AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
260    AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT
261   New macros to check for C99 and POSIX types.
263 ** AC_USE_SYSTEM_EXTENSIONS
264   New macro to enable extensions to Posix.
266 ** AH_HEADER
267   New macro which is defined to the name of the first declared config header
268   or undefined if no config headers have been declared yet.
270 ** AS_HELP_STRING
271   The macro correctly handles quadrigraphs now.
273 ** AS_BOURNE_COMPATIBLE, AS_SHELL_SANITIZE, AS_CASE
274   These macros are new or published now.
276 ** AT_COPYRIGHT
277   New macro for copyright notices in testsuite files.
279 ** ALLOCA, LIBOBJS, LTLIBOBJS
280   Object names added to these variables are now prefixed with `${LIBOBJDIR}',
281   as in `${LIBOBJDIR}alloca.o'.  LIBOBJDIR is meant to be defined from
282   `Makefile.in' in case the object files lie in a different directory.
283   The LIBOBJDIR feature is experimental.
285 ** autoreconf
286   Supports --no-recursive now.
288 ** New macros to support Erlang/OTP.
289   New macros for configuring paths to Erlang tools and libraries:
290   AC_ERLANG_PATH_ERLC, AC_ERLANG_NEED_ERLC, AC_ERLANG_PATH_ERL,
291   AC_ERLANG_NEED_ERL, AC_ERLANG_CHECK_LIB, AC_ERLANG_SUBST_ROOT_DIR,
292   AC_ERLANG_SUBST_LIB_DIR.
294   New macros for configuring installation of Erlang libraries:
295   AC_ERLANG_SUBST_INSTALL_LIB_DIR, AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR.
297 ** The manual now mentions Gnulib more prominently.
299 ** New macros to support Objective C.
300   AC_PROG_OBJC, AC_PROG_OBJCPP.
302 * Major changes in Autoconf 2.59b
304   Released 2004-08-20, by Paul Eggert.
306 ** AC_CHECK_ALIGNOF
307   New macro that computes the default alignment of a type.
309 ** AC_CHECK_TOOL, AC_PATH_TOOL, AC_CHECK_TOOLS
310   When cross-compiling, these macros will give a warning if the tool
311   is not prefixed.  In the future, unprefixed cross tools will not
312   be detected; please consult the info documentation for information
313   about the reason of this change.
315 ** AC_CHECK_TARGET_TOOL, AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOLS
316   New macros that detect programs whose name is prefixed with the
317   target type, if the build type and target type are different.
319 ** AC_REQUIRE_AUX_FILE
320   New trace macro that declares expected auxiliary files.
322 ** AC_PROG_GREP
323   New macro that tests for a grep program that accepts as a long a line
324   as possible.
326 ** AC_PROG_EGREP, AC_PROG_FGREP
327   These macros now require AC_PROG_GREP, and try EGREP="$GREP -E" and
328   FGREP="$GREP -F" respectively if possible, or else run a path search for
329   a program that accepts as long a line as possible.
331 ** AC_PROG_SED
332   New macro that tests for a sed program that truncates as few characters
333   as possible.
335 * Major changes in Autoconf 2.59
337   Released 2003-11-04, by Akim Demaille
339 ** ac_abs_builddir etc.
340   Absolute file names were actually relative in 2.58.
342 * Major changes in Autoconf 2.58
344   Released 2003-11-04, by Akim Demaille
346 ** core.*
347   core.* files are no longer removed, as they may be valid user files.
349 ** autoreconf and auxiliary directory
350   Autoreconf creates the auxiliary directory if needed.  This is
351   especially useful for initial "bootstrapping" of fresh CVS checkouts.
353 ** AC_CONFIG_MACRO_DIR
354   Use this macro to declare the directory for local M4 macros for aclocal.
356 ** AC_LIBOBJS
357   No longer includes twice the same file in LIBOBJS if invoked
358   multiple times.
360 ** AC_CONFIG_COMMANDS
361   The directory for its first argument is automatically created.  For
362   instance, with
364       AC_CONFIG_COMMANDS([src/modules.hh], [...])
366   $top_builddir/src/ is created if needed.
368 ** Autotest and local.at
369   The optional file local.at is always included in Autotest test suites.
371 ** Warnings
372   The warnings are always issued, including with cached runs.
373   This became a significant problem since aclocal and automake can
374   run autoconf behind the scene.
376 ** autoheader warnings
377   The warnings of autoheader can be turned off, using --warning.
378   For instance, -Wno-obsolete disables the complaints about acconfig.h
379   and other deprecated constructs.
381 ** New macros
382   AC_C_RESTRICT, AC_INCLUDES_DEFAULT, AC_LANG_ASSERT, AC_LANG_WERROR,
383   AS_SET_CATFILE.
385 ** AC_DECL_SYS_SIGLIST
386   Works again.
388 ** AC_FUNC_MKTIME
389   Now checks that mktime is the inverse of localtime.
391 ** Improve DJGPP portability
392   The Autoconf tools and configure behave better under DJGPP.
394 ** Present But Cannot Be Compiled
395   New FAQ section dedicated to the mystic
397     configure: WARNING: pi.h: present but cannot be compiled
398     configure: WARNING: pi.h: check for missing prerequisite headers?
399     configure: WARNING: pi.h: proceeding with the preprocessor's result
400       messages.
402 ** Concurrent executions of autom4te
403   autom4te now locks its internal files, which enables concurrent
404   executions of autom4te, likely to happen if automake, autoconf,
405   autoheader etc. are run simultaneously.
407 ** Libtool
408   Use of Libtool 1.5 and higher is encouraged.  Compatibility with
409   Libtool pre-1.4 is not checked.
411 ** Autotest
412   Testsuites no longer rerun failed tests in verbose mode; instead,
413   failures are logged while the test is run.
415   In addition, expected failures can be marked as such.
417 * Major changes in Autoconf 2.57
419   Released 2002-12-03 by Paul Eggert.
421 Bug fixes for problems with AIX linker, with freestanding C compilers,
422 with GNU M4 limitations, and with obsolete copies of GNU documents.
424 The Free Documentation License has been upgraded from 1.1 to 1.2.
426 * Major changes in Autoconf 2.56
428   Released 2002-11-15 by Akim Demaille.
430 One packaging problem fixed (config/install-sh was not executable).
432 * Major changes in Autoconf 2.55
434   Released 2002-11-14 by Akim Demaille.
436 Release tips:
438            Have your configure.ac checked by autoscan ("autoscan").
439              Try the warning options ("autoreconf -fv -Wall").
441 ** Documentation
443 - AC_CHECK_HEADER, AC_CHECK_HEADERS
444   More information on proper use.
446 - Writing Test Programs
448   This sections explains how to write good test sources to use with
449   AC_COMPILE_IFELSE etc.  It documents AC_LANG_PROGRAM and so forth.
451 - AC_FOO_IFELSE vs. AC_TRY_FOO
453   Explains why Autoconf moves from AC_TRY_COMPILE etc. to
454   AC_COMPILE_IFELSE and AC_LANG_PROGRAM etc.
456 ** autoreconf
458 - Is more robust to different Gettext installations.
460 - Produces messages (when --verbose) to be understood by Emacs'
461   compile mode.
463 - Supports -W/--warnings.
465 - -m/--make
466   Once the GNU Build System reinstalled, run `./config.status
467   --recheck && ./config.status && make' if possible.
469 ** autom4te
471 - Supports --cache, and --no-cache.
473 - ~/.autom4te.cfg makes it possible to disable the caching mechanism
474   (autom4te.cache).  See `Customizing autom4te' in the documentation.
476 ** config.status
477   Supports --quiet.
479 ** Obsolete options
481   Support for the obsoleted options -m, --macrodir, -l, --localdir is
482   dropped in favor of the safer --include/--prepend-include scheme.
484 ** Macros
486 - New macros
487   AC_COMPILER_IFELSE, AC_FUNC_MBRTOWC, AC_HEADER_STDBOOL,
488   AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM, AC_LANG_CALL,
489   AC_LANG_FUNC_TRY_LINK, AC_MSG_FAILURE, AC_PREPROC_IFELSE.
491 - Obsoleted
492   Obsoleted macros are kept for Autoconf backward compatibility, but
493   should be avoided in configure.ac.  Running autoupdate is advised.
494   AC_DECL_SYS_SIGLIST.
496 - AC_DEFINE/AC_DEFINE_UNQUOTED
498   We have to stop using the old compatibility scheme --that tried to
499   avoid useless backslashes-- because Libtool 1.4.3 contains a
501   AC_DEFINE([error_t], [int],
502             [Define to a type to use for \`error_t' if it is not
503              otherwise available.])
505   We have to quote the single quotes and backslashes with \.  The old
506   compatibility scheme saw that ` was backslashed, and therefore did
507   not quote the single quote...  Failure.  Hence, Autoconf 2.54 is not
508   compatible with Libtool.  Autoconf 2.55 is, but in some cases might
509   produce more \ than wanted.
511   Please, note that in the future the same problem will happen with
512   AC_MSG_*: use `autoreconf -f -Wall'.
514 ** Bug Fixes
516 - Portability of the Autoconf package to Solaris.
518 - Spurious warnings caused by config.status.
519   This bug is benign, but painful: on some systems (typically
520   FreeBSD), warnings such as:
522      config.status: creating Makefile
523      mv: Makefile: set owner/group (was: 1357/0): Operation not permitted
525   could be issued.  This is fixed.
527 - Parallel Builds
528   Simultaneous executions of config.status are possible again.
530 - Precious variables accumulation
532   config.status could stack several copies of the precious variables
533   assignments.
536 ** Plans for later versions
538 - ./configure <host>
540   The compatibility hooks with the old scheme will be completely
541   removed.  Please, advice/use `--build', `--host', and `--target'
542   only.
544 - AC_CHECK_HEADER, AC_CHECK_HEADERS
546   The tests will be stricter, please make sure your invocations are
547   valid.
549 - shell functions
551   Shell functions will gradually be introduced, probably starting with
552   Autotest.  If you know machines which are in use that you suspect
553   *not* to support shell functions, please run the test suite of
554   Autoconf 2.55 on it, and report the results to
555   bug-autoconf@gnu.org.
557 - AC_MSG_*
559   Special characters in AC_MSG_* need not be quoted.  Currently,
560   Autoconf has heuristics to decide when a string is escaped, or has
561   to be escaped.  This scheme is fragile, and will be removed; the
562   only risk is uglified messages.  Please, run `autoreconf -f -Wall'
563   to find occurrences that will be affected.
565 * Major changes in Autoconf 2.54
567   Released 2002-09-13 by Akim Demaille.
569 ** Executables
571 - autoreconf no longer changes the version of the gettext/po/intl
572   support files. It now adds the files the correspond to the
573   AM_GNU_GETTEXT_VERSION declared in configure.ac.
575   Warning: It now relies on the 'autopoint' program, which is part
576   of GNU gettext 0.11.4 and newer.
578   Please note that you need to have a GNU gettext version that
579   corresponds at least to the AM_GNU_GETTEXT_VERSION declared
580   in configure.ac. You can upgrade to newer GNU gettext versions,
581   though, without needing to change configure.ac.
583 - The -I DIR or --include=DIR option now appends DIR to the include path
584   instead of prepending; this is for consistency with other GNU tools.
585   The new -B DIR or --prepend-include=DIR option has the old behavior.
587 ** Macros
589 - AC_OUTPUT
590   Now handles all the gory details about LIBOBJS and LTLIBOBJS.
591   Please, remove lines such as
593         # This is necessary so that .o files in LIBOBJS are also
594         # built via the ANSI2KNR-filtering rules.
595         LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
597   and read the `AC_LIBOBJ vs LIBOBJS' section.  Do not define U in
598   your Makefiles either.
600 - AC_CONFIG_LINKS now makes copies if it can't make links.
602 - AC_FUNC_FNMATCH now tests only for POSIX compatibility, reverting to
603   Autoconf 2.13 behavior.  The new macro AC_FUNC_FNMATCH_GNU also
604   tests for GNU extensions to fnmatch, and replaces fnmatch if needed.
606 - AC_FUNC_SETVBUF_REVERSED no longer fails when cross-compiling.
608 - AC_PROG_CC_STDC is integrated into AC_PROG_CC.
610 - AC_PROG_F77 default search no longer includes cf77 and cfg77.
612 - New macros
614   AC_C_BACKSLASH_A, AC_CONFIG_LIBOBJ_DIR, AC_GNU_SOURCE,
615   AC_PROG_EGREP, AC_PROG_FGREP, AC_REPLACE_FNMATCH,
616   AC_FUNC_FNMATCH_GNU, AC_FUNC_REALLOC, AC_TYPE_MBSTATE_T.
618 - AC_FUNC_GETLOADAVG
619   looks for getloadavg.c in the CONFIG_LIBOBJ_DIR.
621 - AC_FUNC_MALLOC
622   Now defines HAVE_MALLOC to 0 if `malloc' does not work, and asks
623   for an AC_LIBOBJ replacement.
625 ** Bug fixes
627 - Spurious complaints from `m4_bmatch' about invalid regular
628   expressions are suppressed.
630 - Empty top_builddirs are properly handled.
632 - AC_CHECK_MEMBER works correctly when the member is an aggregate.
634 - AC_PATH_PROG
635   Now colon in the optional path arguments are properly handled.
637 ** Improved portability
639 - Both Autoconf the package, and the scripts it produces, should run
640   more reliably with Zsh.  Bear in mind it is the default Bourne shell
641   on Darwin.
643 - Autoconf and the scripts it produces no longer assume the existence of
644   the obsolescent commands egrep and fgrep.
646 ** Documentation
648 - Limitations of Make
649   More of them.
651 - GNATS
652   The GNATS base moved to
653   http://bugs.gnu.org/cgi-bin/gnatsweb.pl?database=autoconf
654   (It is no longer available, though.)
656 ** Misc.
658 - config.log
659   Now contains the list of ouput variables and files (AC_SUBST,
660   AC_SUBST_FILES).
662 * Major changes in Autoconf 2.53
664   Released 2002-03-08 by Akim Demaille.
666 ** Requirements
668   Perl 5.005_03 or later is required: autom4te is written in Perl and is
669   needed by autoconf.  autoheader, autoreconf, ifnames, and autoscan are
670   rewritten in Perl.
672 ** Documentation
674 - AC_INIT
675   Argument requirements, output variables, defined macros.
676 - M4sugar, M4sh, Autotest
677   First sketch.
678 - Double quoting macros
679   AC_TRY_CPP, AC_TRY_COMPILE, AC_TRY_LINK and AC_TRY_RUN.
680 - Licensing
681   The Autoconf manual is now distributed under the terms of the GNU FDL.
682 - Section `Hosts and Cross-Compilation'
683   Explains the rationale for the 2.5x changes in the cross-compilation
684   chain, and in the relationships between build, host, and target
685   types.
686   Emphasizes that `cross-compilation' == `--host is given'.
687   If you are working on compilers etc., be sure to read this section.
688 - Section `AC_LIBOBJ vs. LIBOBJS'
689   Explains why assigning LIBOBJS directly is now an error.
690   Details how to update the code.
692 ** configure
694 - $LINENO
695   Now used instead of hard coded line numbers.
696   This eases the comparison of `configure's, and diminishes the
697   pressure over control version archives.
698   Automatic replacement for shells that don't support this feature.
699 - New output variables
700   @builddir@, @top_builddir@, @abs_srcdir@, @abs_top_srcdir@, @abs_builddir@,
701   @abs_top_builddir@.
703 ** Emacs
705   Autoconf and Autotest modes are provided.
707 ** Executables
709 - autom4te
710   New, used by the Autoconf suite to cache and speed up most processing.
711 - --force, -f
712   Supported by autom4te, autoconf and autoheader.
713 - --include, -I
714   Replaces --autoconf-dir and --localdir in autoconf, autoheader,
715   autoupdate, and autoreconf.
716 - autoreconf
717   No longer passes --cygnus, --foreign, --gnits, --gnu, --include-deps:
718   automake options are to be given via AUTOMAKE_OPTIONS.
719 - autoreconf
720   Runs gettextize and libtoolize when appropriate.
721 - autoreconf
722   --m4dir is no longer supported.
723 - autoreconf
724   Now runs only in the specified directories, defaulting to `.',
725   but understands AC_CONFIG_SUBDIRS for dependent directories.
726   Before, it used to run on all the `configure.ac' found in the
727   current tree.
728   Independent packages are properly updated.
730 ** Bug fixes
732 - The top level $prefix is propagated to the AC_CONFIG_SUBDIRS configures.
733 - AC_TRY_RUN
734   Under the user pressure, $? is finally available.  Probably a mistake.
735 - AC_F77_LIBRARY_LDFLAGS now supports the HP/UX f90 compiler.
736 - Precious variables accumulation
737   config.status could stack several copies of the precious variables
738   assignments.
739 - AC_PATH_PROG and family.
740   Works properly when given a literal path.
741 - AC_FUNC_SETPGRP
742   Somewhere since 2.13, the result had been reversed.
744 ** C Macros
746 - AC_C_BIGENDIAN supports the cross-compiling case.
747 - AC_C_BIGENDIAN accepts ACTION-IF-TRUE, ACTION-IF-FALSE, and
748   ACTION-IF-UNKNOWN arguments.  All are facultative, and the default
749   for ACTION-IF-TRUE is to define WORDS_BIGENDIAN like AC_C_BIGENDIAN
750   always did.
751 - AC_C_LONG_DOUBLE now succeeds only if `long double' has more range or
752   precision than `double'.
754 ** Generic macros
756 - AC_INIT
757   It now defines the preprocessor symbols PACKAGE_NAME,
758   PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING, and
759   PACKAGE_BUGREPORT.
761 - AC_INIT
762   Admits a fourth optional parameter: the tar name.
764 - AC_CONFIG_COMMANDS, HEADERS, FILES, LINKS.
765   Provide the user with srcdir, ac_srcdir, ac_top_srcdir, ac_builddir,
766   ac_top_builddir, ac_abs_srcdir, ac_abs_top_srcdir, ac_abs_builddir,
767   ac_abs_top_builddir.
769 - AC_CONFIG_COMMANDS, HEADERS, FILES, LINKS and AC_OUTPUT.
770   Are much less expensive when using long lists of files.
772 - AC_PREFIX_PROGRAM
773   Works with shell variables, and non alphanumeric names.
775 ** Library macros
777 - AC_FUNC_STRERROR_R now sets STRERROR_R_CHAR_P, not HAVE_WORKING_STRERROR_R,
778   because POSIX 1003.1-200x draft 7 says strerror_r returns int, not char *.
780 - AC_FUNC_STRTOD substitutes POW_LIB.
782 - AC_FUNC_STRNLEN
783   New.
785 * Major changes in Autoconf 2.52
787   Released 2001-07-18 by Akim Demaille.
789 ** Documentation
790 - AC_ARG_VAR
791 - Quadrigraphs
792   This feature was present in autoconf 2.50 but was not documented.
793   For example, `@<:@' is translated to `[' just before output.  This
794   is useful when writing strings that contain unbalanced quotes, or
795   other hard-to-quote constructs.
796 - m4_pattern_forbid, m4_pattern_allow
797 - Tips for upgrading from 2.13.
798 - Using autoscan to maintain a configure.ac.
800 ** Default includes
801 - Now include stdint.h.
802 - sys/types.h and sys/stat.h are guarded.
803 - strings.h is included if available, and not conflicting with string.h.
805 ** Bug fixes
806 - The test suite is more robust and presents less false failures.
807 - Invocation of GNU M4 now robust to POSIXLY_CORRECT.
808 - configure accepts --prefix='' again.
809 - AC_CHECK_LIB works properly when its first argument is not a
810   literal.
811 - HAVE_INTTYPES_H is defined only if not conflicting with sys/types.h.
812 - build_, host_, and target_alias are AC_SUBST as in 2.13.
813 - AC_ARG_VAR properly propagates precious variables inherited from the
814   environment to ./config.status.
815 - Using --program-suffix/--program-prefix is portable.
816 - Failures to detect the default compiler's output extension are less
817   likely.
818 - `config.status foo' works properly when `foo' depends on variables
819   set in an AC_CONFIG_THING INIT-CMD.
820 - autoheader is more robust to broken input.
821 - Fixed Fortran name-mangling and link tests on a number of systems,
822   e.g. NetBSD; see AC_F77_DUMMY_MAIN, below.
824 ** Generic macros
825 - AC_CHECK_HEADER and AC_CHECK_HEADERS support a fourth argument to
826   specify pre-includes.  In this case, the headers are compiled with
827   cc, not merely preprocessed by cpp.  Therefore it is the _usability_
828   of a header which is checked for, not just its availability.
829 - AC_ARG_VAR refuses to run configure when precious variables have
830   changed.
831 - Versions of compilers are dumped in the logs.
832 - AC_CHECK_TYPE recognizes use of `foo_t' as a replacement type.
834 ** Specific Macros
835 - AC_PATH_XTRA only adds -ldnet to $LIBS if it's needed to link.
836 - AC_FUNC_WAIT3 and AC_SYS_RESTARTABLE_SYSCALLS are obsoleted.
837 - AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH, AM_FUNC_MKTIME,
838   AM_FUNC_OBSTACK, and AM_FUNC_STRTOD are now activated.
839   Be sure to read `Upgrading from Version 2.13' to understand why
840   running `autoupdate' is needed.
841 - AC_F77_DUMMY_MAIN, AC_F77_MAIN: new macros to detect whether
842   a main-like routine is required/possible when linking C/C++ with
843   Fortran.  Users of e.g. AC_F77_WRAPPERS should be aware of these.
844 - AC_FUNC_GETPGRG behaves better when cross-compiling.
846 * Major changes in Autoconf 2.51
847 There was no release of Autoconf 2.51 since some packagers had used
848 this version number without permission to ship intermediary versions
849 of 2.50.  The version was skipped to avoid confusion.
851 * Major changes in Autoconf 2.50
853   Released 2001-05-21 by Akim Demaille.
855 ** Lots of bug fixes
856 There have been far too many to enumerate them here.  Check out
857 ChangeLog if you really want to know more.
859 ** Improved documentation
860 In particular, portability issues are better covered.
862 ** Use of Automake
863 All the standard GNU Makefile targets are supported.  The layout has
864 changed: m4/ holds the M4 extensions Autoconf needs for its
865 configuration, doc/ contains the documentation, and tests/ contains
866 the test suite.
868 ** Man pages are provided
869 For autoconf, autoreconf, autoupdate, autoheader, autoscan, ifnames,
870 config.guess, config.sub.
872 ** autoconf
873 - --trace
874   Provides a safe and powerful means to trace the macro uses.  This
875   provide the parsing layer for tools which need to `study'
876   configure.in.
878 - --warnings
879   Specify what category of warnings should be enabled.
881 - When recursing into subdirectories, try for configure.gnu before
882   configure to adapt for packages not using autoconf on case-insensitive
883   file systems.
885 - Diagnostics
886   More errors are now caught (circular AC_REQUIRE dependencies,
887   AC_DEFINE in the action part of an AC_CACHE_CHECK, too many pops
888   etc.).  In addition, their location and call stack are given.
890 ** autoupdate
891 autoupdate is much more powerful, and is able to provide the glue code
892 which might be needed to move from an old macro to its newer
893 equivalent.
895 You are strongly encouraged to use it to modernize both your
896 `configure.in' and your .m4 extension files.
898 ** autoheader
899 The internal machinery of autoheader has completely changed.  As a
900 result, using `acconfig.h' should be considered to be obsoleted, and
901 you are encouraged to get rid of it using the AH macros.
903 ** autoreconf
904 Extensive overhaul.
906 ** Fortran 77 compilers
907 Globally, the support for Fortran 77 is considerably improved.
909 Support for automatically determining a Fortran 77 compiler's
910 name-mangling scheme.  New CPP macros F77_FUNC and F77_FUNC_ are
911 provided to wrap C/C++ identifiers, thus making it easier and more
912 transparent for C/C++ to call Fortran 77 routines, and Fortran 77 to
913 call C/C++ routines.  See the Texinfo documentation for details.
915 ** Test suite
916 The test suite no longer uses DejaGNU.  It should be easy to submit
917 test cases in this new framework.
919 ** configure
920 - --help, --help=long, -hl
921   no longer dumps useless items.
922 - --help=short, -hs
923   lists only specific options.
924 - --help=recursive, -hr
925   displays the help of all the embedded packages.
926 - Remembers environment variables when reconfiguring.
927   The previous scheme to set envvar before running configure was
928     ENV=VAL ./configure
929   what prevented configure from remembering the environment in which
930   it was run, therefore --recheck was run in an inconsistent
931   environment.  Now, one should run
932     ./configure ENV=VAR
933   and then --recheck will work properly.  Variables declared with
934   AC_ARG_VAR are also preserved.
935 - cross-compilation
936   $build defaults to `config.guess`, $host to $build, and then $target
937   to $host.
938   Cross-compilation is a global status of the package, it no longer
939   depends upon the current language.
940   Cross compilation is enabled iff the user specified `--host'.
941   `configure' now fails if it can't run the executables it compiles,
942   unless cross-compilation is enabled.
943 - Cache file
944   The cache file is disabled by default.  The new options
945   `--config-cache', `-C' set the cache to `config.cache'.
947 ** config.status
948 - faster
949   Much faster on most architectures.
950 - concurrent executions
951   It is safe to use `make -j' with config.status.
952 - human interface improved
953   It is possible to invoke
954     ./config.status foobar
955   instead of the former form (still valid)
956     CONFIG_COMMANDS= CONFIG_HEADERS= CONFIG_LINKS= \
957     CONFIG_FILES=foobar:foo.in:bar.in \
958     ./config.status
959   The same holds for configuration headers and links.
960   You can instantiate unknown files and headers:
961     ./config.status --header foo.h:foo.h.in --file bar:baz
962 - has a useful --help
963 - accepts special file name "-" for stdin/stdout
966 ** Identity Macros
967 - AC_COPYRIGHT
968   Specify additional copyright information.
970 - AC_INIT
971   Now expects the identity of the package as argument.
973 ** General changes.
974 - Uniform quotation
975   Most macros, if not all, now strictly follow the `one quotation
976   level' rule.  This results in a more predictable expansion.
978 - AC_REQUIRE
979   A sly bug in the AC_REQUIRE machinery, which could produce incorrect
980   configure scripts, was fixed by Axel Thimm.
982 ** Setup Macros
983 - AC_ARG_VAR
984   Document and ask for the registration of an envvar.
986 - AC_CONFIG_SRCDIR
987   Specifies the file which `configure' should look for when trying to
988   find the source tree (used to be handled by AC_INIT).
990 - AC_CONFIG_COMMANDS
991   To add new actions to config.status.  Should be used instead of
992   AC_OUTPUT_COMMANDS.
994 - AC_CONFIG_LINKS
995   Replaces AC_LINK_FILES.
997 - AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS, AC_CONFIG_SUBDIRS,
998   AC_CONFIG_LINKS, and AC_CONFIG_FILES
999   They now obey sh: you should no longer use shell variables as
1000   argument.  Instead of
1002         test "$package_foo_enabled" = yes && $my_subdirs="$my_subdirs foo"
1003         AC_CONFIG_SUBDIRS($my_subdirs)
1005   write
1007         if test "$package_foo_enabled" = yes; then
1008           AC_CONFIG_SUBDIRS(foo)
1009         fi
1011 - AC_HELP_STRING
1012   To format an Autoconf macro's help string so that it looks pretty
1013   when the user executes `configure --help'.
1016 ** Generic Test Macros
1017 - AC_CHECK families
1018   The interface of the AC_CHECK families of macros (decl, header,
1019   type, member, func) is now uniform.  They support the same set of
1020   default includes.
1022 - AC_CHECK_DECL, AC_CHECK_DECLS
1023   To check whether a symbol is declared.
1025 - AC_CHECK_SIZEOF, AC_C_CHAR_UNSIGNED.
1026   No longer need a cross-compilation default.
1028 - AC_CHECK_TYPE
1029   The test it performs is much more robust than previously, and makes
1030   it possible to test builtin types in addition to typedefs.
1031   It is now schizophrenic:
1032     - AC_CHECK_TYPE(TYPE, REPLACEMENT)
1033       remains for backward compatibility, but its use is discouraged.
1034     - AC_CHECK_TYPE(TYPE, IF-FOUND, IF-NOT-FOUND, INCLUDES)
1035       behaves exactly like the other AC_CHECK macros.
1037 - AC_CHECK_TYPES
1038   Checks whether given types are supported by the system.
1040 - AC_CHECK_MEMBER, AC_CHECK_MEMBERS
1041   Check for given members in aggregates (e.g., pw_gecos in struct
1042   passwd).
1044 - AC_PROG_CC_STDC
1045   Checks if the compiler supports ISO C, included when needs special
1046   options.
1048 - AC_PROG_CPP
1049   Checking whether the preprocessor indicates missing includes by the
1050   error code. stderr is checked by AC_TRY_CPP only as a fallback.
1052 - AC_LANG
1053   Takes a language as argument and replaces AC_LANG_C,
1054   AC_LANG_CPLUSPLUS and AC_LANG_FORTRAN77.
1056 - AC_LANG_PUSH, AC_LANG_POP
1057   Are preferred to AC_LANG_SAVE, AC_LANG_RESTORE.
1059 ** Specific Macros
1060 - AC_FUNC_CHOWN, AC_FUNC_MALLOC, AC_FUNC_STRERROR_R,
1061   AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, AC_FUNC_STAT, AC_FUNC_LSTAT,
1062   AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD, AC_FUNC_FSEEKO.
1063   New.
1065 - AC_FUNC_GETGROUPS
1066   Sets GETGROUPS_LIBS.
1068 - AC_FUNC_GETLOADAVG
1069   Defines `HAVE_STRUCT_NLIST_N_UN_N_NAME' instead of `NLIST_NAME_UNION'.
1071 - AC_PROG_LEX
1072   Now integrates `AC_DECL_YYTEXT' which is obsoleted.
1074 - AC_SYS_LARGEFILE
1075   Arrange for large-file support.
1077 - AC_EXEEXT, AC_OBJEXT
1078   You are no longer expected to use them: their computation is
1079   performed by default.
1081 ** C++ compatibility
1082   Every macro has been revisited in order to support at best CC=c++.
1084 Major changes in Autoconf 2.14:
1085   There was no release of GNU Autoconf 2.14.
1087 Major changes in Autoconf 2.13:
1089   Released 1999-05-01 by Ben Elliston.
1091 * Support for building on Win32 systems where the only available C or
1092   C++ compiler is the Microsoft Visual C++ command line compiler
1093   (`cl').  Additional support for building on Win32 systems which are
1094   using the Cygwin or Mingw32 environments.
1095 * Support for alternative object file and executable file extensions.
1096   On Win32, for example, these are .obj and .exe. These are discovered
1097   using AC_OBJEXT and AC_EXEEXT, which substitute @OBJEXT@ and
1098   @EXEEXT@ in the output, respectively.
1099 * New macros: AC_CACHE_LOAD, AC_CACHE_SAVE, AC_FUNC_SELECT_ARGTYPES,
1100   AC_VALIDATE_CACHED_SYSTEM_TUPLE, AC_SEARCH_LIBS, AC_TRY_LINK_FUNC,
1101   AC_C_STRINGIZE, AC_CHECK_FILE(S), AC_PROG_F77 (and friends).
1102 * AC_DEFINE now has an optional third argument for a description to be
1103   placed in the config header input file (e.g. config.h.in).
1104 * The C++ code fragment compiled for the C++ compiler test had to be
1105   improved to include an explicit return type for main(). This was
1106   causing failures on systems using recent versions of the EGCS C++
1107   compiler.
1108 * Fixed an important bug in AC_CHECK_TYPE that would cause a configure
1109   script to report that `sometype_t' was present when only `type_t'
1110   was defined.
1111 * Merge of the FSF version of config.guess and config.sub to modernize
1112   these scripts. Add support for a few new hosts in config.guess.
1113   Incorporate latest versions of install-sh, mkinstalldirs and
1114   texinfo.tex from the FSF.
1115 * autoreconf is capable of running automake if necessary (and
1116   applicable).
1117 * Support for Fortran 77. See the Texinfo documentation for details.
1118 * Bug fixes and workarounds for quirky bugs in vendor utilities.
1120 Major changes in Autoconf 2.12:
1122   Released 1996-11-26 by David J. MacKenzie
1124 * AC_OUTPUT and AC_CONFIG_HEADER can create output files by
1125   concatenating multiple input files separated by colons, like so:
1126   AC_CONFIG_HEADER(config.h:conf.pre:config.h.in:conf.post)
1127   AC_OUTPUT(Makefile:Makefile.in:Makefile.rules)
1128   The arguments may be shell variables, to compute the lists on the fly.
1129 * AC_LINK_FILES and AC_CONFIG_SUBDIRS may be called multiple times.
1130 * New macro AC_OUTPUT_COMMANDS adds more commands to run in config.status.
1131 * Bug fixes.
1133 Major changes in Autoconf 2.11:
1135   Released November 18th, 1996, by David J. MacKenzie
1137 * AC_PROG_CC and AC_PROG_CXX check whether the compiler works.
1138   They also default CFLAGS/CXXFLAGS to "-g -O2" for gcc, instead of "-g -O".
1139 * AC_REPLACE_FUNCS defines HAVE_foo if the system has the function `foo'.
1140 * AC_CONFIG_HEADER expands shell variables in its argument.
1141 * New macros: AC_FUNC_FNMATCH, AC_FUNC_SETPGRP.
1142 * The "checking..." messages and the source code for test programs that
1143   fail are saved in config.log.
1144 * Another workaround has been added for seds with small command length limits.
1145 * config.sub and config.guess recognize more system types.
1146 * Bug fixes.
1148 Major changes in Autoconf 2.10:
1150   Released May 7th, 1996, by Roland McGrath
1152 * Bug fixes.
1153 * The cache variable names used by `AC_CHECK_LIB(LIB, FUNC, ...)' has
1154   changed: now $ac_cv_lib_LIB_FUNC, previously $ac_cv_lib_LIB.
1156 Major changes in Autoconf 2.9:
1158   Released March 16th, 1996, by Roland McGrath
1160 * Bug fixes.
1162 Major changes in Autoconf 2.8:
1164   Released March 8th, 1996, by Roland McGrath
1166 * Bug fixes.
1168 Major changes in Autoconf 2.7:
1170   Released November 22nd, 1995, by David J. MacKenzie
1172 * Bug fixes.
1174 Major changes in Autoconf 2.6:
1176   Released November 20th, 1995, by David J. MacKenzie
1178 * Bug fixes.
1180 Major changes in Autoconf 2.5:
1182   Released November 17th, 1995, by Roland McGrath
1184 * New configure options --bindir, --libdir, --datadir, etc., with
1185   corresponding output variables.
1186 * New macro: AC_CACHE_CHECK, to make using the cache easier.
1187 * config.log contains the command being run as well as any output from it.
1188 * AC_CHECK_LIB can check for libraries with "." or "/" or "+" in their name.
1189 * AC_PROG_INSTALL doesn't cache a name for install-sh, for sharing caches.
1190 * AC_CHECK_PROG, AC_PATH_PROG, AC_CHECK_PROGS, AC_PATH_PROGS, and
1191   AC_CHECK_TOOL can search a path other than $PATH.
1192 * AC_CHECK_SIZEOF takes an optional size to use when cross-compiling.
1194 Major changes in Autoconf 2.4:
1196   Released June 14th, 1995, by David J. MacKenzie
1198 * Fix a few bugs found by Emacs testers.
1200 Major changes in Autoconf 2.3:
1202   Released March 27th, 1995, by David J. MacKenzie
1204 * Fix the cleanup trap in several ways.
1205 * Handle C compilers that are picky about option placement.
1206 * ifnames gets the version number from the right directory.
1208 Major changes in Autoconf 2.2:
1210   Released March 8th, 1995, by David J. MacKenzie
1212 * The ifnames utility is much faster but requires a "new awk" interpreter.
1213 * AC_CHECK_LIB and AC_HAVE_LIBRARY check and add the new
1214   library before existing libs, not after, in case it uses them.
1215 * New macros: AC_FUNC_GETPGRP, AC_CHECK_TOOL.
1216 * Lots of bug fixes.
1217 * Many additions to the TODO file :-)
1219 Major changes in Autoconf 2.1:
1221   Released November 4th, 1994, by David J. MacKenzie
1223 * Fix C++ problems.
1224 * More explanations in the manual.
1225 * Fix a spurious failure in the testsuite.
1226 * Clarify some warning messages.
1227 * autoreconf by default only rebuilds configure and config.h.in files
1228   that are older than any of their particular input files; there is a
1229   --force option to use after installing a new version of Autoconf.
1231 Thanks to everybody who's submitted changes and additions to Autoconf!
1232 I've incorporated many of them, and am still considering others for
1233 future releases -- but I didn't want to postpone this release indefinitely.
1235 Caution: don't indiscriminately rebuild configure scripts with
1236 Autoconf version 2.  Some configure.in files need minor adjustments to
1237 work with it; the documentation has a chapter on upgrading.  A few
1238 configure.in files, including those for GNU Emacs and the GNU C
1239 Library, need major changes because they relied on undocumented
1240 internals of version 1.  Future releases of those packages will have
1241 updated configure.in files.
1243 It's best to use GNU M4 1.3 (or later) with Autoconf version 2.
1244 Autoconf now makes heavy use of M4 diversions, which were implemented
1245 inefficiently in GNU M4 releases before 1.3.
1247 Major changes in Autoconf 2.0:
1249   Released October 26th, 1994, by David J. MacKenzie
1251 ** New copyright terms:
1252 * There are no restrictions on distribution or use of configure scripts.
1254 ** Documentation:
1255 * Autoconf manual is reorganized to make information easier to find
1256   and has several new indexes.
1257 * INSTALL is reorganized and clearer and is now made from Texinfo source.
1259 ** New utilities:
1260 * autoscan to generate a preliminary configure.in for a package by
1261   scanning its source code for commonly used nonportable functions,
1262   programs, and header files.
1263 * ifnames to list the symbols used in #if and #ifdef directives in a
1264   source tree.
1265 * autoupdate to update a configure.in to use the version 2 macro names.
1266 * autoreconf to recursively remake configure and configuration header
1267   files in a source tree.
1269 ** Changed utilities:
1270 * autoheader can take pieces of acconfig.h to replace config.h.{top,bot}.
1271 * autoconf and autoheader can look for package-local definition files
1272   in an alternate directory.
1274 ** New macros:
1275 * AC_CACHE_VAL to share results of tests between configure runs.
1276 * AC_DEFUN to define macros, automatically AC_PROVIDE them, and ensure
1277   that macros invoked with AC_REQUIRE don't interrupt other macros.
1278 * AC_CONFIG_AUX_DIR, AC_CANONICAL_SYSTEM, AC_CANONICAL_HOST, AC_LINK_FILES to
1279   support deciding unguessable features based on the host and target types.
1280 * AC_CONFIG_SUBDIRS to recursively configure a source tree.
1281 * AC_ARG_PROGRAM to use the options --program-prefix,
1282   --program-suffix, and --program-transform-name to change the names
1283   of programs being installed.
1284 * AC_PREFIX_DEFAULT to change the default installation prefix.
1285 * AC_TRY_COMPILE to compile a test program without linking it.
1286 * AC_CHECK_TYPE to check whether sys/types.h or stdlib.h defines a given type.
1287 * AC_CHECK_LIB to check for a particular function and library.
1288 * AC_MSG_CHECKING and AC_MSG_RESULT to print test results, on a single line,
1289   whether or not the test succeeds.  They obsolete AC_CHECKING and AC_VERBOSE.
1290 * AC_SUBST_FILE to insert one file into another.
1291 * AC_FUNC_MEMCMP to check whether memcmp is 8-bit clean.
1292 * AC_FUNC_STRFTIME to find strftime even if it's in -lintl.
1293 * AC_FUNC_GETMNTENT to find getmntent even if it's in -lsun or -lseq.
1294 * AC_HEADER_SYS_WAIT to check whether sys/wait.h is POSIX.1 compatible.
1296 ** Changed macros:
1297 * Many macros renamed systematically, but old names are accepted for
1298   backward compatibility.
1299 * AC_OUTPUT adds the "automatically generated" comment to
1300   non-Makefiles where it finds @configure_input@ in an input file, to
1301   support files with various comment syntaxes.
1302 * AC_OUTPUT does not replace "prefix" and "exec_prefix" in generated
1303   files when they are not enclosed in @ signs.
1304 * AC_OUTPUT allows the optional environment variable CONFIG_STATUS to
1305   override the file name "config.status".
1306 * AC_OUTPUT takes an optional argument for passing variables from
1307   configure to config.status.
1308 * AC_OUTPUT and AC_CONFIG_HEADER allow you to override the input-file names.
1309 * AC_OUTPUT automatically substitutes the values of CFLAGS, CXXFLAGS,
1310   CPPFLAGS, and LDFLAGS from the environment.
1311 * AC_PROG_CC and AC_PROG_CXX now set CFLAGS and CXXFLAGS, respectively.
1312 * AC_PROG_INSTALL looks for install-sh or install.sh in the directory
1313   specified by AC_CONFIG_AUXDIR, or srcdir or srcdir/.. or
1314   srcdir/../.. by default.
1315 * AC_DEFINE, AC_DEFINE_UNQUOTED, and AC_SUBST are more robust and smaller.
1316 * AC_DEFINE no longer prints anything, because of the new result reporting
1317   mechanism (AC_MSG_CHECKING and AC_MSG_RESULT).
1318 * AC_VERBOSE pays attention to --quiet/--silent, not --verbose.
1319 * AC_ARG_ENABLE and AC_ARG_WITH support whitespace in the arguments to
1320   --enable- and --with- options.
1321 * AC_CHECK_FUNCS and AC_CHECK_HEADERS take optional shell commands to
1322   execute on success or failure.
1323 * Checking for C functions in C++ works.
1325 ** Removed macros:
1326 * AC_REMOTE_TAPE and AC_RSH removed; too specific to tar and cpio, and
1327   better maintained with them.
1328 * AC_ARG_ARRAY removed because no one was likely using it.
1329 * AC_HAVE_POUNDBANG replaced with AC_SYS_INTERPRETER, which doesn't
1330   take arguments, for consistency with all of the other specific checks.
1332 ** New files:
1333 * Comes with config.sub and config.guess, and uses them optionally.
1334 * Uses config.cache to cache test results.  An alternate cache file
1335   can be selected with the --cache-file=FILE option.
1336 * Uses optional shell scripts $prefix/share/config.site and
1337   $prefix/etc/config.site to perform site or system specific initializations.
1338 * configure saves compiler output to ./config.log for debugging.
1339 * New files autoconf.m4 and autoheader.m4 load the other Autoconf macros.
1340 * acsite.m4 is the new name for the system-wide aclocal.m4.
1341 * Has a DejaGnu test suite.
1343 Major changes in Autoconf 1.11:
1345 * AC_PROG_INSTALL calls install.sh with the -c option.
1346 * AC_SET_MAKE cleans up after itself.
1347 * AC_OUTPUT sets prefix and exec_prefix if they weren't set already.
1348 * AC_OUTPUT prevents shells from looking in PATH for config.status.
1350 Plus a few other bug fixes.
1352 Major changes in Autoconf 1.10:
1354 * autoheader uses config.h.bot if present, analogous to config.h.top.
1355 * AC_PROG_INSTALL looks for install.sh in srcdir or srcdir/.. and
1356   never uses cp.
1357 * AC_PROG_CXX looks for cxx as a C++ compiler.
1359 Plus several bugs fixed.
1361 Major changes in Autoconf 1.9:
1363 * AC_YYTEXT_POINTER replaces AC_DECLARE_YYTEXT.
1364 * AC_SIZEOF_TYPE generates the cpp symbol name automatically,
1365   and autoheader generates entries for those names automatically.
1366 * AC_FIND_X gets the result from xmkmf correctly.
1367 * AC_FIND_X assumes no X if --without-x was given.
1368 * AC_FIND_XTRA adds libraries to the variable X_EXTRA_LIBS.
1369 * AC_PROG_INSTALL finds OSF/1 installbsd.
1371 Major changes in Autoconf 1.8:
1373 ** New macros:
1374 * New macros AC_LANG_C, AC_LANG_CPLUSPLUS, AC_LANG_SAVE, AC_LANG_RESTORE,
1375   AC_PROG_CXX, AC_PROG_CXXCPP, AC_REQUIRE_CPP
1376   for checking both C++ and C features in one configure script.
1377 * New macros AC_CHECKING, AC_VERBOSE, AC_WARN, AC_ERROR for printing messages.
1378 * New macros AC_FIND_XTRA, AC_MMAP, AC_SIZEOF_TYPE, AC_PREREQ,
1379   AC_SET_MAKE, AC_ENABLE.
1381 ** Changed macros:
1382 * AC_FIND_X looks for X in more places.
1383 * AC_PROG_INSTALL defaults to install.sh instead of cp, if it's in srcdir.
1384   install.sh is distributed with Autoconf.
1385 * AC_DECLARE_YYTEXT has been removed because it can't work, pending
1386   a rewrite of quoting in AC_DEFINE.
1387 * AC_OUTPUT adds its comments in C format when substituting in C files.
1388 * AC_COMPILE_CHECK protects its ECHO-TEXT argument with double quotes.
1390 ** New or changed command line options:
1391 * configure accepts --enable-FEATURE[=ARG] and --disable-FEATURE options.
1392 * configure accepts --without-PACKAGE, which sets withval=no.
1393 * configure accepts --x-includes=DIR and --x-libraries=DIR.
1394 * Giving --with-PACKAGE no argument sets withval=yes instead of withval=1.
1395 * configure accepts --help, --version, --silent/--quiet, --no-create options.
1396 * configure accepts and ignores most other Cygnus configure options, and
1397   warns about unknown options.
1398 * config.status accepts --help, --version options.
1400 ** File names and other changes:
1401 * Relative srcdir values are not made absolute.
1402 * The values of @prefix@ and @exec_prefix@ and @top_srcdir@ get substituted.
1403 * Autoconf library files are installed in ${datadir}/autoconf, not ${datadir}.
1404 * autoheader optionally copies config.h.top to the beginning of config.h.in.
1405 * The example Makefile dependencies for configure et al. work better.
1406 * Namespace cleanup: all shell variables used internally by Autoconf
1407   have names beginning with `ac_'.
1409 More big improvements are in process for future releases, but have not
1410 yet been (variously) finished, integrated, tested, or documented enough
1411 to release yet.
1413 Major changes in Autoconf 1.7:
1415 * New macro AC_OBSOLETE.
1416 * Bugs in Makefile.in fixed.
1417 * AC_LONG_FILE_NAMES improved.
1419 Major changes in Autoconf 1.6:
1421 * New macro AC_LONG_64_BITS.
1422 * Multiple .h files can be created.
1423 * AC_FIND_X looks for X files directly if it doesn't find xmkmf.
1424 * AC_ALLOCA defines C_ALLOCA if using alloca.c.
1425 * --with-NAME can take a value, e.g., --with-targets=sun4,hp300bsd.
1426 * Unused --no-create option to configure removed.
1427 * autoheader doesn't change the timestamp of its output file if
1428   the file didn't change.
1429 * All macros that look for libraries now use AC_HAVE_LIBRARY.
1430 * config.status checks three optional environment variables to
1431   modify its behavior.
1432 * The usual bug fixes.
1434 Major changes in Autoconf 1.5:
1436 * New macros AC_FIND_X, AC_OFF_T, AC_STAT_MACROS_BROKEN, AC_REVISION.
1437 * autoconf and autoheader scripts have GNU standards conforming
1438   --version and --help options (they print their message and exit).
1439 * Many bug fixes.
1441 Major changes in Autoconf 1.4:
1443 * New macros AC_HAVE_POUNDBANG, AC_TIME_WITH_SYS_TIME, AC_LONG_DOUBLE,
1444   AC_GETGROUPS_T, AC_DEFINE_UNQUOTED.
1445 * autoconf and autoheader use the M4 environment variable to determine the
1446   name of the M4 program to use.
1447 * The --macrodir option to autoconf and autoheader specifies the directory
1448   in which acspecific.m4, acgeneral.m4, etc. reside if not the default.
1449 * autoconf and autoheader can take `-' as their file names, which means to
1450   read stdin as input.
1451 * Resulting configure scripts can take a --verbose option which causes them
1452   to print the results of their tests.
1453 * AC_DEFINE quotes its second argument in such a way that spaces, magic
1454   shell characters, etc. will be preserved during various stages of
1455   expansion done by the shell.  If you don't want this, use
1456   AC_DEFINE_UNQUOTED instead.
1457 * Much textual processing done with external calls to tr and sed have been
1458   internalized with builtin M4 `patsubst' and `translit' calls.
1459 * AC_OUTPUT doesn't hardwire the file names it outputs.  Instead, you can
1460   set the shell variables `gen_files' and `gen_config' to the list of
1461   file names to output.
1462 * AC_DECLARE_YYTEXT does an AC_SUBST of `LEX_OUTPUT_ROOT', which may be
1463   "lex.yy" or "lexyy", depending on the system.
1464 * AC_PROGRAMS_CHECK takes an optional third arg.  If given, it is used as
1465   the default value.
1466 * If AC_ALLOCA chooses alloca.c, it also defines STACK_DIRECTION.
1467 * AC_CONST works much more reliably on more systems.
1468 * Many bug fixes.
1470 Major changes in Autoconf 1.3:
1472 configure no longer requires awk for packages that use a config.h.
1473 Support handling --with-PACKAGE options.
1474 New `autoheader' script to create `config.h.in' from `configure.in'.
1475 Ignore troublesome -lucb and -lPW when searching for alloca.
1476 Rename --exec_prefix to --exec-prefix for GNU standards conformance.
1477 Improve detection of STDC library.
1478 Add AC_HAVE_LIBRARY to check for non-default libraries.
1479 Function checking should work with future GNU libc releases.
1481 Major changes in Autoconf 1.2:
1483 The --srcdir option is now usually unnecessary.
1484 Add a file containing sample comments describing CPP macros.
1485 A comment in config.status tells which host it was configured on.
1486 Substituted variable values can now contain commas.
1487 Fix bugs in various feature checks.
1489 Major changes in Autoconf 1.1:
1491 Added AC_STRCOLL macro.
1492 Made AC_GETLOADAVG check for more things.
1493 AC_OUTPUT argument is now optional.
1494 Various bug fixes.
1496 -----
1498 Copyright (C) 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
1499 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1501 This file is part of GNU Autoconf.
1503 GNU Autoconf is free software; you can redistribute it and/or modify
1504 it under the terms of the GNU General Public License as published by
1505 the Free Software Foundation; either version 2, or (at your option)
1506 any later version.
1508 GNU Autoconf is distributed in the hope that it will be useful,
1509 but WITHOUT ANY WARRANTY; without even the implied warranty of
1510 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1511 GNU General Public License for more details.
1513 You should have received a copy of the GNU General Public License
1514 along with GNU Autoconf; see the file COPYING.  If not, write to
1515 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
1516 Boston, MA 02110-1301, USA.
1518 Local Variables:
1519 mode: outline
1520 End: