summaryrefslogtreecommitdiff
path: root/source4/build/m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-15 18:42:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:48 -0500
commita22c38d70a4b020155588e362cc92bf38262d14f (patch)
tree3e950bf13d91956d665b2d2c7a42177fb23a2848 /source4/build/m4
parent78aa17221b58c231acbd6b573ffa5d8607a875c3 (diff)
downloadsamba-a22c38d70a4b020155588e362cc92bf38262d14f.tar.gz
samba-a22c38d70a4b020155588e362cc92bf38262d14f.tar.bz2
samba-a22c38d70a4b020155588e362cc92bf38262d14f.zip
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)
Diffstat (limited to 'source4/build/m4')
-rw-r--r--source4/build/m4/rewrite.m413
1 files changed, 10 insertions, 3 deletions
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