"Unknown Type Name" build failure(s) — clang 3.1

Some type detections are failing or wrong assumptions were made. For example, with strace, old configure are doing some tests on the bool (stdbool.h) declaration but fails on:
conftest.c:84:16: error: initializer element is not a compile-time constant
         int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Provided by the macro AC_HEADER_STDBOOL but removed in recent release of autoconf
PackageVersionSupposed error messageFull log Bug report
curves 0.8.19./cvs.h:83:3: error: unknown type name 'VOIDPINT' Log
efilinux 1.0-1efibind.h:88:9: error: unknown type name 'uint64_t' Log
elilo 3.12-4.1efibind.h:88:9: error: unknown type name 'uint64_t' Log
g-wrap 1.9.14-1inttypes.h:298:8: error: unknown type name 'intmax_t' Log
gnu-efi 3.0i-3../../lib/../inc/ia32/efibind.h:88:9: error: unknown type name 'uint64_t' Log
gnupg2 2.0.19-1inttypes.h:298:8: error: unknown type name 'intmax_t' Log
kexec-tools 1:2.0.3-1stdint-gcc.h:60:9: error: unknown type name '__INT_LEAST8_TYPE__' Log
luajit 2.0.0~beta9+dfsg-2./lj_err.c:205:47: error: unknown type name '_Unwind_Action' Log
nemiver 0.9.2-1./nmv-find-text-dialog.h:38:9: error: unknown type name 'SafePtr' Log
rcs-blame 1.3.1-2inttypes.h:298:8: error: unknown type name 'intmax_t' Log
refit 0.14-2efibind.h:88:9: error: unknown type name 'uint64_t' Log
scim-anthy 1.2.7-3scim_anthy_setup.cpp:177:8: error: unknown type name 'GtkTooltips'; did you mean 'GtkTooltip'? Log
scim-canna 1.0.0-4scim_canna_imengine_setup.cpp:156:8: error: unknown type name 'GtkTooltips'; did you mean 'GtkTooltip'? Log
scim-prime 1.0.0-4scim_prime_imengine_setup.cpp:131:8: error: unknown type name 'GtkTooltips'; did you mean 'GtkTooltip'? Log
scim-tables 0.5.9-1scim_table_imengine_setup.cpp:196:8: error: unknown type name 'GtkTooltips'; did you mean 'GtkTooltip'? Log
tarantool 1.4.6+20120524-1lj_err.c:205:47: error: unknown type name '_Unwind_Action' Log

16 errors