summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-03-09 22:31:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:11:12 -0500
commitf0210601d19016d0c932ad1623e77a70c9aee023 (patch)
treea50ad4f6d1337f399d1635c806db365874ca3f83 /source3/configure.in
parent433e17148200ed76da4ece3ee9468862116bcc84 (diff)
downloadsamba-f0210601d19016d0c932ad1623e77a70c9aee023.tar.gz
samba-f0210601d19016d0c932ad1623e77a70c9aee023.tar.bz2
samba-f0210601d19016d0c932ad1623e77a70c9aee023.zip
r14111: Work around additional typedefs in the gamin implementation
of the FAM API. (This used to be commit dc96ce90e50da9a82f941b0b534c0681c8477f5e)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 08e52ef145..16efdf9289 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2272,6 +2272,11 @@ fi
if test x"$samba_cv_HAVE_LIBFAM" = x"yes" ; then
AC_DEFINE(HAVE_FAM_CHANGE_NOTIFY, 1,
[Whether FAM is file notifications are available])
+ AC_TRY_COMPILE([#include <fam.h>],
+ [FAMCodes code = FAMChanged;],
+ AC_DEFINE(HAVE_FAM_H_FAMCODES_TYPEDEF, 1,
+ [Whether fam.h contains a typedef for enum FAMCodes]),
+ [])
fi
AC_CACHE_CHECK([for kernel share modes],samba_cv_HAVE_KERNEL_SHARE_MODES,[