* NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
commit427e34b361188a36bba44e5088bb60db01db8a47
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Aug 2006 16:24:42 +0000 (15 16:24 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Aug 2006 16:24:42 +0000 (15 16:24 +0000)
treef12c2c27df5ab55f1c3a8d22f29ef0a40b2addfd
parentbf41565f6b91c003aaa68db102b0fb78c1c1e8ae
* NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H"
rather than "#if HAVE_STDLIB_H", so that it now works with "gcc
-Wundef -Werror".  Problem reported by David Fang in
<http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>.
* doc/autoconf.texi (Header Templates, Default Includes):
(Particular Functions, Generic Functions, Header Portability):
(Particular Headers, Generic Headers, Generic Declarations, Guidelines):
(Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO):
(Present But Cannot Be Compiled, Preprocessor Symbol Index):
Prefer #ifdef to #if.
* lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if.
* lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF):
(AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
(AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK):
Likewise.
* lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
(AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise.
* lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST):
(AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
* lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Likewise.
* lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that
S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee
this.
ChangeLog
NEWS
doc/autoconf.texi
lib/autoconf/c.m4
lib/autoconf/functions.m4
lib/autoconf/headers.m4
lib/autoconf/specific.m4
lib/autoconf/types.m4