change depending on the build environment. If you find any other cases
please report them as bugs.
+- The obsolete and undocumented macro AC_CONFIG_HEADER is now
+ diagnosed as obsolete, and replaced with AC_CONFIG_HEADERS by
+ autoupdate.
+
* Noteworthy changes in release 2.69 (2012-04-24) [stable]
** Autoconf now requires perl 5.6 or better (but generated configure
Released 1996-11-26 by David J. MacKenzie
-* AC_OUTPUT and AC_CONFIG_HEADER can create output files by
+* AC_OUTPUT and AC_CONFIG_HEADERS can create output files by
concatenating multiple input files separated by colons, like so:
- AC_CONFIG_HEADER(config.h:conf.pre:config.h.in:conf.post)
- AC_OUTPUT(Makefile:Makefile.in:Makefile.rules)
+ AC_CONFIG_HEADERS([config.h:conf.pre:config.h.in:conf.post])
+ AC_OUTPUT([Makefile:Makefile.in:Makefile.rules])
The arguments may be shell variables, to compute the lists on the fly.
* AC_LINK_FILES and AC_CONFIG_SUBDIRS may be called multiple times.
* New macro AC_OUTPUT_COMMANDS adds more commands to run in config.status.
* AC_PROG_CC and AC_PROG_CXX check whether the compiler works.
They also default CFLAGS/CXXFLAGS to "-g -O2" for gcc, instead of "-g -O".
* AC_REPLACE_FUNCS defines HAVE_foo if the system has the function `foo'.
-* AC_CONFIG_HEADER expands shell variables in its argument.
+* AC_CONFIG_HEADERS expands shell variables in its argument.
* New macros: AC_FUNC_FNMATCH, AC_FUNC_SETPGRP.
* The "checking..." messages and the source code for test programs that
fail are saved in config.log.
override the file name "config.status".
* AC_OUTPUT takes an optional argument for passing variables from
configure to config.status.
-* AC_OUTPUT and AC_CONFIG_HEADER allow you to override the input-file names.
+* AC_OUTPUT and AC_CONFIG_HEADERS allow you to override the input-file names.
* AC_OUTPUT automatically substitutes the values of CFLAGS, CXXFLAGS,
CPPFLAGS, and LDFLAGS from the environment.
* AC_PROG_CC and AC_PROG_CXX now set CFLAGS and CXXFLAGS, respectively.
> It doesn't seem to add -DX_DISPLAY_MISSING to X_CFLAGS. X_DISPLAY_MISSING
> ends up defined in config.h, instead.
-That's only because you're no doubt using AC_CONFIG_HEADER(..) to send
+That's only because you're no doubt using AC_CONFIG_HEADERS([..]) to send
your defines to a config.h-style file. If you were to not use
-AC_CONFIG_HEADER and X was not available, then you would see
+AC_CONFIG_HEADERS and X was not available, then you would see
-DX_DISPLAY_MISSING being added to @DEFS@ as your output files were being
generated.
AC_DEFUN([AC_CONFIG_HEADERS], [_AC_CONFIG_FOOS([HEADERS], $@)])
-# AC_CONFIG_HEADER(HEADER-TO-CREATE ...)
+# AU::AC_CONFIG_HEADER(HEADER-TO-CREATE ...)
# --------------------------------------
-# FIXME: Make it obsolete?
-AC_DEFUN([AC_CONFIG_HEADER],
-[AC_CONFIG_HEADERS([$1])])
+AU_ALIAS([AC_CONFIG_HEADER], [AC_CONFIG_HEADERS])
# _AC_OUTPUT_HEADERS_PREPARE