[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_C_TYPEOF documentation
From: |
Bruno Haible |
Subject: |
AC_C_TYPEOF documentation |
Date: |
Tue, 18 Apr 2006 14:37:13 +0200 |
User-agent: |
KMail/1.5 |
Hi,
The AC_C_TYPEOF documentation makes it sounds as if, in order to use
'typeof', a program needs to do
#if HAVE_TYPEOF || defined typeof
But actually, looking at the implementation in c.m4, a
#if HAVE_TYPEOF
is enough. Here is a documentation fix.
Bruno
2006-04-13 Bruno Haible <address@hidden>
* doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF explanation.
*** autoconf.texi.bak 2006-04-12 22:42:16.000000000 +0200
--- autoconf.texi 2006-04-14 00:14:55.000000000 +0200
***************
*** 6296,6302 ****
If the C compiler supports GCC's @code{typeof} syntax, define
@code{HAVE_TYPEOF}. If the support is available only via a different
spelling of the keyword (e.g., @code{__typeof__}), define @code{typeof}
! to that spelling.
@end defmac
@defmac AC_C_PROTOTYPES
--- 6296,6302 ----
If the C compiler supports GCC's @code{typeof} syntax, define
@code{HAVE_TYPEOF}. If the support is available only via a different
spelling of the keyword (e.g., @code{__typeof__}), define @code{typeof}
! to that spelling and define @code{HAVE_TYPEOF} as well.
@end defmac
@defmac AC_C_PROTOTYPES
- AC_C_TYPEOF documentation,
Bruno Haible <=