source: vendor/autoconf/2.13/NEWS@ 3386

Last change on this file since 3386 was 3157, checked in by bird, 18 years ago

autoconf 2.13

File size: 16.1 KB
Line 
1Major changes in release 2.13:
2
3* Support for building on Win32 systems where the only available C or
4 C++ compiler is the Microsoft Visual C++ command line compiler
5 (`cl'). Additional support for building on Win32 systems which are
6 using the Cygwin or Mingw32 environments.
7* Support for alternative object file and executable file extensions.
8 On Win32, for example, these are .obj and .exe. These are discovered
9 using AC_OBJEXT and AC_EXEEXT, which substitute @OBJEXT@ and
10 @EXEEXT@ in the output, respectively.
11* New macros: AC_CACHE_LOAD, AC_CACHE_SAVE, AC_FUNC_SELECT_ARGTYPES,
12 AC_VALIDATE_CACHED_SYSTEM_TUPLE, AC_SEARCH_LIBS, AC_TRY_LINK_FUNC,
13 AC_C_STRINGIZE, AC_CHECK_FILE(S), AC_PROG_F77 (and friends).
14* AC_DEFINE now has an optional third argument for a description to be
15 placed in the config header input file (e.g. config.h.in).
16* The C++ code fragment compiled for the C++ compiler test had to be
17 improved to include an explicit return type for main(). This was
18 causing failures on systems using recent versions of the EGCS C++
19 compiler.
20* Fixed an important bug in AC_CHECK_TYPE that would cause a configure
21 script to report that `sometype_t' was present when only `type_t'
22 was defined.
23* Merge of the FSF version of config.guess and config.sub to modernise
24 these scripts. Add support for a few new hosts in config.guess.
25 Incorporate latest versions of install-sh, mkinstalldirs and
26 texinfo.tex from the FSF.
27* autoreconf is capable of running automake if necessary (and
28 applicable).
29* Support for Fortran 77. See the Texinfo documentation for details.
30* Bug fixes and workarounds for quirky bugs in vendor utilities.
31
32
33Major changes in release 2.12:
34
35* AC_OUTPUT and AC_CONFIG_HEADER can create output files by
36 concatenating multiple input files separated by colons, like so:
37 AC_CONFIG_HEADER(config.h:conf.pre:config.h.in:conf.post)
38 AC_OUTPUT(Makefile:Makefile.in:Makefile.rules)
39 The arguments may be shell variables, to compute the lists on the fly.
40* AC_LINK_FILES and AC_CONFIG_SUBDIRS may be called multiple times.
41* New macro AC_OUTPUT_COMMANDS adds more commands to run in config.status.
42* Bug fixes.
43
44
45Major changes in release 2.11:
46
47* AC_PROG_CC and AC_PROG_CXX check whether the compiler works.
48 They also default CFLAGS/CXXFLAGS to "-g -O2" for gcc, instead of "-g -O".
49* AC_REPLACE_FUNCS defines HAVE_foo if the system has the function `foo'.
50* AC_CONFIG_HEADER expands shell variables in its argument.
51* New macros: AC_FUNC_FNMATCH, AC_FUNC_SETPGRP.
52* The "checking..." messages and the source code for test programs that
53 fail are saved in config.log.
54* Another workaround has been added for seds with small command length limits.
55* config.sub and config.guess recognize more system types.
56* Bug fixes.
57
58
59Major changes in release 2.10:
60
61* Bug fixes.
62* The cache variable names used by `AC_CHECK_LIB(LIB, FUNC, ...)' has
63 changed: now $ac_cv_lib_LIB_FUNC, previously $ac_cv_lib_LIB.
64
65
66Major changes in releases 2.6 through 2.9:
67
68* Bug fixes.
69
70
71Major changes in release 2.5:
72
73* New configure options --bindir, --libdir, --datadir, etc., with
74 corresponding output variables.
75* New macro: AC_CACHE_CHECK, to make using the cache easier.
76* config.log contains the command being run as well as any output from it.
77* AC_CHECK_LIB can check for libraries with "." or "/" or "+" in their name.
78* AC_PROG_INSTALL doesn't cache a path to install-sh, for sharing caches.
79* AC_CHECK_PROG, AC_PATH_PROG, AC_CHECK_PROGS, AC_PATH_PROGS, and
80 AC_CHECK_TOOL can search a path other than $PATH.
81* AC_CHECK_SIZEOF takes an optional size to use when cross-compiling.
82
83
84Major changes in release 2.4:
85
86* Fix a few bugs found by Emacs testers.
87
88
89Major changes in release 2.3:
90
91* Fix the cleanup trap in several ways.
92* Handle C compilers that are picky about option placement.
93* ifnames gets the version number from the right directory.
94
95
96Major changes in release 2.2:
97
98* The ifnames utility is much faster but requires a "new awk" interpreter.
99* AC_CHECK_LIB and AC_HAVE_LIBRARY check and add the new
100 library before existing libs, not after, in case it uses them.
101* New macros: AC_FUNC_GETPGRP, AC_CHECK_TOOL.
102* Lots of bug fixes.
103* Many additions to the TODO file :-)
104
105
106Major changes in release 2.1:
107
108* Fix C++ problems.
109* More explanations in the manual.
110* Fix a spurious failure in the testsuite.
111* Clarify some warning messages.
112* autoreconf by default only rebuilds configure and config.h.in files
113 that are older than any of their particular input files; there is a
114 --force option to use after installing a new version of Autoconf.
115
116
117Thanks to everybody who's submitted changes and additions to Autoconf!
118I've incorporated many of them, and am still considering others for
119future releases -- but I didn't want to postpone this release indefinitely.
120
121Caution: don't indiscriminately rebuild configure scripts with
122Autoconf version 2. Some configure.in files need minor adjustments to
123work with it; the documentation has a chapter on upgrading. A few
124configure.in files, including those for GNU Emacs and the GNU C
125Library, need major changes because they relied on undocumented
126internals of version 1. Future releases of those packages will have
127updated configure.in files.
128
129It's best to use GNU m4 1.3 (or later) with Autoconf version 2.
130Autoconf now makes heavy use of m4 diversions, which were implemented
131inefficiently in GNU m4 releases before 1.3.
132
133Major changes in release 2.0:
134
135** New copyright terms:
136* There are no restrictions on distribution or use of configure scripts.
137
138** Documentation:
139* Autoconf manual is reorganized to make information easier to find
140 and has several new indexes.
141* INSTALL is reorganized and clearer and is now made from Texinfo source.
142
143** New utilities:
144* autoscan to generate a preliminary configure.in for a package by
145 scanning its source code for commonly used nonportable functions,
146 programs, and header files.
147* ifnames to list the symbols used in #if and #ifdef directives in a
148 source tree.
149* autoupdate to update a configure.in to use the version 2 macro names.
150* autoreconf to recursively remake configure and configuration header
151 files in a source tree.
152
153** Changed utilities:
154* autoheader can take pieces of acconfig.h to replace config.h.{top,bot}.
155* autoconf and autoheader can look for package-local definition files
156 in an alternate directory.
157
158** New macros:
159* AC_CACHE_VAL to share results of tests between configure runs.
160* AC_DEFUN to define macros, automatically AC_PROVIDE them, and ensure
161 that macros invoked with AC_REQUIRE don't interrupt other macros.
162* AC_CONFIG_AUX_DIR, AC_CANONICAL_SYSTEM, AC_CANONICAL_HOST, AC_LINK_FILES to
163 support deciding unguessable features based on the host and target types.
164* AC_CONFIG_SUBDIRS to recursively configure a source tree.
165* AC_ARG_PROGRAM to use the options --program-prefix,
166 --program-suffix, and --program-transform-name to change the names
167 of programs being installed.
168* AC_PREFIX_DEFAULT to change the default installation prefix.
169* AC_TRY_COMPILE to compile a test program without linking it.
170* AC_CHECK_TYPE to check whether sys/types.h or stdlib.h defines a given type.
171* AC_CHECK_LIB to check for a particular function and library.
172* AC_MSG_CHECKING and AC_MSG_RESULT to print test results, on a single line,
173 whether or not the test succeeds. They obsolete AC_CHECKING and AC_VERBOSE.
174* AC_SUBST_FILE to insert one file into another.
175* AC_FUNC_MEMCMP to check whether memcmp is 8-bit clean.
176* AC_FUNC_STRFTIME to find strftime even if it's in -lintl.
177* AC_FUNC_GETMNTENT to find getmntent even if it's in -lsun or -lseq.
178* AC_HEADER_SYS_WAIT to check whether sys/wait.h is POSIX.1 compatible.
179
180** Changed macros:
181* Many macros renamed systematically, but old names are accepted for
182 backward compatibility.
183* AC_OUTPUT adds the "automatically generated" comment to
184 non-Makefiles where it finds @configure_input@ in an input file, to
185 support files with various comment syntaxes.
186* AC_OUTPUT does not replace "prefix" and "exec_prefix" in generated
187 files when they are not enclosed in @ signs.
188* AC_OUTPUT allows the optional environment variable CONFIG_STATUS to
189 override the file name "config.status".
190* AC_OUTPUT takes an optional argument for passing variables from
191 configure to config.status.
192* AC_OUTPUT and AC_CONFIG_HEADER allow you to override the input-file names.
193* AC_OUTPUT automatically substitutes the values of CFLAGS, CXXFLAGS,
194 CPPFLAGS, and LDFLAGS from the environment.
195* AC_PROG_CC and AC_PROG_CXX now set CFLAGS and CXXFLAGS, respectively.
196* AC_PROG_INSTALL looks for install-sh or install.sh in the directory
197 specified by AC_CONFIG_AUXDIR, or srcdir or srcdir/.. or
198 srcdir/../.. by default.
199* AC_DEFINE, AC_DEFINE_UNQUOTED, and AC_SUBST are more robust and smaller.
200* AC_DEFINE no longer prints anything, because of the new result reporting
201 mechanism (AC_MSG_CHECKING and AC_MSG_RESULT).
202* AC_VERBOSE pays attention to --quiet/--silent, not --verbose.
203* AC_ARG_ENABLE and AC_ARG_WITH support whitespace in the arguments to
204 --enable- and --with- options.
205* AC_CHECK_FUNCS and AC_CHECK_HEADERS take optional shell commands to
206 execute on success or failure.
207* Checking for C functions in C++ works.
208
209** Removed macros:
210* AC_REMOTE_TAPE and AC_RSH removed; too specific to tar and cpio, and
211 better maintained with them.
212* AC_ARG_ARRAY removed because no one was likely using it.
213* AC_HAVE_POUNDBANG replaced with AC_SYS_INTERPRETER, which doesn't
214 take arguments, for consistency with all of the other specific checks.
215
216** New files:
217* Comes with config.sub and config.guess, and uses them optionally.
218* Uses config.cache to cache test results. An alternate cache file
219 can be selected with the --cache-file=FILE option.
220* Uses optional shell scripts $prefix/share/config.site and
221 $prefix/etc/config.site to perform site or system specific initializations.
222* configure saves compiler output to ./config.log for debugging.
223* New files autoconf.m4 and autoheader.m4 load the other Autoconf macros.
224* acsite.m4 is the new name for the system-wide aclocal.m4.
225* Has a DejaGnu test suite.
226
227
228Major changes in release 1.11:
229
230* AC_PROG_INSTALL calls install.sh with the -c option.
231* AC_SET_MAKE cleans up after itself.
232* AC_OUTPUT sets prefix and exec_prefix if they weren't set already.
233* AC_OUTPUT prevents shells from looking in PATH for config.status.
234
235Plus a few other bug fixes.
236
237
238Major changes in release 1.10:
239
240* autoheader uses config.h.bot if present, analogous to config.h.top.
241* AC_PROG_INSTALL looks for install.sh in srcdir or srcdir/.. and
242 never uses cp.
243* AC_PROG_CXX looks for cxx as a C++ compiler.
244
245Plus several bugs fixed.
246
247
248Major changes in release 1.9:
249
250* AC_YYTEXT_POINTER replaces AC_DECLARE_YYTEXT.
251* AC_SIZEOF_TYPE generates the cpp symbol name automatically,
252 and autoheader generates entries for those names automatically.
253* AC_FIND_X gets the result from xmkmf correctly.
254* AC_FIND_X assumes no X if --without-x was given.
255* AC_FIND_XTRA adds libraries to the variable X_EXTRA_LIBS.
256* AC_PROG_INSTALL finds OSF/1 installbsd.
257
258
259Major changes in release 1.8:
260
261** New macros:
262* New macros AC_LANG_C, AC_LANG_CPLUSPLUS, AC_LANG_SAVE, AC_LANG_RESTORE,
263 AC_PROG_CXX, AC_PROG_CXXCPP, AC_REQUIRE_CPP
264 for checking both C++ and C features in one configure script.
265* New macros AC_CHECKING, AC_VERBOSE, AC_WARN, AC_ERROR for printing messages.
266* New macros AC_FIND_XTRA, AC_MMAP, AC_SIZEOF_TYPE, AC_PREREQ,
267 AC_SET_MAKE, AC_ENABLE.
268
269** Changed macros:
270* AC_FIND_X looks for X in more places.
271* AC_PROG_INSTALL defaults to install.sh instead of cp, if it's in srcdir.
272 install.sh is distributed with Autoconf.
273* AC_DECLARE_YYTEXT has been removed because it can't work, pending
274 a rewrite of quoting in AC_DEFINE.
275* AC_OUTPUT adds its comments in C format when substituting in C files.
276* AC_COMPILE_CHECK protects its ECHO-TEXT argument with double quotes.
277
278** New or changed command line options:
279* configure accepts --enable-FEATURE[=ARG] and --disable-FEATURE options.
280* configure accepts --without-PACKAGE, which sets withval=no.
281* configure accepts --x-includes=DIR and --x-libraries=DIR.
282* Giving --with-PACKAGE no argument sets withval=yes instead of withval=1.
283* configure accepts --help, --version, --silent/--quiet, --no-create options.
284* configure accepts and ignores most other Cygnus configure options, and
285 warns about unknown options.
286* config.status accepts --help, --version options.
287
288** Paths and other changes:
289* Relative srcdir values are not made absolute.
290* The values of @prefix@ and @exec_prefix@ and @top_srcdir@ get substituted.
291* Autoconf library files are installed in ${datadir}/autoconf, not ${datadir}.
292* autoheader optionally copies config.h.top to the beginning of config.h.in.
293* The example Makefile dependencies for configure et al. work better.
294* Namespace cleanup: all shell variables used internally by Autoconf
295 have names beginning with `ac_'.
296
297More big improvements are in process for future releases, but have not
298yet been (variously) finished, integrated, tested, or documented enough
299to release yet.
300
301
302Major changes in release 1.7:
303
304* New macro AC_OBSOLETE.
305* Bugs in Makefile.in fixed.
306* AC_LONG_FILE_NAMES improved.
307
308
309Major changes in release 1.6:
310
311* New macro AC_LONG_64_BITS.
312* Multiple .h files can be created.
313* AC_FIND_X looks for X files directly if it doesn't find xmkmf.
314* AC_ALLOCA defines C_ALLOCA if using alloca.c.
315* --with-NAME can take a value, e.g., --with-targets=sun4,hp300bsd.
316* Unused --no-create option to configure removed.
317* autoheader doesn't change the timestamp of its output file if
318 the file didn't change.
319* All macros that look for libraries now use AC_HAVE_LIBRARY.
320* config.status checks three optional environment variables to
321 modify its behavior.
322* The usual bug fixes.
323
324
325Major changes in release 1.5:
326
327* New macros AC_FIND_X, AC_OFF_T, AC_STAT_MACROS_BROKEN, AC_REVISION.
328* autoconf and autoheader scripts have GNU standards conforming
329 --version and --help options (they print their message and exit).
330* Many bug fixes.
331
332
333Major changes in release 1.4:
334
335* New macros AC_HAVE_POUNDBANG, AC_TIME_WITH_SYS_TIME, AC_LONG_DOUBLE,
336 AC_GETGROUPS_T, AC_DEFINE_UNQUOTED.
337* autoconf and autoheader use the M4 environment variable to determine the
338 path of the m4 program to use.
339* The --macrodir option to autoconf and autoheader specifies the directory
340 in which acspecific.m4, acgeneral.m4, etc. reside if not the default.
341* autoconf and autoheader can take `-' as their file names, which means to
342 read stdin as input.
343* Resulting configure scripts can take a --verbose option which causes them
344 to print the results of their tests.
345* AC_DEFINE quotes its second argument in such a way that spaces, magic
346 shell characters, etc. will be preserved during various stages of
347 expansion done by the shell. If you don't want this, use
348 AC_DEFINE_UNQUOTED instead.
349* Much textual processing done with external calls to tr and sed have been
350 internalized with builtin m4 `patsubst' and `translit' calls.
351* AC_OUTPUT doesn't hardwire the filenames it outputs. Instead, you can
352 set the shell variables `gen_files' and `gen_config' to the list of
353 filenames to output.
354* AC_DECLARE_YYTEXT does an AC_SUBST of `LEX_OUTPUT_ROOT', which may be
355 "lex.yy" or "lexyy", depending on the system.
356* AC_PROGRAMS_CHECK takes an optional third arg. If given, it is used as
357 the default value.
358* If AC_ALLOCA chooses alloca.c, it also defines STACK_DIRECTION.
359* AC_CONST works much more reliably on more systems.
360* Many bug fixes.
361
362
363Major changes in release 1.3:
364
365configure no longer requires awk for packages that use a config.h.
366Support handling --with-PACKAGE options.
367New `autoheader' script to create `config.h.in' from `configure.in'.
368Ignore troublesome -lucb and -lPW when searching for alloca.
369Rename --exec_prefix to --exec-prefix for GNU standards conformance.
370Improve detection of STDC library.
371Add AC_HAVE_LIBRARY to check for non-default libraries.
372Function checking should work with future GNU libc releases.
373
374
375Major changes in release 1.2:
376
377The --srcdir option is now usually unnecessary.
378Add a file containing sample comments describing CPP macros.
379A comment in config.status tells which host it was configured on.
380Substituted variable values can now contain commas.
381Fix bugs in various feature checks.
382
383
384Major changes in release 1.1:
385
386Added AC_STRCOLL macro.
387Made AC_GETLOADAVG check for more things.
388AC_OUTPUT argument is now optional.
389Various bug fixes.
Note: See TracBrowser for help on using the repository browser.