* tests/mktests.sh (ac_exclude_list): Fix the filtering of
[autoconf.git] / NEWS
blob1bc0160d83efa742eb363a258b0aed0b0d37d21c
1 * Major changes in Autoconf 2.57c                       -*- outline -*-
3 * Major changes in Autoconf 2.57b
5   Released 2003-08-24, by Akim Demaille.
7 ** Autotest and local.at
8   The optional file local.at is always included in Autotest test suites.
10 ** Warnings
11   The warnings are always issued, including with cached runs.
12   This became a significant problem since aclocal and automake can
13   run autoconf behind the scene.
15 ** autoheader warnings
16   The warnings of autoheader can be turned off, using --warning.
17   For instance, -Wno-obsolete disables the complaints about acconfig.h
18   and other deprecated constructs.
20 * Major changes in Autoconf 2.57a
22   Released 2003-06-20 by Akim Demaille.
24 ** New macros
25   AC_C_RESTRICT, AC_INCLUDES_DEFAULT.
27 ** AC_DECL_SYS_SIGLIST
28   Works again.
30 ** AC_FUNC_MKTIME
31   Now checks that mktime is the inverse of localtime.
33 ** Improve DJGPP portability
34   The Autoconf tools and configure behave better under DJGPP.
36 ** Present But Cannot Be Compiled
37   New FAQ section dedicated to the mystic
39     configure: WARNING: pi.h: present but cannot be compiled
40     configure: WARNING: pi.h: check for missing prerequisite headers?
41     configure: WARNING: pi.h: proceeding with the preprocessor's result
42       messages.
44 ** Concurrent executions of autom4te
45   autom4te now locks its internal files, which enables concurrent
46   executions of autom4te, likely to happen if automake, autoconf,
47   autoheader etc. are run simultaneously.
49 ** Libtool
50   Use of Libtool 1.5 and higher is encouraged.  Compatibility with
51   Libtool pre-1.4 is not checked.
53 ** Autotest
54   Testsuites no longer rerun failed tests in verbose mode; instead,
55   failures are logged while the test is run.
57   In addition, expected failures can be marked as such.
59 * Major changes in Autoconf 2.57
61   Released 2002-12-03 by Paul Eggert.
63 Bug fixes for problems with AIX linker, with freestanding C compilers,
64 with GNU m4 limitations, and with obsolete copies of GNU documents.
66 The Free Documentation License has been upgraded from 1.1 to 1.2.
68 * Major changes in Autoconf 2.56
70   Released 2002-11-15 by Akim Demaille.
72 One packaging problem fixed (config/install-sh was not executable).
74 * Major changes in Autoconf 2.55
76   Released 2002-11-14 by Akim Demaille.
78 Release tips:
80            Have your configure.ac checked by autoscan ("autoscan").
81              Try the warning options ("autoreconf -fv -Wall").
83 ** Documentation
85 - AC_CHECK_HEADER, AC_CHECK_HEADERS
86   More information on proper use.
88 - Writing Test Programs
90   This sections explains how to write good test sources to use with
91   AC_COMPILE_IFELSE etc.  It documents AC_LANG_PROGRAMS and so forth.
93 - AC_FOO_IFELSE vs. AC_TRY_FOO
95   Explains why Autoconf moves from AC_TRY_COMPILE etc. to
96   AC_COMPILE_IFELSE and AC_LANG_PROGRAM etc.
98 ** autoreconf
100 - Is more robust to different Gettext installations.
102 - Produces messages (when --verbose) to be understood by Emacs'
103   compile mode.
105 - Supports -W/--warnings.
107 - -m/--make
108   Once the GNU Build System reinstalled, run `./config.status
109   --recheck && ./config.status && make' if possible.
111 ** autom4te
113 - Supports --cache, and --no-cache.
115 - ~/.autom4te.cfg makes it possible to disable the caching mechanism
116   (autom4te.cache).  See `Customizing autom4te' in the documentation.
118 ** config.status
119   Supports --quiet.
121 ** Obsolete options
123   Support for the obsoleted options -m, --macrodir, -l, --localdir is
124   dropped in favor of the safer --include/--prepend-include scheme.
126 ** Macros
128 - New macros
129   AC_COMPILER_IFELSE, AC_FUNC_MBRTOWC, AC_HEADER_STDBOOL,
130   AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM, AC_LANG_CALL,
131   AC_LANG_FUNC_TRY_LINK, AC_MSG_FAILURE, AC_PREPROC_IFELSE.
133 - Obsoleted
134   Obsoleted macros are kept for Autoconf backward compatibility, but
135   should be avoided in configure.ac.  Running autoupdate is advised.
136   AC_DECL_SYS_SIGLIST.
138 - AC_DEFINE/AC_DEFINE_UNQUOTED
140   We have to stop using the old compatibility scheme --that tried to
141   avoid useless backslashes-- because Libtool 1.4.3 contains a
143   AC_DEFINE([error_t], [int],
144             [Define to a type to use for \`error_t' if it is not
145              otherwise available.])
147   We have to quote the single quotes and backslashes with \.  The old
148   compatibility scheme saw that ` was backslashed, and therefore did
149   not quote the single quote...  Failure.  Hence, Autoconf 2.54 is not
150   compatible with Libtool.  Autoconf 2.55 is, but in some cases might
151   produce more \ than wanted.
153   Please, note that in the future the same problem will happen with
154   AC_MSG_*: use `autoreconf -f -Wall'.
156 ** Bug Fixes
158 - Portability of the Autoconf package to Solaris.
160 - Spurious warnings caused by config.status.
161   This bug is benign, but painful: on some systems (typically
162   FreeBSD), warnings such as:
164      config.status: creating Makefile
165      mv: Makefile: set owner/group (was: 1357/0): Operation not permitted
167   could be issued.  This is fixed.
169 - Parallel Builds
170   Simultaneous executions of config.status are possible again.
172 - Precious variables accumulation
174   config.status could stack several copies of the precious variables
175   assignments.
178 ** Plans for later versions
180 - ./configure <host>
182   The compatibility hooks with the old scheme will be completely
183   removed.  Please, advice/use `--build', `--host', and `--target'
184   only.
186 - AC_CHECK_HEADER, AC_CHECK_HEADERS
188   The tests will be stricter, please make sure your invocations are
189   valid.
191 - shell functions
193   Shell functions will gradually be introduced, probably starting with
194   Autotest.  If you know machines which are in use that you suspect
195   *not* to support shell functions, please run the test suite of
196   Autoconf 2.55 on it, and report the results to
197   bug-autoconf@gnu.org.
199 - AC_MSG_*
201   Special characters in AC_MSG_* need not be quoted.  Currently,
202   Autoconf has heuristics to decide when a string is escaped, or has
203   to be escaped.  This scheme is fragile, and will be removed; the
204   only risk is uglified messages.  Please, run `autoreconf -f -Wall'
205   to find occurrences that will be affected.
207 * Major changes in Autoconf 2.54
209   Released 2002-09-13 by Akim Demaille.
211 ** Executables
213 - autoreconf no longer changes the version of the gettext/po/intl
214   support files. It now adds the files the correspond to the
215   AM_GNU_GETTEXT_VERSION declared in configure.ac.
217   Warning: It now relies on the 'autopoint' program, which is part
218   of GNU gettext 0.11.4 and newer.
220   Please note that you need to have a GNU gettext version that
221   corresponds at least to the AM_GNU_GETTEXT_VERSION declared
222   in configure.ac. You can upgrade to newer GNU gettext versions,
223   though, without needing to change configure.ac.
225 - The -I DIR or --include=DIR option now appends DIR to the include path
226   instead of prepending; this is for consistency with other GNU tools.
227   The new -B DIR or --prepend-include=DIR option has the old behavior.
229 ** Macros
231 - AC_OUTPUT
232   Now handles all the gory details about LIBOBJS and LTLIBOBJS.
233   Please, remove lines such as
235         # This is necessary so that .o files in LIBOBJS are also
236         # built via the ANSI2KNR-filtering rules.
237         LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
239   and read the `AC_LIBOBJ vs LIBOBJS' section.  Do not define U in
240   your Makefiles either.
242 - AC_CONFIG_LINKS now makes copies if it can't make links.
244 - AC_FUNC_FNMATCH now tests only for POSIX compatibility, reverting to
245   Autoconf 2.13 behavior.  The new macro AC_FUNC_FNMATCH_GNU also
246   tests for GNU extensions to fnmatch, and replaces fnmatch if needed.
248 - AC_FUNC_SETVBUF_REVERSED no longer fails when cross-compiling.
250 - AC_PROG_CC_STDC is integrated into AC_PROG_CC.
252 - AC_PROG_F77 default search no longer includes cf77 and cfg77.
254 - New macros
256   AC_C_BACKSLASH_A, AC_CONFIG_LIBOBJ_DIR, AC_GNU_SOURCE,
257   AC_PROG_EGREP, AC_PROG_FGREP, AC_REPLACE_FNMATCH,
258   AC_FUNC_FNMATCH_GNU, AC_FUNC_REALLOC, AC_TYPE_MBSTATE_T.
260 - AC_FUNC_GETLOADAVG
261   looks for getloadavg.c in the CONFIG_LIBOBJ_DIR.
263 - AC_FUNC_MALLOC
264   Now defines HAVE_MALLOC to 0 if `malloc' does not work, and asks
265   for an AC_LIBOBJ replacement.
267 ** Bug fixes
269 - Spurious complaints from `m4_bmatch' about invalid regular
270   expressions are suppressed.
272 - Empty top_builddirs are properly handled.
274 - AC_CHECK_MEMBER works correctly when the member is an aggregate.
276 - AC_PATH_PROG
277   Now colon in the optional path arguments are properly handled.
279 ** Improved portability
281 - Both Autoconf the package, and the scripts it produces, should run
282   more reliably with Zsh.  Bear in mind it is the default Bourne shell
283   on Darwin.
285 - Autoconf and the scripts it produces no longer assume the existence of
286   the obsolescent commands egrep and fgrep.
288 ** Documentation
290 - Limitations of Make
291   More of them.
293 - GNATS
294   The GNATS base has moved to
295   http://bugs.gnu.org/cgi-bin/gnatsweb.pl?database=autoconf
297 ** Misc.
299 - config.log
300   Now contains the list of ouput variables and files (AC_SUBST,
301   AC_SUBST_FILES).
303 * Major changes in Autoconf 2.53
305   Released 2002-03-08 by Akim Demaille.
307 ** Requirements
309   Perl 5.005_03 or later is required: autom4te is written in Perl and is
310   needed by autoconf.  autoheader, autoreconf, ifnames, and autoscan are
311   rewritten in Perl.
313 ** Documentation
315 - AC_INIT
316   Argument requirements, output variables, defined macros.
317 - M4sugar, M4sh, Autotest
318   First sketch.
319 - Double quoting macros
320   AC_TRY_CPP, AC_TRY_COMPILE, AC_TRY_LINK and AC_TRY_RUN.
321 - Licensing
322   The Autoconf manual is now distributed under the terms of the GNU FDL.
323 - Section `Hosts and Cross-Compilation'
324   Explains the rationale for the 2.5x changes in the cross-compilation
325   chain, and in the relationships between build, host, and target
326   types.
327   Emphasizes that `cross-compilation' == `--host is given'.
328   If you are working on compilers etc., be sure to read this section.
329 - Section `AC_LIBOBJ vs. LIBOBJS'
330   Explains why assigning LIBOBJS directly is now an error.
331   Details how to update the code.
333 ** configure
335 - $LINENO
336   Now used instead of hard coded line numbers.
337   This eases the comparison of `configure's, and diminishes the
338   pressure over control version archives.
339   Automatic replacement for shells that don't support this feature.
340 - New output variables
341   @builddir@, @top_builddir@, @abs_srcdir@, @abs_top_srcdir@, @abs_builddir@,
342   @abs_top_builddir@.
344 ** Emacs
346   Autoconf and Autotest modes are provided.
348 ** Executables
350 - autom4te
351   New, used by the Autoconf suite to cache and speed up most processing.
352 - --force, -f
353   Supported by autom4te, autoconf and autoheader.
354 - --include, -I
355   Replaces --autoconf-dir and --localdir in autoconf, autoheader,
356   autoupdate, and autoreconf.
357 - autoreconf
358   No longer passes --cygnus, --foreign, --gnits, --gnu, --include-deps:
359   automake options are to be given via AUTOMAKE_OPTIONS.
360 - autoreconf
361   Runs gettextize and libtoolize when appropriate.
362 - autoreconf
363   --m4dir is no longer supported.
364 - autoreconf
365   Now runs only in the specified directories, defaulting to `.',
366   but understands AC_CONFIG_SUBDIRS for dependent directories.
367   Before, it used to run on all the `configure.ac' found in the
368   current tree.
369   Independent packages are properly updated.
371 ** Bug fixes
373 - The top level $prefix is propagated to the AC_CONFIG_SUBDIRS configures.
374 - AC_TRY_RUN
375   Under the user pressure, $? is finally available.  Probably a mistake.
376 - AC_F77_LIBRARY_LDFLAGS now supports the HP/UX f90 compiler.
377 - Precious variables accumulation
378   config.status could stack several copies of the precious variables
379   assignments.
380 - AC_PATH_PROG and family.
381   Works properly when given a literal path.
382 - AC_FUNC_SETPGRP
383   Somewhere since 2.13, the result had been reversed.
385 ** C Macros
387 - AC_C_BIGENDIAN supports the cross-compiling case.
388 - AC_C_BIGENDIAN accepts ACTION-IF-TRUE, ACTION-IF-FALSE, and
389   ACTION-IF-UNKNOWN arguments.  All are facultative, and the default
390   for ACTION-IF-TRUE is to define WORDS_BIGENDIAN like AC_C_BIGENDIAN
391   always did.
392 - AC_C_LONG_DOUBLE now succeeds only if `long double' has more range or
393   precision than `double'.
395 ** Generic macros
397 - AC_INIT
398   It now defines the preprocessor symbols PACKAGE_NAME,
399   PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING, and
400   PACKAGE_BUGREPORT.
402 - AC_INIT
403   Admits a fourth optional parameter: the tar name.
405 - AC_CONFIG_COMMANDS, HEADERS, FILES, LINKS.
406   Provide the user with srcdir, ac_srcdir, ac_top_srcdir, ac_builddir,
407   ac_top_builddir, ac_abs_srcdir, ac_abs_top_srcdir, ac_abs_builddir,
408   ac_abs_top_builddir.
410 - AC_CONFIG_COMMANDS, HEADERS, FILES, LINKS and AC_OUTPUT.
411   Are much less expensive when using long lists of files.
413 - AC_PREFIX_PROGRAM
414   Works with shell variables, and non alphanumeric names.
416 ** Library macros
418 - AC_FUNC_STRERROR_R now sets STRERROR_R_CHAR_P, not HAVE_WORKING_STRERROR_R,
419   because POSIX 1003.1-200x draft 7 says strerror_r returns int, not char *.
421 - AC_FUNC_STRTOD substitutes POW_LIB.
423 - AC_FUNC_STRNLEN
424   New.
426 * Major changes in Autoconf 2.52
428   Released 2001-07-18 by Akim Demaille.
430 ** Documentation
431 - AC_ARG_VAR
432 - Quadrigraphs
433   This feature was present in autoconf 2.50 but was not documented.
434   For example, `@<:@' is translated to `[' just before output.  This
435   is useful when writing strings that contain unbalanced quotes, or
436   other hard-to-quote constructs.
437 - m4_pattern_forbid, m4_pattern_allow
438 - Tips for upgrading from 2.13.
439 - Using autoscan to maintain a configure.ac.
441 ** Default includes
442 - Now include stdint.h.
443 - sys/types.h and sys/stat.h are guarded.
444 - strings.h is included if available, and not conflicting with string.h.
446 ** Bug fixes
447 - The test suite is more robust and presents less false failures.
448 - Invocation of GNU M4 now robust to POSIXLY_CORRECT.
449 - configure accepts --prefix='' again.
450 - AC_CHECK_LIB works properly when its first argument is not a
451   literal.
452 - HAVE_INTTYPES_H is defined only if not conflicting with sys/types.h.
453 - build_, host_, and target_alias are AC_SUBST as in 2.13.
454 - AC_ARG_VAR properly propagates precious variables inherited from the
455   environment to ./config.status.
456 - Using --program-suffix/--program-prefix is portable.
457 - Failures to detect the default compiler's output extension are less
458   likely.
459 - `config.status foo' works properly when `foo' depends on variables
460   set in an AC_CONFIG_THING INIT-CMD.
461 - autoheader is more robust to broken input.
462 - Fixed Fortran name-mangling and link tests on a number of systems,
463   e.g. NetBSD; see AC_F77_DUMMY_MAIN, below.
465 ** Generic macros
466 - AC_CHECK_HEADER and AC_CHECK_HEADERS support a fourth argument to
467   specify pre-includes.  In this case, the headers are compiled with
468   cc, not merely preprocessed by cpp.  Therefore it is the _usability_
469   of a header which is checked for, not just its availability.
470 - AC_ARG_VAR refuses to run configure when precious variables have
471   changed.
472 - Versions of compilers are dumped in the logs.
473 - AC_CHECK_TYPE recognizes use of `foo_t' as a replacement type.
475 ** Specific Macros
476 - AC_PATH_XTRA only adds -ldnet to $LIBS if it's needed to link.
477 - AC_FUNC_WAIT3 and AC_SYS_RESTARTABLE_SYSCALLS are obsoleted.
478 - AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH, AM_FUNC_MKTIME,
479   AM_FUNC_OBSTACK, and AM_FUNC_STRTOD are now activated.
480   Be sure to read `Upgrading from Version 2.13' to understand why
481   running `autoupdate' is needed.
482 - AC_F77_DUMMY_MAIN, AC_F77_MAIN: new macros to detect whether
483   a main-like routine is required/possible when linking C/C++ with
484   Fortran.  Users of e.g. AC_F77_WRAPPERS should be aware of these.
485 - AC_FUNC_GETPGRG behaves better when cross-compiling.
487 * Major changes in Autoconf 2.51
488 There was no release of Autoconf 2.51 since some packagers had used
489 this version number without permission to ship intermediary versions
490 of 2.50.  The version was skipped to avoid confusion.
493 * Major changes in Autoconf 2.50
495   Released 2001-05-21 by Akim Demaille.
497 ** Lots of bug fixes
498 There have been far too many to enumerate them here.  Check out
499 ChangeLog if you really want to know more.
501 ** Improved documentation
502 In particular, portability issues are better covered.
504 ** Use of Automake
505 All the standard GNU Makefile targets are supported.  The layout has
506 changed: m4/ holds the m4 extensions Autoconf needs for its
507 configuration, doc/ contains the documentation, and tests/ contains
508 the test suite.
510 ** Man pages are provided
511 For autoconf, autoreconf, autoupdate, autoheader, autoscan, ifnames,
512 config.guess, config.sub.
514 ** autoconf
515 - --trace
516   Provides a safe and powerful means to trace the macro uses.  This
517   provide the parsing layer for tools which need to `study'
518   configure.in.
520 - --warnings
521   Specify what category of warnings should be enabled.
523 - When recursing into subdirectories, try for configure.gnu before
524   configure to adapt for packages not using autoconf on case-insensitive
525   filesystems.
527 - Diagnostics
528   More errors are now caught (circular AC_REQUIRE dependencies,
529   AC_DEFINE in the action part of an AC_CACHE_CHECK, too many pops
530   etc.).  In addition, their location and call stack are given.
532 ** autoupdate
533 autoupdate is much more powerful, and is able to provide the glue code
534 which might be needed to move from an old macro to its newer
535 equivalent.
537 You are strongly encouraged to use it to modernize both your
538 `configure.in' and your .m4 extension files.
540 ** autoheader
541 The internal machinery of autoheader has completely changed.  As a
542 result, using `acconfig.h' should be considered to be obsoleted, and
543 you are encouraged to get rid of it using the AH macros.
545 ** autoreconf
546 Extensive overhaul.
548 ** Fortran 77 compilers
549 Globally, the support for Fortran 77 is considerably improved.
551 Support for automatically determining a Fortran 77 compiler's
552 name-mangling scheme.  New CPP macros F77_FUNC and F77_FUNC_ are
553 provided to wrap C/C++ identifiers, thus making it easier and more
554 transparent for C/C++ to call Fortran 77 routines, and Fortran 77 to
555 call C/C++ routines.  See the Texinfo documentation for details.
557 ** Test suite
558 The test suite no longer uses DejaGNU.  It should be easy to submit
559 test cases in this new framework.
561 ** configure
562 - --help, --help=long, -hl
563   no longer dumps useless items.
564 - --help=short, -hs
565   lists only specific options.
566 - --help=recursive, -hr
567   displays the help of all the embedded packages.
568 - Remembers environment variables when reconfiguring.
569   The previous scheme to set envvar before running configure was
570     ENV=VAL ./configure
571   what prevented configure from remembering the environment in which
572   it was run, therefore --recheck was run in an inconsistent
573   environment.  Now, one should run
574     ./configure ENV=VAR
575   and then --recheck will work properly.  Variables declared with
576   AC_ARG_VAR are also preserved.
577 - cross-compilation
578   $build defaults to `config.guess`, $host to $build, and then $target
579   to $host.
580   Cross-compilation is a global status of the package, it no longer
581   depends upon the current language.
582   Cross compilation is enabled iff the user specified `--host'.
583   `configure' now fails if it can't run the executables it compiles,
584   unless cross-compilation is enabled.
585 - Cache file
586   The cache file is disabled by default.  The new options
587   `--config-cache', `-C' set the cache to `config.cache'.
589 ** config.status
590 - faster
591   Much faster on most architectures.
592 - concurrent executions
593   It is safe to use `make -j' with config.status.
594 - human interface improved
595   It is possible to invoke
596     ./config.status foobar
597   instead of the former form (still valid)
598     CONFIG_COMMANDS= CONFIG_HEADERS= CONFIG_LINKS= \
599     CONFIG_FILES=foobar:foo.in:bar.in \
600     ./config.status
601   The same holds for configuration headers and links.
602   You can instantiate unknown files and headers:
603     ./config.status --header foo.h:foo.h.in --file bar:baz
604 - has a useful --help
605 - accepts special file name "-" for stdin/stdout
608 ** Identity Macros
609 - AC_COPYRIGHT
610   Specify additional copyright information.
612 - AC_INIT
613   Now expects the identity of the package as argument.
615 ** General changes.
616 - Uniform quotation
617   Most macros, if not all, now strictly follow the `one quotation
618   level' rule.  This results in a more predictable expansion.
620 - AC_REQUIRE
621   A sly bug in the AC_REQUIRE machinery, which could produce incorrect
622   configure scripts, was fixed by Axel Thimm.
624 ** Setup Macros
625 - AC_ARG_VAR
626   Document and ask for the registration of an envvar.
628 - AC_CONFIG_SRCDIR
629   Specifies the file which `configure' should look for when trying to
630   find the source tree (used to be handled by AC_INIT).
632 - AC_CONFIG_COMMANDS
633   To add new actions to config.status.  Should be used instead of
634   AC_OUTPUT_COMMANDS.
636 - AC_CONFIG_LINKS
637   Replaces AC_LINK_FILES.
639 - AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS, AC_CONFIG_SUBDIRS,
640   AC_CONFIG_LINKS, and AC_CONFIG_FILES
641   They now obey sh: you should no longer use shell variables as
642   argument.  Instead of
644         test "$package_foo_enabled" = yes && $my_subdirs="$my_subdirs foo"
645         AC_CONFIG_SUBDIRS($my_subdirs)
647   write
649         if test "$package_foo_enabled" = yes; then
650           AC_CONFIG_SUBDIRS(foo)
651         fi
653 - AC_HELP_STRING
654   To format an Autoconf macro's help string so that it looks pretty
655   when the user executes `configure --help'.
658 ** Generic Test Macros
659 - AC_CHECK families
660   The interface of the AC_CHECK families of macros (decl, header,
661   type, member, func) is now uniform.  They support the same set of
662   default includes.
664 - AC_CHECK_DECL, AC_CHECK_DECLS
665   To check whether a symbol is declared.
667 - AC_CHECK_SIZEOF, AC_C_CHAR_UNSIGNED.
668   No longer need a cross-compilation default.
670 - AC_CHECK_TYPE
671   The test it performs is much more robust than previously, and makes
672   it possible to test builtin types in addition to typedefs.
673   It is now schizophrenic:
674     - AC_CHECK_TYPE(TYPE, REPLACEMENT)
675       remains for backward compatibility, but its use is discouraged.
676     - AC_CHECK_TYPE(TYPE, IF-FOUND, IF-NOT-FOUND, INCLUDES)
677       behaves exactly like the other AC_CHECK macros.
679 - AC_CHECK_TYPES
680   Checks whether given types are supported by the system.
682 - AC_CHECK_MEMBER, AC_CHECK_MEMBERS
683   Check for given members in aggregates (e.g., pw_gecos in struct
684   passwd).
686 - AC_PROG_CC_STDC
687   Checks if the compiler supports ISO C, included when needs special
688   options.
690 - AC_PROG_CPP
691   Checking whether the preprocessor indicates missing includes by the
692   error code. stderr is checked by AC_TRY_CPP only as a fallback.
694 - AC_LANG
695   Takes a language as argument and replaces AC_LANG_C,
696   AC_LANG_CPLUSPLUS and AC_LANG_FORTRAN77.
698 - AC_LANG_PUSH, AC_LANG_POP
699   Are preferred to AC_LANG_SAVE, AC_LANG_RESTORE.
701 ** Specific Macros
702 - AC_FUNC_CHOWN, AC_FUNC_MALLOC, AC_FUNC_STRERROR_R,
703   AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, AC_FUNC_STAT, AC_FUNC_LSTAT,
704   AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD, AC_FUNC_FSEEKO.
705   New.
707 - AC_FUNC_GETGROUPS
708   Sets GETGROUPS_LIBS.
710 - AC_FUNC_GETLOADAVG
711   Defines `HAVE_STRUCT_NLIST_N_UN_N_NAME' instead of `NLIST_NAME_UNION'.
713 - AC_PROG_LEX
714   Now integrates `AC_DECL_YYTEXT' which is obsoleted.
716 - AC_SYS_LARGEFILE
717   Arrange for large-file support.
719 - AC_EXEEXT, AC_OBJEXT
720   You are no longer expected to use them: their computation is
721   performed by default.
723 ** C++ compatibility
724   Every macro has been revisited in order to support at best CC=c++.
726 Major changes in Autoconf 2.14:
727   There was no release of GNU Autoconf 2.14.
729 Major changes in Autoconf 2.13:
731   Released 1999-05-01 by Ben Elliston.
733 * Support for building on Win32 systems where the only available C or
734   C++ compiler is the Microsoft Visual C++ command line compiler
735   (`cl').  Additional support for building on Win32 systems which are
736   using the Cygwin or Mingw32 environments.
737 * Support for alternative object file and executable file extensions.
738   On Win32, for example, these are .obj and .exe. These are discovered
739   using AC_OBJEXT and AC_EXEEXT, which substitute @OBJEXT@ and
740   @EXEEXT@ in the output, respectively.
741 * New macros: AC_CACHE_LOAD, AC_CACHE_SAVE, AC_FUNC_SELECT_ARGTYPES,
742   AC_VALIDATE_CACHED_SYSTEM_TUPLE, AC_SEARCH_LIBS, AC_TRY_LINK_FUNC,
743   AC_C_STRINGIZE, AC_CHECK_FILE(S), AC_PROG_F77 (and friends).
744 * AC_DEFINE now has an optional third argument for a description to be
745   placed in the config header input file (e.g. config.h.in).
746 * The C++ code fragment compiled for the C++ compiler test had to be
747   improved to include an explicit return type for main(). This was
748   causing failures on systems using recent versions of the EGCS C++
749   compiler.
750 * Fixed an important bug in AC_CHECK_TYPE that would cause a configure
751   script to report that `sometype_t' was present when only `type_t'
752   was defined.
753 * Merge of the FSF version of config.guess and config.sub to modernize
754   these scripts. Add support for a few new hosts in config.guess.
755   Incorporate latest versions of install-sh, mkinstalldirs and
756   texinfo.tex from the FSF.
757 * autoreconf is capable of running automake if necessary (and
758   applicable).
759 * Support for Fortran 77. See the Texinfo documentation for details.
760 * Bug fixes and workarounds for quirky bugs in vendor utilities.
762 Major changes in Autoconf 2.12:
764   Released 1996-11-26 by David J. MacKenzie
766 * AC_OUTPUT and AC_CONFIG_HEADER can create output files by
767   concatenating multiple input files separated by colons, like so:
768   AC_CONFIG_HEADER(config.h:conf.pre:config.h.in:conf.post)
769   AC_OUTPUT(Makefile:Makefile.in:Makefile.rules)
770   The arguments may be shell variables, to compute the lists on the fly.
771 * AC_LINK_FILES and AC_CONFIG_SUBDIRS may be called multiple times.
772 * New macro AC_OUTPUT_COMMANDS adds more commands to run in config.status.
773 * Bug fixes.
775 Major changes in Autoconf 2.11:
777   Released November 18th, 1996, by David J. MacKenzie
779 * AC_PROG_CC and AC_PROG_CXX check whether the compiler works.
780   They also default CFLAGS/CXXFLAGS to "-g -O2" for gcc, instead of "-g -O".
781 * AC_REPLACE_FUNCS defines HAVE_foo if the system has the function `foo'.
782 * AC_CONFIG_HEADER expands shell variables in its argument.
783 * New macros: AC_FUNC_FNMATCH, AC_FUNC_SETPGRP.
784 * The "checking..." messages and the source code for test programs that
785   fail are saved in config.log.
786 * Another workaround has been added for seds with small command length limits.
787 * config.sub and config.guess recognize more system types.
788 * Bug fixes.
790 Major changes in Autoconf 2.10:
792   Released May 7th, 1996, by Roland McGrath
794 * Bug fixes.
795 * The cache variable names used by `AC_CHECK_LIB(LIB, FUNC, ...)' has
796   changed: now $ac_cv_lib_LIB_FUNC, previously $ac_cv_lib_LIB.
798 Major changes in Autoconf 2.9:
800   Released March 16th, 1996, by Roland McGrath
802 * Bug fixes.
804 Major changes in Autoconf 2.8:
806   Released March 8th, 1996, by Roland McGrath
808 * Bug fixes.
810 Major changes in Autoconf 2.7:
812   Released November 22nd, 1995, by David J. MacKenzie
814 * Bug fixes.
816 Major changes in Autoconf 2.6:
818   Released November 20th, 1995, by David J. MacKenzie
820 * Bug fixes.
822 Major changes in Autoconf 2.5:
824   Released November 17th, 1995, by Roland McGrath
826 * New configure options --bindir, --libdir, --datadir, etc., with
827   corresponding output variables.
828 * New macro: AC_CACHE_CHECK, to make using the cache easier.
829 * config.log contains the command being run as well as any output from it.
830 * AC_CHECK_LIB can check for libraries with "." or "/" or "+" in their name.
831 * AC_PROG_INSTALL doesn't cache a path to install-sh, for sharing caches.
832 * AC_CHECK_PROG, AC_PATH_PROG, AC_CHECK_PROGS, AC_PATH_PROGS, and
833   AC_CHECK_TOOL can search a path other than $PATH.
834 * AC_CHECK_SIZEOF takes an optional size to use when cross-compiling.
836 Major changes in Autoconf 2.4:
838   Released June 14th, 1995, by David J. MacKenzie
840 * Fix a few bugs found by Emacs testers.
842 Major changes in Autoconf 2.3:
844   Released March 27th, 1995, by David J. MacKenzie
846 * Fix the cleanup trap in several ways.
847 * Handle C compilers that are picky about option placement.
848 * ifnames gets the version number from the right directory.
850 Major changes in Autoconf 2.2:
852   Released March 8th, 1995, by David J. MacKenzie
854 * The ifnames utility is much faster but requires a "new awk" interpreter.
855 * AC_CHECK_LIB and AC_HAVE_LIBRARY check and add the new
856   library before existing libs, not after, in case it uses them.
857 * New macros: AC_FUNC_GETPGRP, AC_CHECK_TOOL.
858 * Lots of bug fixes.
859 * Many additions to the TODO file :-)
861 Major changes in Autoconf 2.1:
863   Released November 4th, 1994, by David J. MacKenzie
865 * Fix C++ problems.
866 * More explanations in the manual.
867 * Fix a spurious failure in the testsuite.
868 * Clarify some warning messages.
869 * autoreconf by default only rebuilds configure and config.h.in files
870   that are older than any of their particular input files; there is a
871   --force option to use after installing a new version of Autoconf.
873 Thanks to everybody who's submitted changes and additions to Autoconf!
874 I've incorporated many of them, and am still considering others for
875 future releases -- but I didn't want to postpone this release indefinitely.
877 Caution: don't indiscriminately rebuild configure scripts with
878 Autoconf version 2.  Some configure.in files need minor adjustments to
879 work with it; the documentation has a chapter on upgrading.  A few
880 configure.in files, including those for GNU Emacs and the GNU C
881 Library, need major changes because they relied on undocumented
882 internals of version 1.  Future releases of those packages will have
883 updated configure.in files.
885 It's best to use GNU m4 1.3 (or later) with Autoconf version 2.
886 Autoconf now makes heavy use of m4 diversions, which were implemented
887 inefficiently in GNU m4 releases before 1.3.
889 Major changes in Autoconf 2.0:
891   Released October 26th, 1994, by David J. MacKenzie
893 ** New copyright terms:
894 * There are no restrictions on distribution or use of configure scripts.
896 ** Documentation:
897 * Autoconf manual is reorganized to make information easier to find
898   and has several new indexes.
899 * INSTALL is reorganized and clearer and is now made from Texinfo source.
901 ** New utilities:
902 * autoscan to generate a preliminary configure.in for a package by
903   scanning its source code for commonly used nonportable functions,
904   programs, and header files.
905 * ifnames to list the symbols used in #if and #ifdef directives in a
906   source tree.
907 * autoupdate to update a configure.in to use the version 2 macro names.
908 * autoreconf to recursively remake configure and configuration header
909   files in a source tree.
911 ** Changed utilities:
912 * autoheader can take pieces of acconfig.h to replace config.h.{top,bot}.
913 * autoconf and autoheader can look for package-local definition files
914   in an alternate directory.
916 ** New macros:
917 * AC_CACHE_VAL to share results of tests between configure runs.
918 * AC_DEFUN to define macros, automatically AC_PROVIDE them, and ensure
919   that macros invoked with AC_REQUIRE don't interrupt other macros.
920 * AC_CONFIG_AUX_DIR, AC_CANONICAL_SYSTEM, AC_CANONICAL_HOST, AC_LINK_FILES to
921   support deciding unguessable features based on the host and target types.
922 * AC_CONFIG_SUBDIRS to recursively configure a source tree.
923 * AC_ARG_PROGRAM to use the options --program-prefix,
924   --program-suffix, and --program-transform-name to change the names
925   of programs being installed.
926 * AC_PREFIX_DEFAULT to change the default installation prefix.
927 * AC_TRY_COMPILE to compile a test program without linking it.
928 * AC_CHECK_TYPE to check whether sys/types.h or stdlib.h defines a given type.
929 * AC_CHECK_LIB to check for a particular function and library.
930 * AC_MSG_CHECKING and AC_MSG_RESULT to print test results, on a single line,
931   whether or not the test succeeds.  They obsolete AC_CHECKING and AC_VERBOSE.
932 * AC_SUBST_FILE to insert one file into another.
933 * AC_FUNC_MEMCMP to check whether memcmp is 8-bit clean.
934 * AC_FUNC_STRFTIME to find strftime even if it's in -lintl.
935 * AC_FUNC_GETMNTENT to find getmntent even if it's in -lsun or -lseq.
936 * AC_HEADER_SYS_WAIT to check whether sys/wait.h is POSIX.1 compatible.
938 ** Changed macros:
939 * Many macros renamed systematically, but old names are accepted for
940   backward compatibility.
941 * AC_OUTPUT adds the "automatically generated" comment to
942   non-Makefiles where it finds @configure_input@ in an input file, to
943   support files with various comment syntaxes.
944 * AC_OUTPUT does not replace "prefix" and "exec_prefix" in generated
945   files when they are not enclosed in @ signs.
946 * AC_OUTPUT allows the optional environment variable CONFIG_STATUS to
947   override the file name "config.status".
948 * AC_OUTPUT takes an optional argument for passing variables from
949   configure to config.status.
950 * AC_OUTPUT and AC_CONFIG_HEADER allow you to override the input-file names.
951 * AC_OUTPUT automatically substitutes the values of CFLAGS, CXXFLAGS,
952   CPPFLAGS, and LDFLAGS from the environment.
953 * AC_PROG_CC and AC_PROG_CXX now set CFLAGS and CXXFLAGS, respectively.
954 * AC_PROG_INSTALL looks for install-sh or install.sh in the directory
955   specified by AC_CONFIG_AUXDIR, or srcdir or srcdir/.. or
956   srcdir/../.. by default.
957 * AC_DEFINE, AC_DEFINE_UNQUOTED, and AC_SUBST are more robust and smaller.
958 * AC_DEFINE no longer prints anything, because of the new result reporting
959   mechanism (AC_MSG_CHECKING and AC_MSG_RESULT).
960 * AC_VERBOSE pays attention to --quiet/--silent, not --verbose.
961 * AC_ARG_ENABLE and AC_ARG_WITH support whitespace in the arguments to
962   --enable- and --with- options.
963 * AC_CHECK_FUNCS and AC_CHECK_HEADERS take optional shell commands to
964   execute on success or failure.
965 * Checking for C functions in C++ works.
967 ** Removed macros:
968 * AC_REMOTE_TAPE and AC_RSH removed; too specific to tar and cpio, and
969   better maintained with them.
970 * AC_ARG_ARRAY removed because no one was likely using it.
971 * AC_HAVE_POUNDBANG replaced with AC_SYS_INTERPRETER, which doesn't
972   take arguments, for consistency with all of the other specific checks.
974 ** New files:
975 * Comes with config.sub and config.guess, and uses them optionally.
976 * Uses config.cache to cache test results.  An alternate cache file
977   can be selected with the --cache-file=FILE option.
978 * Uses optional shell scripts $prefix/share/config.site and
979   $prefix/etc/config.site to perform site or system specific initializations.
980 * configure saves compiler output to ./config.log for debugging.
981 * New files autoconf.m4 and autoheader.m4 load the other Autoconf macros.
982 * acsite.m4 is the new name for the system-wide aclocal.m4.
983 * Has a DejaGnu test suite.
985 Major changes in Autoconf 1.11:
987 * AC_PROG_INSTALL calls install.sh with the -c option.
988 * AC_SET_MAKE cleans up after itself.
989 * AC_OUTPUT sets prefix and exec_prefix if they weren't set already.
990 * AC_OUTPUT prevents shells from looking in PATH for config.status.
992 Plus a few other bug fixes.
994 Major changes in Autoconf 1.10:
996 * autoheader uses config.h.bot if present, analogous to config.h.top.
997 * AC_PROG_INSTALL looks for install.sh in srcdir or srcdir/.. and
998   never uses cp.
999 * AC_PROG_CXX looks for cxx as a C++ compiler.
1001 Plus several bugs fixed.
1003 Major changes in Autoconf 1.9:
1005 * AC_YYTEXT_POINTER replaces AC_DECLARE_YYTEXT.
1006 * AC_SIZEOF_TYPE generates the cpp symbol name automatically,
1007   and autoheader generates entries for those names automatically.
1008 * AC_FIND_X gets the result from xmkmf correctly.
1009 * AC_FIND_X assumes no X if --without-x was given.
1010 * AC_FIND_XTRA adds libraries to the variable X_EXTRA_LIBS.
1011 * AC_PROG_INSTALL finds OSF/1 installbsd.
1013 Major changes in Autoconf 1.8:
1015 ** New macros:
1016 * New macros AC_LANG_C, AC_LANG_CPLUSPLUS, AC_LANG_SAVE, AC_LANG_RESTORE,
1017   AC_PROG_CXX, AC_PROG_CXXCPP, AC_REQUIRE_CPP
1018   for checking both C++ and C features in one configure script.
1019 * New macros AC_CHECKING, AC_VERBOSE, AC_WARN, AC_ERROR for printing messages.
1020 * New macros AC_FIND_XTRA, AC_MMAP, AC_SIZEOF_TYPE, AC_PREREQ,
1021   AC_SET_MAKE, AC_ENABLE.
1023 ** Changed macros:
1024 * AC_FIND_X looks for X in more places.
1025 * AC_PROG_INSTALL defaults to install.sh instead of cp, if it's in srcdir.
1026   install.sh is distributed with Autoconf.
1027 * AC_DECLARE_YYTEXT has been removed because it can't work, pending
1028   a rewrite of quoting in AC_DEFINE.
1029 * AC_OUTPUT adds its comments in C format when substituting in C files.
1030 * AC_COMPILE_CHECK protects its ECHO-TEXT argument with double quotes.
1032 ** New or changed command line options:
1033 * configure accepts --enable-FEATURE[=ARG] and --disable-FEATURE options.
1034 * configure accepts --without-PACKAGE, which sets withval=no.
1035 * configure accepts --x-includes=DIR and --x-libraries=DIR.
1036 * Giving --with-PACKAGE no argument sets withval=yes instead of withval=1.
1037 * configure accepts --help, --version, --silent/--quiet, --no-create options.
1038 * configure accepts and ignores most other Cygnus configure options, and
1039   warns about unknown options.
1040 * config.status accepts --help, --version options.
1042 ** Paths and other changes:
1043 * Relative srcdir values are not made absolute.
1044 * The values of @prefix@ and @exec_prefix@ and @top_srcdir@ get substituted.
1045 * Autoconf library files are installed in ${datadir}/autoconf, not ${datadir}.
1046 * autoheader optionally copies config.h.top to the beginning of config.h.in.
1047 * The example Makefile dependencies for configure et al. work better.
1048 * Namespace cleanup: all shell variables used internally by Autoconf
1049   have names beginning with `ac_'.
1051 More big improvements are in process for future releases, but have not
1052 yet been (variously) finished, integrated, tested, or documented enough
1053 to release yet.
1055 Major changes in Autoconf 1.7:
1057 * New macro AC_OBSOLETE.
1058 * Bugs in Makefile.in fixed.
1059 * AC_LONG_FILE_NAMES improved.
1061 Major changes in Autoconf 1.6:
1063 * New macro AC_LONG_64_BITS.
1064 * Multiple .h files can be created.
1065 * AC_FIND_X looks for X files directly if it doesn't find xmkmf.
1066 * AC_ALLOCA defines C_ALLOCA if using alloca.c.
1067 * --with-NAME can take a value, e.g., --with-targets=sun4,hp300bsd.
1068 * Unused --no-create option to configure removed.
1069 * autoheader doesn't change the timestamp of its output file if
1070   the file didn't change.
1071 * All macros that look for libraries now use AC_HAVE_LIBRARY.
1072 * config.status checks three optional environment variables to
1073   modify its behavior.
1074 * The usual bug fixes.
1076 Major changes in Autoconf 1.5:
1078 * New macros AC_FIND_X, AC_OFF_T, AC_STAT_MACROS_BROKEN, AC_REVISION.
1079 * autoconf and autoheader scripts have GNU standards conforming
1080   --version and --help options (they print their message and exit).
1081 * Many bug fixes.
1083 Major changes in Autoconf 1.4:
1085 * New macros AC_HAVE_POUNDBANG, AC_TIME_WITH_SYS_TIME, AC_LONG_DOUBLE,
1086   AC_GETGROUPS_T, AC_DEFINE_UNQUOTED.
1087 * autoconf and autoheader use the M4 environment variable to determine the
1088   path of the m4 program to use.
1089 * The --macrodir option to autoconf and autoheader specifies the directory
1090   in which acspecific.m4, acgeneral.m4, etc. reside if not the default.
1091 * autoconf and autoheader can take `-' as their file names, which means to
1092   read stdin as input.
1093 * Resulting configure scripts can take a --verbose option which causes them
1094   to print the results of their tests.
1095 * AC_DEFINE quotes its second argument in such a way that spaces, magic
1096   shell characters, etc. will be preserved during various stages of
1097   expansion done by the shell.  If you don't want this, use
1098   AC_DEFINE_UNQUOTED instead.
1099 * Much textual processing done with external calls to tr and sed have been
1100   internalized with builtin m4 `patsubst' and `translit' calls.
1101 * AC_OUTPUT doesn't hardwire the filenames it outputs.  Instead, you can
1102   set the shell variables `gen_files' and `gen_config' to the list of
1103   filenames to output.
1104 * AC_DECLARE_YYTEXT does an AC_SUBST of `LEX_OUTPUT_ROOT', which may be
1105   "lex.yy" or "lexyy", depending on the system.
1106 * AC_PROGRAMS_CHECK takes an optional third arg.  If given, it is used as
1107   the default value.
1108 * If AC_ALLOCA chooses alloca.c, it also defines STACK_DIRECTION.
1109 * AC_CONST works much more reliably on more systems.
1110 * Many bug fixes.
1112 Major changes in Autoconf 1.3:
1114 configure no longer requires awk for packages that use a config.h.
1115 Support handling --with-PACKAGE options.
1116 New `autoheader' script to create `config.h.in' from `configure.in'.
1117 Ignore troublesome -lucb and -lPW when searching for alloca.
1118 Rename --exec_prefix to --exec-prefix for GNU standards conformance.
1119 Improve detection of STDC library.
1120 Add AC_HAVE_LIBRARY to check for non-default libraries.
1121 Function checking should work with future GNU libc releases.
1123 Major changes in Autoconf 1.2:
1125 The --srcdir option is now usually unnecessary.
1126 Add a file containing sample comments describing CPP macros.
1127 A comment in config.status tells which host it was configured on.
1128 Substituted variable values can now contain commas.
1129 Fix bugs in various feature checks.
1131 Major changes in Autoconf 1.1:
1133 Added AC_STRCOLL macro.
1134 Made AC_GETLOADAVG check for more things.
1135 AC_OUTPUT argument is now optional.
1136 Various bug fixes.
1138 -----
1140 Copyright (C) 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003
1141 Free Software Foundation, Inc.
1143 This file is part of GNU Autoconf.
1145 GNU Autoconf is free software; you can redistribute it and/or modify
1146 it under the terms of the GNU General Public License as published by
1147 the Free Software Foundation; either version 2, or (at your option)
1148 any later version.
1150 GNU Autoconf is distributed in the hope that it will be useful,
1151 but WITHOUT ANY WARRANTY; without even the implied warranty of
1152 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1153 GNU General Public License for more details.
1155 You should have received a copy of the GNU General Public License
1156 along with GNU Autoconf; see the file COPYING.  If not, write to
1157 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1158 Boston, MA 02111-1307, USA.