From f0210601d19016d0c932ad1623e77a70c9aee023 Mon Sep 17 00:00:00 2001 From: James Peach Date: Thu, 9 Mar 2006 22:31:05 +0000 Subject: r14111: Work around additional typedefs in the gamin implementation of the FAM API. (This used to be commit dc96ce90e50da9a82f941b0b534c0681c8477f5e) --- source3/configure.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/configure.in') 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 ], + [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,[ -- cgit