From a22c38d70a4b020155588e362cc92bf38262d14f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 15 May 2004 18:42:45 +0000 Subject: r748: get some more info about what the compilers in the build farm support what we need is a test if the compiler does ANSI c99 metze (This used to be commit e8a11e441b074f9dc1c7c24c9048f8927dac8e59) --- source4/build/m4/rewrite.m4 | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'source4/build') diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4 index f112ea7fc1..1639a42939 100644 --- a/source4/build/m4/rewrite.m4 +++ b/source4/build/m4/rewrite.m4 @@ -323,15 +323,22 @@ case "$host_os" in fi ;; esac + +AC_CHECK_SIZEOF(int,cross) +AC_CHECK_SIZEOF(short,cross) +AC_CHECK_SIZEOF(long,cross) +AC_CHECK_SIZEOF(long long,cross) +AC_CHECK_HEADERS(stdint.h) +AC_CHECK_HEADERS(inttypes.h) +AC_CHECK_SIZEOF(_Bool,cross) +AC_CHECK_HEADERS(stdbool.h) + AC_CHECK_HEADERS(shadow.h netinet/ip.h netinet/tcp.h netinet/in_systm.h netinet/in_ip.h) AC_CHECK_HEADERS(nss.h nss_common.h ns_api.h sys/security.h security/pam_appl.h security/pam_modules.h) AC_CHECK_HEADERS(stropts.h) AC_CHECK_HEADERS(sys/capability.h syscall.h sys/syscall.h) AC_CHECK_HEADERS(sys/acl.h) -AC_CHECK_SIZEOF(int,cross) -AC_CHECK_SIZEOF(long,cross) -AC_CHECK_SIZEOF(short,cross) AC_C_CONST AC_C_INLINE -- cgit