summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-03-15 18:10:20 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-03-15 18:10:20 +0100
commit44787565715f0622cc1d049854427d735ca1c14b (patch)
tree4357b3d1d5a0fdb31348061ba20845bd464b622a /lib
parente548ec9c24d7f05fea81910b8c7cf3fc0bd137db (diff)
downloadsamba-44787565715f0622cc1d049854427d735ca1c14b.tar.gz
samba-44787565715f0622cc1d049854427d735ca1c14b.tar.bz2
samba-44787565715f0622cc1d049854427d735ca1c14b.zip
Strip /usr/include from include flags, so we don't end up including
the system tevent if it's too old.
Diffstat (limited to 'lib')
-rw-r--r--lib/util/fault.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util/fault.m4 b/lib/util/fault.m4
index bac553a158..c22976998e 100644
--- a/lib/util/fault.m4
+++ b/lib/util/fault.m4
@@ -9,6 +9,8 @@ if test x"$ac_cv_header_execinfo_h" = x"yes" -a x"$ac_cv_func_ext_backtrace" = x
EXECINFO_CPPFLAGS="$CPPFLAGS"
EXECINFO_LDFLAGS="$LDFLAGS"
LIB_REMOVE_USR_LIB(EXECINFO_LDFLAGS)
+ CFLAGS_REMOVE_USR_INCLUDE(EXECINFO_CFLAGS)
+ CFLAGS_REMOVE_USR_INCLUDE(EXECINFO_CPPFLAGS)
else
SMB_ENABLE(EXECINFO,NO)
fi