diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-16 06:11:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:15:37 -0500 |
commit | 2f119fc7a84835287104b377babe7a0fc7ac8427 (patch) | |
tree | 462b2d27cdbeffd7643fe077345185de83585557 /source4/build | |
parent | d6fed337112380695f8fabe8dc08b9b0dd05d7a6 (diff) | |
download | samba-2f119fc7a84835287104b377babe7a0fc7ac8427.tar.gz samba-2f119fc7a84835287104b377babe7a0fc7ac8427.tar.xz 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.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 index c15da036373..d565bcf2781 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 |