summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-16 06:11:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:37 -0500
commit2f119fc7a84835287104b377babe7a0fc7ac8427 (patch)
tree462b2d27cdbeffd7643fe077345185de83585557 /source4/build
parentd6fed337112380695f8fabe8dc08b9b0dd05d7a6 (diff)
downloadsamba-2f119fc7a84835287104b377babe7a0fc7ac8427.tar.gz
samba-2f119fc7a84835287104b377babe7a0fc7ac8427.tar.bz2
samba-2f119fc7a84835287104b377babe7a0fc7ac8427.zip
r17566: test if the compiler support inline, this results
in #define inline if the compiler doesn't support it This hopefully fix the build on some hosts, however we should not start to use inline in our code this is more to not need to touch imported files from heimdal or popt. metze (This used to be commit 687d69af6228d159a0dfc59c44eb0a1349a51f2b)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/m4/check_cc.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4
index c15da03637..d565bcf278 100644
--- a/source4/build/m4/check_cc.m4
+++ b/source4/build/m4/check_cc.m4
@@ -26,6 +26,8 @@ fi
dnl needed before AC_TRY_COMPILE
AC_ISC_POSIX
+AC_C_INLINE
+
AC_CACHE_CHECK([that the C compiler can precompile header files],samba_cv_precompiled_headers, [
dnl Check whether the compiler can generate precompiled headers
touch conftest.h