mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-05 11:10:57 +08:00
Detect _Bool bug in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003].
This commit is contained in:
parent
d3ac02e267
commit
89d95a47eb
@ -1,3 +1,9 @@
|
||||
2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
|
||||
in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
|
||||
by Jim Meyering.
|
||||
|
||||
2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
|
||||
|
@ -530,8 +530,14 @@ AC_DEFUN([AC_HEADER_STDBOOL],
|
||||
char g[true];
|
||||
char h[sizeof (_Bool)];
|
||||
char i[sizeof s.t];
|
||||
enum { j = false, k = true, l = false * true, m = true * 256 };
|
||||
_Bool n[m];
|
||||
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
|
||||
]],
|
||||
[[ return !a + !b + !c + !d + !e + !f + !g + !h + !i; ]])],
|
||||
[[
|
||||
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k + !l
|
||||
+ !m + !n + !o);
|
||||
]])],
|
||||
[ac_cv_header_stdbool_h=yes],
|
||||
[ac_cv_header_stdbool_h=no])])
|
||||
AC_CHECK_TYPES([_Bool])
|
||||
|
Loading…
Reference in New Issue
Block a user