home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / autoconf-2.1-src.lha / autoconf-2.1 / NEWS < prev    next >
Encoding:
Text File  |  1994-11-04  |  12.0 KB  |  273 lines

  1. Major changes in release 2.1:
  2.  
  3. * Fix C++ problems.
  4. * More explanations in the manual.
  5. * Fix a spurious failure in the testsuite.
  6. * Clarify some warning messages.
  7. * autoreconf by default only rebuilds configure and config.h.in files
  8.   that are older than any of their particular input files; there is a
  9.   --force option to use after installing a new version of Autoconf.
  10.  
  11. Thanks to everybody who's submitted changes and additions to Autoconf!
  12. I've incorporated many of them, and am still considering others for
  13. future releases -- but I didn't want to postpone this release indefinitely.
  14.  
  15. Caution: don't indiscriminantly rebuild configure scripts with
  16. Autoconf version 2.  Some configure.in files need minor adjustments to
  17. work with it; the documentation has a chapter on upgrading.  A few
  18. configure.in files, including those for GNU Emacs and the GNU C
  19. Library, need major changes because they relied on undocumented
  20. internals of version 1.  Future releases of those packages will have
  21. updated configure.in files.
  22.  
  23. It's best to use GNU m4 1.3 (or later) with Autoconf version 2.
  24. Autoconf now makes heavy use of m4 diversions, which were implemented
  25. inefficiently in GNU m4 releases before 1.3.
  26.  
  27. Major changes in release 2.0:
  28.  
  29. ** New copyright terms:
  30. * There are no restrictions on distribution or use of configure scripts.
  31.  
  32. ** Documentation:
  33. * Autoconf manual is reorganized to make information easier to find
  34.   and has several new indexes.
  35. * INSTALL is reorganized and clearer and is now made from Texinfo source.
  36.  
  37. ** New utilities:
  38. * autoscan to generate a preliminary configure.in for a package by
  39.   scanning its source code for commonly used nonportable functions,
  40.   programs, and header files.
  41. * ifnames to list the symbols used in #if and #ifdef directives in a
  42.   source tree.
  43. * autoupdate to update a configure.in to use the version 2 macro names.
  44. * autoreconf to recursively remake configure and configuration header
  45.   files in a source tree.
  46.  
  47. ** Changed utilities:
  48. * autoheader can take pieces of acconfig.h to replace config.h.{top,bot}.
  49. * autoconf and autoheader can look for package-local definition files
  50.   in an alternate directory.
  51.  
  52. ** New macros:
  53. * AC_CACHE_VAL to share results of tests between configure runs.
  54. * AC_DEFUN to define macros, automatically AC_PROVIDE them, and ensure
  55.   that macros invoked with AC_REQUIRE don't interrupt other macros.
  56. * AC_CONFIG_AUX_DIR, AC_CANONICAL_SYSTEM, AC_CANONICAL_HOST, AC_LINK_FILES to
  57.   support deciding unguessable features based on the host and target types.
  58. * AC_CONFIG_SUBDIRS to recursively configure a source tree.
  59. * AC_ARG_PROGRAM to use the options --program-prefix,
  60.   --program-suffix, and --program-transform-name to change the names
  61.   of programs being installed.
  62. * AC_PREFIX_DEFAULT to change the default installation prefix.
  63. * AC_TRY_COMPILE to compile a test program without linking it.
  64. * AC_CHECK_TYPE to check whether sys/types.h or stdlib.h defines a given type.
  65. * AC_CHECK_LIB to check for a particular function and library.
  66. * AC_MSG_CHECKING and AC_MSG_RESULT to print test results, on a single line,
  67.   whether or not the test succeeds.  They obsolete AC_CHECKING and AC_VERBOSE.
  68. * AC_SUBST_FILE to insert one file into another.
  69. * AC_FUNC_MEMCMP to check whether memcmp is 8-bit clean.
  70. * AC_FUNC_STRFTIME to find strftime even if it's in -lintl.
  71. * AC_FUNC_GETMNTENT to find getmntent even if it's in -lsun or -lseq.
  72. * AC_HEADER_SYS_WAIT to check whether sys/wait.h is POSIX.1 compatible.
  73.  
  74. ** Changed macros:
  75. * Many macros renamed systematically, but old names are accepted for
  76.   backward compatibility.
  77. * AC_OUTPUT adds the "automatically generated" comment to
  78.   non-Makefiles where it finds @configure_input@ in an input file, to
  79.   support files with various comment syntaxes.
  80. * AC_OUTPUT does not replace "prefix" and "exec_prefix" in generated
  81.   files when they are not enclosed in @ signs.
  82. * AC_OUTPUT allows the optional environment variable CONFIG_STATUS to
  83.   override the file name "config.status".
  84. * AC_OUTPUT takes an optional argument for passing variables from
  85.   configure to config.status.
  86. * AC_OUTPUT and AC_CONFIG_HEADER allow you to override the input-file names.
  87. * AC_OUTPUT automatically substitutes the values of CFLAGS, CXXFLAGS,
  88.   CPPFLAGS, and LDFLAGS from the environment.
  89. * AC_PROG_CC and AC_PROG_CXX now set CFLAGS and CXXFLAGS, respectively.
  90. * AC_PROG_INSTALL looks for install-sh or install.sh in the directory
  91.   specified by AC_CONFIG_AUXDIR, or srcdir or srcdir/.. or
  92.   srcdir/../.. by default.
  93. * AC_DEFINE, AC_DEFINE_UNQUOTED, and AC_SUBST are more robust and smaller.
  94. * AC_DEFINE no longer prints anything, because of the new result reporting
  95.   mechanism (AC_MSG_CHECKING and AC_MSG_RESULT).
  96. * AC_VERBOSE pays attention to --quiet/--silent, not --verbose.
  97. * AC_ARG_ENABLE and AC_ARG_WITH support whitespace in the arguments to
  98.   --enable- and --with- options.
  99. * AC_CHECK_FUNCS and AC_CHECK_HEADERS take optional shell commands to
  100.   execute on success or failure.
  101. * Checking for C functions in C++ works.
  102.  
  103. ** Removed macros:
  104. * AC_REMOTE_TAPE and AC_RSH removed; too specific to tar and cpio, and
  105.   better maintained with them.
  106. * AC_ARG_ARRAY removed because no one was likely using it.
  107. * AC_HAVE_POUNDBANG replaced with AC_SYS_INTERPRETER, which doesn't
  108.   take arguments, for consistency with all of the other specific checks.
  109.  
  110. ** New files:
  111. * Comes with config.sub and config.guess, and uses them optionally.
  112. * Uses config.cache to cache test results.  An alternate cache file
  113.   can be selected with the --cache-file=FILE option.
  114. * Uses optional shell scripts $prefix/share/config.site and
  115.   $prefix/etc/config.site to perform site or system specific initializations. 
  116. * configure saves compiler output to ./config.log for debugging.
  117. * New files autoconf.m4 and autoheader.m4 load the other Autoconf macros.
  118. * acsite.m4 is the new name for the system-wide aclocal.m4.
  119. * Has a DejaGnu test suite.
  120.  
  121. Major changes in release 1.11:
  122.  
  123. * AC_PROG_INSTALL calls install.sh with the -c option.
  124. * AC_SET_MAKE cleans up after itself.
  125. * AC_OUTPUT sets prefix and exec_prefix if they weren't set already.
  126. * AC_OUTPUT prevents shells from looking in PATH for config.status.
  127.  
  128. Plus a few other bug fixes.
  129.  
  130. Major changes in release 1.10:
  131.  
  132. * autoheader uses config.h.bot if present, analogous to config.h.top.
  133. * AC_PROG_INSTALL looks for install.sh in srcdir or srcdir/.. and
  134.   never uses cp.
  135. * AC_PROG_CXX looks for cxx as a C++ compiler.
  136.  
  137. Plus several bugs fixed.
  138.  
  139. Major changes in release 1.9:
  140.  
  141. * AC_YYTEXT_POINTER replaces AC_DECLARE_YYTEXT.
  142. * AC_SIZEOF_TYPE generates the cpp symbol name automatically,
  143.   and autoheader generates entries for those names automatically.
  144. * AC_FIND_X gets the result from xmkmf correctly.
  145. * AC_FIND_X assumes no X if --without-x was given.
  146. * AC_FIND_XTRA adds libraries to the variable X_EXTRA_LIBS.
  147. * AC_PROG_INSTALL finds OSF/1 installbsd.
  148.  
  149. Major changes in release 1.8:
  150.  
  151. ** New macros:
  152. * New macros AC_LANG_C, AC_LANG_CPLUSPLUS, AC_LANG_SAVE, AC_LANG_RESTORE,
  153.   AC_PROG_CXX, AC_PROG_CXXCPP, AC_REQUIRE_CPP
  154.   for checking both C++ and C features in one configure script.
  155. * New macros AC_CHECKING, AC_VERBOSE, AC_WARN, AC_ERROR for printing messages.
  156. * New macros AC_FIND_XTRA, AC_MMAP, AC_SIZEOF_TYPE, AC_PREREQ,
  157.   AC_SET_MAKE, AC_ENABLE.
  158.  
  159. ** Changed macros:
  160. * AC_FIND_X looks for X in more places.
  161. * AC_PROG_INSTALL defaults to install.sh instead of cp, if it's in srcdir.
  162.   install.sh is distributed with Autoconf.
  163. * AC_DECLARE_YYTEXT has been removed because it can't work, pending
  164.   a rewrite of quoting in AC_DEFINE.
  165. * AC_OUTPUT adds its comments in C format when substituting in C files.
  166. * AC_COMPILE_CHECK protects its ECHO-TEXT argument with double quotes.
  167.  
  168. ** New or changed command line options:
  169. * configure accepts --enable-FEATURE[=ARG] and --disable-FEATURE options.
  170. * configure accepts --without-PACKAGE, which sets withval=no.
  171. * configure accepts --x-includes=DIR and --x-libraries=DIR.
  172. * Giving --with-PACKAGE no argument sets withval=yes instead of withval=1.
  173. * configure accepts --help, --version, --silent/--quiet, --no-create options.
  174. * configure accepts and ignores most other Cygnus configure options, and
  175.   warns about unknown options.
  176. * config.status accepts --help, --version options.
  177.  
  178. ** Paths and other changes:
  179. * Relative srcdir values are not made absolute.
  180. * The values of @prefix@ and @exec_prefix@ and @top_srcdir@ get substituted.
  181. * Autoconf library files are installed in ${datadir}/autoconf, not ${datadir}.
  182. * autoheader optionally copies config.h.top to the beginning of config.h.in.
  183. * The example Makefile dependencies for configure et al. work better.
  184. * Namespace cleanup: all shell variables used internally by Autoconf
  185.   have names beginning with `ac_'.
  186.  
  187. More big improvements are in process for future releases, but have not
  188. yet been (variously) finished, integrated, tested, or documented enough
  189. to release yet.
  190.  
  191. Major changes in release 1.7:
  192.  
  193. * New macro AC_OBSOLETE.
  194. * Bugs in Makefile.in fixed.
  195. * AC_LONG_FILE_NAMES improved.
  196.  
  197. Major changes in release 1.6:
  198.  
  199. * New macro AC_LONG_64_BITS.
  200. * Multiple .h files can be created.
  201. * AC_FIND_X looks for X files directly if it doesn't find xmkmf.
  202. * AC_ALLOCA defines C_ALLOCA if using alloca.c.
  203. * --with-NAME can take a value, e.g., --with-targets=sun4,hp300bsd.
  204. * Unused --no-create option to configure removed.
  205. * autoheader doesn't change the timestamp of its output file if
  206.   the file didn't change.
  207. * All macros that look for libraries now use AC_HAVE_LIBRARY.
  208. * config.status checks three optional environment variables to
  209.   modify its behavior.
  210. * The usual bug fixes.
  211.  
  212. Major changes in release 1.5:
  213.  
  214. * New macros AC_FIND_X, AC_OFF_T, AC_STAT_MACROS_BROKEN, AC_REVISION.
  215. * autoconf and autoheader scripts have GNU standards conforming
  216.   --version and --help options (they print their message and exit).
  217. * Many bug fixes.
  218.  
  219. Major changes in release 1.4:
  220.  
  221. * New macros AC_HAVE_POUNDBANG, AC_TIME_WITH_SYS_TIME, AC_LONG_DOUBLE,
  222.   AC_GETGROUPS_T, AC_DEFINE_UNQUOTED.
  223. * autoconf and autoheader use the M4 environment variable to determine the
  224.   path of the m4 program to use.
  225. * The --macrodir option to autoconf and autoheader specifies the directory
  226.   in which acspecific.m4, acgeneral.m4, etc. reside if not the default.
  227. * autoconf and autoheader can take `-' as their file names, which means to
  228.   read stdin as input.
  229. * Resulting configure scripts can take a --verbose option which causes them
  230.   to print the results of their tests.
  231. * AC_DEFINE quotes its second argument in such a way that spaces, magic
  232.   shell characters, etc. will be preserved during various stages of
  233.   expansion done by the shell.  If you don't want this, use
  234.   AC_DEFINE_UNQUOTED instead.
  235. * Much textual processing done with external calls to tr and sed have been
  236.   internalized with builtin m4 `patsubst' and `translit' calls.
  237. * AC_OUTPUT doesn't hardwire the filenames it outputs.  Instead, you can
  238.   set the shell variables `gen_files' and `gen_config' to the list of
  239.   filenames to output.
  240. * AC_DECLARE_YYTEXT does an AC_SUBST of `LEX_OUTPUT_ROOT', which may be
  241.   "lex.yy" or "lexyy", depending on the system. 
  242. * AC_PROGRAMS_CHECK takes an optional third arg.  If given, it is used as
  243.   the default value. 
  244. * If AC_ALLOCA chooses alloca.c, it also defines STACK_DIRECTION.
  245. * AC_CONST works much more reliably on more systems.
  246. * Many bug fixes.
  247.  
  248. Major changes in release 1.3:
  249.  
  250. configure no longer requires awk for packages that use a config.h.
  251. Support handling --with-PACKAGE options.
  252. New `autoheader' script to create `config.h.in' from `configure.in'.
  253. Ignore troublesome -lucb and -lPW when searching for alloca.
  254. Rename --exec_prefix to --exec-prefix for GNU standards conformance.
  255. Improve detection of STDC library.
  256. Add AC_HAVE_LIBRARY to check for non-default libraries.
  257. Function checking should work with future GNU libc releases.
  258.  
  259. Major changes in release 1.2:
  260.  
  261. The --srcdir option is now usually unnecessary.
  262. Add a file containing sample comments describing CPP macros.
  263. A comment in config.status tells which host it was configured on.
  264. Substituted variable values can now contain commas.
  265. Fix bugs in various feature checks.
  266.  
  267. Major changes in release 1.1:
  268.  
  269. Added AC_STRCOLL macro.
  270. Made AC_GETLOADAVG check for more things.
  271. AC_OUTPUT argument is now optional.
  272. Various bug fixes.
  273.