| 1 |
* Major changes in Autoconf 2.52 -*- outline -*- |
| 2 |
** Documentation |
| 3 |
- AC_ARG_VAR |
| 4 |
- Quadrigraphs |
| 5 |
This feature was present in autoconf 2.50 but was not documented. |
| 6 |
For example, `@<:@' is translated to `[' just before output. This |
| 7 |
is useful when writing strings that contain unbalanced quotes, or |
| 8 |
other hard-to-quote constructs. |
| 9 |
- m4_pattern_forbid, m4_pattern_allow |
| 10 |
- Tips for upgrading from 2.13. |
| 11 |
- Using autoscan to maintain a configure.ac. |
| 12 |
|
| 13 |
** Default includes |
| 14 |
- Now include stdint.h. |
| 15 |
- sys/types.h and sys/stat.h are guarded. |
| 16 |
- strings.h is included if available, and not conflicting with string.h. |
| 17 |
|
| 18 |
** Bug fixes |
| 19 |
- The test suite is more robust and presents less false failures. |
| 20 |
- Invocation of GNU M4 now robust to POSIXLY_CORRECT. |
| 21 |
- configure accepts --prefix='' again. |
| 22 |
- AC_CHECK_LIB works properly when its first argument is not a |
| 23 |
literal. |
| 24 |
- HAVE_INTTYPES_H is defined only if not conflicting with sys/types.h. |
| 25 |
- build_, host_, and target_alias are AC_SUBST as in 2.13. |
| 26 |
- AC_ARG_VAR properly propagates precious variables inherited from the |
| 27 |
environment to ./config.status. |
| 28 |
- Using --program-suffix/--program-prefix is portable. |
| 29 |
- Failures to detect the default compiler's output extension are less |
| 30 |
likely. |
| 31 |
- `config.status foo' works properly when `foo' depends on variables |
| 32 |
set in an AC_CONFIG_THING INIT-CMD. |
| 33 |
- autoheader is more robust to broken input. |
| 34 |
- Fixed Fortran name-mangling and link tests on a number of systems, |
| 35 |
e.g. NetBSD; see AC_F77_DUMMY_MAIN, below. |
| 36 |
|
| 37 |
** Generic macros |
| 38 |
- AC_CHECK_HEADER and AC_CHECK_HEADERS support a fourth argument to |
| 39 |
specify pre-includes. In this case, the headers are compiled with |
| 40 |
cc, not merely preprocessed by cpp. Therefore it is the _usability_ |
| 41 |
of a header which is checked for, not just its availability. |
| 42 |
- AC_ARG_VAR refuses to run configure when precious variables have |
| 43 |
changed. |
| 44 |
- Versions of compilers are dumped in the logs. |
| 45 |
- AC_CHECK_TYPE recognizes use of `foo_t' as a replacement type. |
| 46 |
|
| 47 |
** Specific Macros |
| 48 |
- AC_PATH_XTRA only adds -ldnet to $LIBS if it's needed to link. |
| 49 |
- AC_FUNC_WAIT3 and AC_SYS_RESTARTABLE_SYSCALLS are obsoleted. |
| 50 |
- AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH, AM_FUNC_MKTIME, |
| 51 |
AM_FUNC_OBSTACK, and AM_FUNC_STRTOD are now activated. |
| 52 |
Be sure to read `Upgrading from Version 2.13' to understand why |
| 53 |
running `autoupdate' is needed. |
| 54 |
- AC_F77_DUMMY_MAIN, AC_F77_MAIN: new macros to detect whether |
| 55 |
a main-like routine is required/possible when linking C/C++ with |
| 56 |
Fortran. Users of e.g. AC_F77_WRAPPERS should be aware of these. |
| 57 |
- AC_FUNC_GETPGRG behaves better when cross-compiling. |
| 58 |
|
| 59 |
* Major changes in Autoconf 2.50 |
| 60 |
|
| 61 |
** Lots of bug fixes |
| 62 |
There have been far too many to enumerate them here. Check out |
| 63 |
ChangeLog if you really want to know more. |
| 64 |
|
| 65 |
** Improved documentation |
| 66 |
In particular, portability issues are better covered. |
| 67 |
|
| 68 |
** Use of Automake |
| 69 |
All the standard GNU Makefile targets are supported. The layout has |
| 70 |
changed: m4/ holds the m4 extensions Autoconf needs for its |
| 71 |
configuration, doc/ contains the documentation, and tests/ contains |
| 72 |
the test suite. |
| 73 |
|
| 74 |
** Man pages are provided |
| 75 |
For autoconf, autoreconf, autoupdate, autoheader, autoscan, ifnames, |
| 76 |
config.guess, config.sub. |
| 77 |
|
| 78 |
** autoconf |
| 79 |
- --trace |
| 80 |
Provides a safe and powerful means to trace the macro uses. This |
| 81 |
provide the parsing layer for tools which need to `study' |
| 82 |
configure.in. |
| 83 |
|
| 84 |
- --warnings |
| 85 |
Specify what category of warnings should be enabled. |
| 86 |
|
| 87 |
- When recursing into subdirectories, try for configure.gnu before |
| 88 |
configure to adapt for packages not using autoconf on case-insensitive |
| 89 |
filesystems. |
| 90 |
|
| 91 |
- Diagnostics |
| 92 |
More errors are now caught (circular AC_REQUIRE dependencies, |
| 93 |
AC_DEFINE in the action part of an AC_CACHE_CHECK, too many pops |
| 94 |
etc.). In addition, their location and call stack are given. |
| 95 |
|
| 96 |
** autoupdate |
| 97 |
autoupdate is much more powerful, and is able to provide the glue code |
| 98 |
which might be needed to move from an old macro to its newer |
| 99 |
equivalent. |
| 100 |
|
| 101 |
You are strongly encouraged to use it to modernize both your |
| 102 |
`configure.in' and your .m4 extension files. |
| 103 |
|
| 104 |
** autoheader |
| 105 |
The internal machinery of autoheader has completely changed. As a |
| 106 |
result, using `acconfig.h' should be considered to be obsoleted, and |
| 107 |
you are encouraged to get rid of it using the AH macros. |
| 108 |
|
| 109 |
** autoreconf |
| 110 |
Extensive overhaul. |
| 111 |
|
| 112 |
** Fortran 77 compilers |
| 113 |
Globally, the support for Fortran 77 is considerably improved. |
| 114 |
|
| 115 |
Support for automatically determining a Fortran 77 compiler's |
| 116 |
name-mangling scheme. New CPP macros F77_FUNC and F77_FUNC_ are |
| 117 |
provided to wrap C/C++ identifiers, thus making it easier and more |
| 118 |
transparent for C/C++ to call Fortran 77 routines, and Fortran 77 to |
| 119 |
call C/C++ routines. See the Texinfo documentation for details. |
| 120 |
|
| 121 |
** Test suite |
| 122 |
The test suite no longer uses DejaGNU. It should be easy to submit |
| 123 |
test cases in this new framework. |
| 124 |
|
| 125 |
** configure |
| 126 |
- --help, --help=long, -hl |
| 127 |
no longer dumps useless items. |
| 128 |
- --help=short, -hs |
| 129 |
lists only specific options. |
| 130 |
- --help=recursive, -hr |
| 131 |
displays the help of all the embedded packages. |
| 132 |
- Remembers environment variables when reconfiguring. |
| 133 |
The previous scheme to set envvar before running configure was |
| 134 |
ENV=VAL ./configure |
| 135 |
what prevented configure from remembering the environment in which |
| 136 |
it was run, therefore --recheck was run in an inconsistent |
| 137 |
environment. Now, one should run |
| 138 |
./configure ENV=VAR |
| 139 |
and then --recheck will work properly. Variables declared with |
| 140 |
AC_ARG_VAR are also preserved. |
| 141 |
- cross-compilation |
| 142 |
$build defaults to `config.guess`, $host to $build, and then $target |
| 143 |
to $host. |
| 144 |
Cross-compilation is a global status of the package, it no longer |
| 145 |
depends upon the current language. |
| 146 |
Cross compilation is enabled iff the user specified `--host'. |
| 147 |
`configure' now fails if it can't run the executables it compiles, |
| 148 |
unless cross-compilation is enabled. |
| 149 |
- Cache file |
| 150 |
The cache file is disabled by default. The new options |
| 151 |
`--config-cache', `-C' set the cache to `config.cache'. |
| 152 |
|
| 153 |
** config.status |
| 154 |
- faster |
| 155 |
Much faster on most architectures. |
| 156 |
- concurrent executions |
| 157 |
It is safe to use `make -j' with config.status. |
| 158 |
- human interface improved |
| 159 |
It is possible to invoke |
| 160 |
./config.status foobar |
| 161 |
instead of the former form (still valid) |
| 162 |
CONFIG_COMMANDS= CONFIG_HEADERS= CONFIG_LINKS= \ |
| 163 |
CONFIG_FILES=foobar:foo.in:bar.in \ |
| 164 |
./config.status |
| 165 |
The same holds for configuration headers and links. |
| 166 |
You can instantiate unknown files and headers: |
| 167 |
./config.status --header foo.h:foo.h.in --file bar:baz |
| 168 |
- has a useful --help |
| 169 |
- accepts special file name "-" for stdin/stdout |
| 170 |
|
| 171 |
|
| 172 |
** Identity Macros |
| 173 |
- AC_COPYRIGHT |
| 174 |
Specify additional copyright information. |
| 175 |
|
| 176 |
- AC_INIT |
| 177 |
Now expects the identity of the package as argument. |
| 178 |
|
| 179 |
** General changes. |
| 180 |
- Uniform quotation |
| 181 |
Most macros, if not all, now strictly follow the `one quotation |
| 182 |
level' rule. This results in a more predictable expansion. |
| 183 |
|
| 184 |
- AC_REQUIRE |
| 185 |
A sly bug in the AC_REQUIRE machinery, which could produce incorrect |
| 186 |
configure scripts, was fixed by Axel Thimm. |
| 187 |
|
| 188 |
** Setup Macros |
| 189 |
- AC_ARG_VAR |
| 190 |
Document and ask for the registration of an envvar. |
| 191 |
|
| 192 |
- AC_CONFIG_SRCDIR |
| 193 |
Specifies the file which `configure' should look for when trying to |
| 194 |
find the source tree (used to be handled by AC_INIT). |
| 195 |
|
| 196 |
- AC_CONFIG_COMMANDS |
| 197 |
To add new actions to config.status. Should be used instead of |
| 198 |
AC_OUTPUT_COMMANDS. |
| 199 |
|
| 200 |
- AC_CONFIG_LINKS |
| 201 |
Replaces AC_LINK_FILES. |
| 202 |
|
| 203 |
- AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS, AC_CONFIG_SUBDIRS, |
| 204 |
AC_CONFIG_LINKS, and AC_CONFIG_FILES |
| 205 |
They now obey sh: you should no longer use shell variables as |
| 206 |
argument. Instead of |
| 207 |
|
| 208 |
test "$package_foo_enabled" = yes && $my_subdirs="$my_subdirs foo" |
| 209 |
AC_CONFIG_SUBDIRS($my_subdirs) |
| 210 |
|
| 211 |
write |
| 212 |
|
| 213 |
if test "$package_foo_enabled" = yes; then |
| 214 |
AC_CONFIG_SUBDIRS(foo) |
| 215 |
fi |
| 216 |
|
| 217 |
- AC_HELP_STRING |
| 218 |
To format an Autoconf macro's help string so that it looks pretty |
| 219 |
when the user executes `configure --help'. |
| 220 |
|
| 221 |
|
| 222 |
** Generic Test Macros |
| 223 |
- AC_CHECK families |
| 224 |
The interface of the AC_CHECK families of macros (decl, header, |
| 225 |
type, member, func) is now uniform. They support the same set of |
| 226 |
default includes. |
| 227 |
|
| 228 |
- AC_CHECK_DECL, AC_CHECK_DECLS |
| 229 |
To check whether a symbol is declared. |
| 230 |
|
| 231 |
- AC_CHECK_SIZEOF, AC_C_CHAR_UNSIGNED. |
| 232 |
No longer need a cross-compilation default. |
| 233 |
|
| 234 |
- AC_CHECK_TYPE |
| 235 |
The test it performs is much more robust than previously, and makes |
| 236 |
it possible to test builtin types in addition to typedefs. |
| 237 |
It is now schizophrenic: |
| 238 |
- AC_CHECK_TYPE(TYPE, REPLACEMENT) |
| 239 |
remains for backward compatibility, but its use is discouraged. |
| 240 |
- AC_CHECK_TYPE(TYPE, IF-FOUND, IF-NOT-FOUND, INCLUDES) |
| 241 |
behaves exactly like the other AC_CHECK macros. |
| 242 |
|
| 243 |
- AC_CHECK_TYPES |
| 244 |
Checks whether given types are supported by the system. |
| 245 |
|
| 246 |
- AC_CHECK_MEMBER, AC_CHECK_MEMBERS |
| 247 |
Check for given members in aggregates (e.g., pw_gecos in struct |
| 248 |
passwd). |
| 249 |
|
| 250 |
- AC_PROG_CC_STDC |
| 251 |
Checks if the compiler supports ISO C, included when needs special |
| 252 |
options. |
| 253 |
|
| 254 |
- AC_PROG_CPP |
| 255 |
Checking whether the preprocessor indicates missing includes by the |
| 256 |
error code. stderr is checked by AC_TRY_CPP only as a fallback. |
| 257 |
|
| 258 |
- AC_LANG |
| 259 |
Takes a language as argument and replaces AC_LANG_C, |
| 260 |
AC_LANG_CPLUSPLUS and AC_LANG_FORTRAN77. |
| 261 |
|
| 262 |
- AC_LANG_PUSH, AC_LANG_POP |
| 263 |
Are preferred to AC_LANG_SAVE, AC_LANG_RESTORE. |
| 264 |
|
| 265 |
** Specific Macros |
| 266 |
- AC_FUNC_CHOWN, AC_FUNC_MALLOC, AC_FUNC_STRERROR_R, |
| 267 |
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, AC_FUNC_STAT, AC_FUNC_LSTAT, |
| 268 |
AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD, AC_FUNC_FSEEKO. |
| 269 |
New. |
| 270 |
|
| 271 |
- AC_FUNC_GETGROUPS |
| 272 |
Sets GETGROUPS_LIBS. |
| 273 |
|
| 274 |
- AC_FUNC_GETLOADAVG |
| 275 |
Defines `HAVE_STRUCT_NLIST_N_UN_N_NAME' instead of `NLIST_NAME_UNION'. |
| 276 |
|
| 277 |
- AC_PROG_LEX |
| 278 |
Now integrates `AC_DECL_YYTEXT' which is obsoleted. |
| 279 |
|
| 280 |
- AC_SYS_LARGEFILE |
| 281 |
Arrange for large-file support. |
| 282 |
|
| 283 |
- AC_EXEEXT, AC_OBJEXT |
| 284 |
You are no longer expected to use them: their computation is |
| 285 |
performed by default. |
| 286 |
|
| 287 |
** C++ compatibility |
| 288 |
Every macro has been revisited in order to support at best CC=c++. |
| 289 |
|
| 290 |
Major changes in Autoconf 2.14: |
| 291 |
There was no release of GNU Autoconf 2.14. |
| 292 |
|
| 293 |
Major changes in Autoconf 2.13: |
| 294 |
|
| 295 |
* Support for building on Win32 systems where the only available C or |
| 296 |
C++ compiler is the Microsoft Visual C++ command line compiler |
| 297 |
(`cl'). Additional support for building on Win32 systems which are |
| 298 |
using the Cygwin or Mingw32 environments. |
| 299 |
* Support for alternative object file and executable file extensions. |
| 300 |
On Win32, for example, these are .obj and .exe. These are discovered |
| 301 |
using AC_OBJEXT and AC_EXEEXT, which substitute @OBJEXT@ and |
| 302 |
@EXEEXT@ in the output, respectively. |
| 303 |
* New macros: AC_CACHE_LOAD, AC_CACHE_SAVE, AC_FUNC_SELECT_ARGTYPES, |
| 304 |
AC_VALIDATE_CACHED_SYSTEM_TUPLE, AC_SEARCH_LIBS, AC_TRY_LINK_FUNC, |
| 305 |
AC_C_STRINGIZE, AC_CHECK_FILE(S), AC_PROG_F77 (and friends). |
| 306 |
* AC_DEFINE now has an optional third argument for a description to be |
| 307 |
placed in the config header input file (e.g. config.h.in). |
| 308 |
* The C++ code fragment compiled for the C++ compiler test had to be |
| 309 |
improved to include an explicit return type for main(). This was |
| 310 |
causing failures on systems using recent versions of the EGCS C++ |
| 311 |
compiler. |
| 312 |
* Fixed an important bug in AC_CHECK_TYPE that would cause a configure |
| 313 |
script to report that `sometype_t' was present when only `type_t' |
| 314 |
was defined. |
| 315 |
* Merge of the FSF version of config.guess and config.sub to modernise |
| 316 |
these scripts. Add support for a few new hosts in config.guess. |
| 317 |
Incorporate latest versions of install-sh, mkinstalldirs and |
| 318 |
texinfo.tex from the FSF. |
| 319 |
* autoreconf is capable of running automake if necessary (and |
| 320 |
applicable). |
| 321 |
* Support for Fortran 77. See the Texinfo documentation for details. |
| 322 |
* Bug fixes and workarounds for quirky bugs in vendor utilities. |
| 323 |
|
| 324 |
Major changes in Autoconf 2.12: |
| 325 |
|
| 326 |
* AC_OUTPUT and AC_CONFIG_HEADER can create output files by |
| 327 |
concatenating multiple input files separated by colons, like so: |
| 328 |
AC_CONFIG_HEADER(config.h:conf.pre:config.h.in:conf.post) |
| 329 |
AC_OUTPUT(Makefile:Makefile.in:Makefile.rules) |
| 330 |
The arguments may be shell variables, to compute the lists on the fly. |
| 331 |
* AC_LINK_FILES and AC_CONFIG_SUBDIRS may be called multiple times. |
| 332 |
* New macro AC_OUTPUT_COMMANDS adds more commands to run in config.status. |
| 333 |
* Bug fixes. |
| 334 |
|
| 335 |
Major changes in Autoconf 2.11: |
| 336 |
|
| 337 |
* AC_PROG_CC and AC_PROG_CXX check whether the compiler works. |
| 338 |
They also default CFLAGS/CXXFLAGS to "-g -O2" for gcc, instead of "-g -O". |
| 339 |
* AC_REPLACE_FUNCS defines HAVE_foo if the system has the function `foo'. |
| 340 |
* AC_CONFIG_HEADER expands shell variables in its argument. |
| 341 |
* New macros: AC_FUNC_FNMATCH, AC_FUNC_SETPGRP. |
| 342 |
* The "checking..." messages and the source code for test programs that |
| 343 |
fail are saved in config.log. |
| 344 |
* Another workaround has been added for seds with small command length limits. |
| 345 |
* config.sub and config.guess recognize more system types. |
| 346 |
* Bug fixes. |
| 347 |
|
| 348 |
Major changes in Autoconf 2.10: |
| 349 |
|
| 350 |
* Bug fixes. |
| 351 |
* The cache variable names used by `AC_CHECK_LIB(LIB, FUNC, ...)' has |
| 352 |
changed: now $ac_cv_lib_LIB_FUNC, previously $ac_cv_lib_LIB. |
| 353 |
|
| 354 |
Major changes in Autoconfs 2.6 through 2.9: |
| 355 |
|
| 356 |
* Bug fixes. |
| 357 |
|
| 358 |
Major changes in Autoconf 2.5: |
| 359 |
|
| 360 |
* New configure options --bindir, --libdir, --datadir, etc., with |
| 361 |
corresponding output variables. |
| 362 |
* New macro: AC_CACHE_CHECK, to make using the cache easier. |
| 363 |
* config.log contains the command being run as well as any output from it. |
| 364 |
* AC_CHECK_LIB can check for libraries with "." or "/" or "+" in their name. |
| 365 |
* AC_PROG_INSTALL doesn't cache a path to install-sh, for sharing caches. |
| 366 |
* AC_CHECK_PROG, AC_PATH_PROG, AC_CHECK_PROGS, AC_PATH_PROGS, and |
| 367 |
AC_CHECK_TOOL can search a path other than $PATH. |
| 368 |
* AC_CHECK_SIZEOF takes an optional size to use when cross-compiling. |
| 369 |
|
| 370 |
Major changes in Autoconf 2.4: |
| 371 |
|
| 372 |
* Fix a few bugs found by Emacs testers. |
| 373 |
|
| 374 |
Major changes in Autoconf 2.3: |
| 375 |
|
| 376 |
* Fix the cleanup trap in several ways. |
| 377 |
* Handle C compilers that are picky about option placement. |
| 378 |
* ifnames gets the version number from the right directory. |
| 379 |
|
| 380 |
Major changes in Autoconf 2.2: |
| 381 |
|
| 382 |
* The ifnames utility is much faster but requires a "new awk" interpreter. |
| 383 |
* AC_CHECK_LIB and AC_HAVE_LIBRARY check and add the new |
| 384 |
library before existing libs, not after, in case it uses them. |
| 385 |
* New macros: AC_FUNC_GETPGRP, AC_CHECK_TOOL. |
| 386 |
* Lots of bug fixes. |
| 387 |
* Many additions to the TODO file :-) |
| 388 |
|
| 389 |
Major changes in Autoconf 2.1: |
| 390 |
|
| 391 |
* Fix C++ problems. |
| 392 |
* More explanations in the manual. |
| 393 |
* Fix a spurious failure in the testsuite. |
| 394 |
* Clarify some warning messages. |
| 395 |
* autoreconf by default only rebuilds configure and config.h.in files |
| 396 |
that are older than any of their particular input files; there is a |
| 397 |
--force option to use after installing a new version of Autoconf. |
| 398 |
|
| 399 |
Thanks to everybody who's submitted changes and additions to Autoconf! |
| 400 |
I've incorporated many of them, and am still considering others for |
| 401 |
future releases -- but I didn't want to postpone this release indefinitely. |
| 402 |
|
| 403 |
Caution: don't indiscriminately rebuild configure scripts with |
| 404 |
Autoconf version 2. Some configure.in files need minor adjustments to |
| 405 |
work with it; the documentation has a chapter on upgrading. A few |
| 406 |
configure.in files, including those for GNU Emacs and the GNU C |
| 407 |
Library, need major changes because they relied on undocumented |
| 408 |
internals of version 1. Future releases of those packages will have |
| 409 |
updated configure.in files. |
| 410 |
|
| 411 |
It's best to use GNU m4 1.3 (or later) with Autoconf version 2. |
| 412 |
Autoconf now makes heavy use of m4 diversions, which were implemented |
| 413 |
inefficiently in GNU m4 releases before 1.3. |
| 414 |
|
| 415 |
Major changes in Autoconf 2.0: |
| 416 |
|
| 417 |
** New copyright terms: |
| 418 |
* There are no restrictions on distribution or use of configure scripts. |
| 419 |
|
| 420 |
** Documentation: |
| 421 |
* Autoconf manual is reorganized to make information easier to find |
| 422 |
and has several new indexes. |
| 423 |
* INSTALL is reorganized and clearer and is now made from Texinfo source. |
| 424 |
|
| 425 |
** New utilities: |
| 426 |
* autoscan to generate a preliminary configure.in for a package by |
| 427 |
scanning its source code for commonly used nonportable functions, |
| 428 |
programs, and header files. |
| 429 |
* ifnames to list the symbols used in #if and #ifdef directives in a |
| 430 |
source tree. |
| 431 |
* autoupdate to update a configure.in to use the version 2 macro names. |
| 432 |
* autoreconf to recursively remake configure and configuration header |
| 433 |
files in a source tree. |
| 434 |
|
| 435 |
** Changed utilities: |
| 436 |
* autoheader can take pieces of acconfig.h to replace config.h.{top,bot}. |
| 437 |
* autoconf and autoheader can look for package-local definition files |
| 438 |
in an alternate directory. |
| 439 |
|
| 440 |
** New macros: |
| 441 |
* AC_CACHE_VAL to share results of tests between configure runs. |
| 442 |
* AC_DEFUN to define macros, automatically AC_PROVIDE them, and ensure |
| 443 |
that macros invoked with AC_REQUIRE don't interrupt other macros. |
| 444 |
* AC_CONFIG_AUX_DIR, AC_CANONICAL_SYSTEM, AC_CANONICAL_HOST, AC_LINK_FILES to |
| 445 |
support deciding unguessable features based on the host and target types. |
| 446 |
* AC_CONFIG_SUBDIRS to recursively configure a source tree. |
| 447 |
* AC_ARG_PROGRAM to use the options --program-prefix, |
| 448 |
--program-suffix, and --program-transform-name to change the names |
| 449 |
of programs being installed. |
| 450 |
* AC_PREFIX_DEFAULT to change the default installation prefix. |
| 451 |
* AC_TRY_COMPILE to compile a test program without linking it. |
| 452 |
* AC_CHECK_TYPE to check whether sys/types.h or stdlib.h defines a given type. |
| 453 |
* AC_CHECK_LIB to check for a particular function and library. |
| 454 |
* AC_MSG_CHECKING and AC_MSG_RESULT to print test results, on a single line, |
| 455 |
whether or not the test succeeds. They obsolete AC_CHECKING and AC_VERBOSE. |
| 456 |
* AC_SUBST_FILE to insert one file into another. |
| 457 |
* AC_FUNC_MEMCMP to check whether memcmp is 8-bit clean. |
| 458 |
* AC_FUNC_STRFTIME to find strftime even if it's in -lintl. |
| 459 |
* AC_FUNC_GETMNTENT to find getmntent even if it's in -lsun or -lseq. |
| 460 |
* AC_HEADER_SYS_WAIT to check whether sys/wait.h is POSIX.1 compatible. |
| 461 |
|
| 462 |
** Changed macros: |
| 463 |
* Many macros renamed systematically, but old names are accepted for |
| 464 |
backward compatibility. |
| 465 |
* AC_OUTPUT adds the "automatically generated" comment to |
| 466 |
non-Makefiles where it finds @configure_input@ in an input file, to |
| 467 |
support files with various comment syntaxes. |
| 468 |
* AC_OUTPUT does not replace "prefix" and "exec_prefix" in generated |
| 469 |
files when they are not enclosed in @ signs. |
| 470 |
* AC_OUTPUT allows the optional environment variable CONFIG_STATUS to |
| 471 |
override the file name "config.status". |
| 472 |
* AC_OUTPUT takes an optional argument for passing variables from |
| 473 |
configure to config.status. |
| 474 |
* AC_OUTPUT and AC_CONFIG_HEADER allow you to override the input-file names. |
| 475 |
* AC_OUTPUT automatically substitutes the values of CFLAGS, CXXFLAGS, |
| 476 |
CPPFLAGS, and LDFLAGS from the environment. |
| 477 |
* AC_PROG_CC and AC_PROG_CXX now set CFLAGS and CXXFLAGS, respectively. |
| 478 |
* AC_PROG_INSTALL looks for install-sh or install.sh in the directory |
| 479 |
specified by AC_CONFIG_AUXDIR, or srcdir or srcdir/.. or |
| 480 |
srcdir/../.. by default. |
| 481 |
* AC_DEFINE, AC_DEFINE_UNQUOTED, and AC_SUBST are more robust and smaller. |
| 482 |
* AC_DEFINE no longer prints anything, because of the new result reporting |
| 483 |
mechanism (AC_MSG_CHECKING and AC_MSG_RESULT). |
| 484 |
* AC_VERBOSE pays attention to --quiet/--silent, not --verbose. |
| 485 |
* AC_ARG_ENABLE and AC_ARG_WITH support whitespace in the arguments to |
| 486 |
--enable- and --with- options. |
| 487 |
* AC_CHECK_FUNCS and AC_CHECK_HEADERS take optional shell commands to |
| 488 |
execute on success or failure. |
| 489 |
* Checking for C functions in C++ works. |
| 490 |
|
| 491 |
** Removed macros: |
| 492 |
* AC_REMOTE_TAPE and AC_RSH removed; too specific to tar and cpio, and |
| 493 |
better maintained with them. |
| 494 |
* AC_ARG_ARRAY removed because no one was likely using it. |
| 495 |
* AC_HAVE_POUNDBANG replaced with AC_SYS_INTERPRETER, which doesn't |
| 496 |
take arguments, for consistency with all of the other specific checks. |
| 497 |
|
| 498 |
** New files: |
| 499 |
* Comes with config.sub and config.guess, and uses them optionally. |
| 500 |
* Uses config.cache to cache test results. An alternate cache file |
| 501 |
can be selected with the --cache-file=FILE option. |
| 502 |
* Uses optional shell scripts $prefix/share/config.site and |
| 503 |
$prefix/etc/config.site to perform site or system specific initializations. |
| 504 |
* configure saves compiler output to ./config.log for debugging. |
| 505 |
* New files autoconf.m4 and autoheader.m4 load the other Autoconf macros. |
| 506 |
* acsite.m4 is the new name for the system-wide aclocal.m4. |
| 507 |
* Has a DejaGnu test suite. |
| 508 |
|
| 509 |
Major changes in Autoconf 1.11: |
| 510 |
|
| 511 |
* AC_PROG_INSTALL calls install.sh with the -c option. |
| 512 |
* AC_SET_MAKE cleans up after itself. |
| 513 |
* AC_OUTPUT sets prefix and exec_prefix if they weren't set already. |
| 514 |
* AC_OUTPUT prevents shells from looking in PATH for config.status. |
| 515 |
|
| 516 |
Plus a few other bug fixes. |
| 517 |
|
| 518 |
Major changes in Autoconf 1.10: |
| 519 |
|
| 520 |
* autoheader uses config.h.bot if present, analogous to config.h.top. |
| 521 |
* AC_PROG_INSTALL looks for install.sh in srcdir or srcdir/.. and |
| 522 |
never uses cp. |
| 523 |
* AC_PROG_CXX looks for cxx as a C++ compiler. |
| 524 |
|
| 525 |
Plus several bugs fixed. |
| 526 |
|
| 527 |
Major changes in Autoconf 1.9: |
| 528 |
|
| 529 |
* AC_YYTEXT_POINTER replaces AC_DECLARE_YYTEXT. |
| 530 |
* AC_SIZEOF_TYPE generates the cpp symbol name automatically, |
| 531 |
and autoheader generates entries for those names automatically. |
| 532 |
* AC_FIND_X gets the result from xmkmf correctly. |
| 533 |
* AC_FIND_X assumes no X if --without-x was given. |
| 534 |
* AC_FIND_XTRA adds libraries to the variable X_EXTRA_LIBS. |
| 535 |
* AC_PROG_INSTALL finds OSF/1 installbsd. |
| 536 |
|
| 537 |
Major changes in Autoconf 1.8: |
| 538 |
|
| 539 |
** New macros: |
| 540 |
* New macros AC_LANG_C, AC_LANG_CPLUSPLUS, AC_LANG_SAVE, AC_LANG_RESTORE, |
| 541 |
AC_PROG_CXX, AC_PROG_CXXCPP, AC_REQUIRE_CPP |
| 542 |
for checking both C++ and C features in one configure script. |
| 543 |
* New macros AC_CHECKING, AC_VERBOSE, AC_WARN, AC_ERROR for printing messages. |
| 544 |
* New macros AC_FIND_XTRA, AC_MMAP, AC_SIZEOF_TYPE, AC_PREREQ, |
| 545 |
AC_SET_MAKE, AC_ENABLE. |
| 546 |
|
| 547 |
** Changed macros: |
| 548 |
* AC_FIND_X looks for X in more places. |
| 549 |
* AC_PROG_INSTALL defaults to install.sh instead of cp, if it's in srcdir. |
| 550 |
install.sh is distributed with Autoconf. |
| 551 |
* AC_DECLARE_YYTEXT has been removed because it can't work, pending |
| 552 |
a rewrite of quoting in AC_DEFINE. |
| 553 |
* AC_OUTPUT adds its comments in C format when substituting in C files. |
| 554 |
* AC_COMPILE_CHECK protects its ECHO-TEXT argument with double quotes. |
| 555 |
|
| 556 |
** New or changed command line options: |
| 557 |
* configure accepts --enable-FEATURE[=ARG] and --disable-FEATURE options. |
| 558 |
* configure accepts --without-PACKAGE, which sets withval=no. |
| 559 |
* configure accepts --x-includes=DIR and --x-libraries=DIR. |
| 560 |
* Giving --with-PACKAGE no argument sets withval=yes instead of withval=1. |
| 561 |
* configure accepts --help, --version, --silent/--quiet, --no-create options. |
| 562 |
* configure accepts and ignores most other Cygnus configure options, and |
| 563 |
warns about unknown options. |
| 564 |
* config.status accepts --help, --version options. |
| 565 |
|
| 566 |
** Paths and other changes: |
| 567 |
* Relative srcdir values are not made absolute. |
| 568 |
* The values of @prefix@ and @exec_prefix@ and @top_srcdir@ get substituted. |
| 569 |
* Autoconf library files are installed in ${datadir}/autoconf, not ${datadir}. |
| 570 |
* autoheader optionally copies config.h.top to the beginning of config.h.in. |
| 571 |
* The example Makefile dependencies for configure et al. work better. |
| 572 |
* Namespace cleanup: all shell variables used internally by Autoconf |
| 573 |
have names beginning with `ac_'. |
| 574 |
|
| 575 |
More big improvements are in process for future releases, but have not |
| 576 |
yet been (variously) finished, integrated, tested, or documented enough |
| 577 |
to release yet. |
| 578 |
|
| 579 |
Major changes in Autoconf 1.7: |
| 580 |
|
| 581 |
* New macro AC_OBSOLETE. |
| 582 |
* Bugs in Makefile.in fixed. |
| 583 |
* AC_LONG_FILE_NAMES improved. |
| 584 |
|
| 585 |
Major changes in Autoconf 1.6: |
| 586 |
|
| 587 |
* New macro AC_LONG_64_BITS. |
| 588 |
* Multiple .h files can be created. |
| 589 |
* AC_FIND_X looks for X files directly if it doesn't find xmkmf. |
| 590 |
* AC_ALLOCA defines C_ALLOCA if using alloca.c. |
| 591 |
* --with-NAME can take a value, e.g., --with-targets=sun4,hp300bsd. |
| 592 |
* Unused --no-create option to configure removed. |
| 593 |
* autoheader doesn't change the timestamp of its output file if |
| 594 |
the file didn't change. |
| 595 |
* All macros that look for libraries now use AC_HAVE_LIBRARY. |
| 596 |
* config.status checks three optional environment variables to |
| 597 |
modify its behavior. |
| 598 |
* The usual bug fixes. |
| 599 |
|
| 600 |
Major changes in Autoconf 1.5: |
| 601 |
|
| 602 |
* New macros AC_FIND_X, AC_OFF_T, AC_STAT_MACROS_BROKEN, AC_REVISION. |
| 603 |
* autoconf and autoheader scripts have GNU standards conforming |
| 604 |
--version and --help options (they print their message and exit). |
| 605 |
* Many bug fixes. |
| 606 |
|
| 607 |
Major changes in Autoconf 1.4: |
| 608 |
|
| 609 |
* New macros AC_HAVE_POUNDBANG, AC_TIME_WITH_SYS_TIME, AC_LONG_DOUBLE, |
| 610 |
AC_GETGROUPS_T, AC_DEFINE_UNQUOTED. |
| 611 |
* autoconf and autoheader use the M4 environment variable to determine the |
| 612 |
path of the m4 program to use. |
| 613 |
* The --macrodir option to autoconf and autoheader specifies the directory |
| 614 |
in which acspecific.m4, acgeneral.m4, etc. reside if not the default. |
| 615 |
* autoconf and autoheader can take `-' as their file names, which means to |
| 616 |
read stdin as input. |
| 617 |
* Resulting configure scripts can take a --verbose option which causes them |
| 618 |
to print the results of their tests. |
| 619 |
* AC_DEFINE quotes its second argument in such a way that spaces, magic |
| 620 |
shell characters, etc. will be preserved during various stages of |
| 621 |
expansion done by the shell. If you don't want this, use |
| 622 |
AC_DEFINE_UNQUOTED instead. |
| 623 |
* Much textual processing done with external calls to tr and sed have been |
| 624 |
internalized with builtin m4 `patsubst' and `translit' calls. |
| 625 |
* AC_OUTPUT doesn't hardwire the filenames it outputs. Instead, you can |
| 626 |
set the shell variables `gen_files' and `gen_config' to the list of |
| 627 |
filenames to output. |
| 628 |
* AC_DECLARE_YYTEXT does an AC_SUBST of `LEX_OUTPUT_ROOT', which may be |
| 629 |
"lex.yy" or "lexyy", depending on the system. |
| 630 |
* AC_PROGRAMS_CHECK takes an optional third arg. If given, it is used as |
| 631 |
the default value. |
| 632 |
* If AC_ALLOCA chooses alloca.c, it also defines STACK_DIRECTION. |
| 633 |
* AC_CONST works much more reliably on more systems. |
| 634 |
* Many bug fixes. |
| 635 |
|
| 636 |
Major changes in Autoconf 1.3: |
| 637 |
|
| 638 |
configure no longer requires awk for packages that use a config.h. |
| 639 |
Support handling --with-PACKAGE options. |
| 640 |
New `autoheader' script to create `config.h.in' from `configure.in'. |
| 641 |
Ignore troublesome -lucb and -lPW when searching for alloca. |
| 642 |
Rename --exec_prefix to --exec-prefix for GNU standards conformance. |
| 643 |
Improve detection of STDC library. |
| 644 |
Add AC_HAVE_LIBRARY to check for non-default libraries. |
| 645 |
Function checking should work with future GNU libc releases. |
| 646 |
|
| 647 |
Major changes in Autoconf 1.2: |
| 648 |
|
| 649 |
The --srcdir option is now usually unnecessary. |
| 650 |
Add a file containing sample comments describing CPP macros. |
| 651 |
A comment in config.status tells which host it was configured on. |
| 652 |
Substituted variable values can now contain commas. |
| 653 |
Fix bugs in various feature checks. |
| 654 |
|
| 655 |
Major changes in Autoconf 1.1: |
| 656 |
|
| 657 |
Added AC_STRCOLL macro. |
| 658 |
Made AC_GETLOADAVG check for more things. |
| 659 |
AC_OUTPUT argument is now optional. |
| 660 |
Various bug fixes. |