Fix detection of "enum FAMCodes"
[ira/wip.git] / source3 / configure.in
index acbefe6d7b364c8e1669e122c8a63b88b2f78bf1..cafe735b6b273495a07e1d9f097c7ae472855fe4 100644 (file)
@@ -2452,7 +2452,7 @@ if test x$enable_fam != xno; then
     if test x"$samba_cv_HAVE_LIBFAM" = x"yes" ; then
         default_shared_modules="$default_shared_modules vfs_notify_fam"
         AC_TRY_COMPILE([#include <fam.h>],
-                    [FAMCodes code = FAMChanged;],
+                    [enum FAMCodes code = FAMChanged;],
                     AC_DEFINE(HAVE_FAM_H_FAMCODES_TYPEDEF, 1,
                         [Whether fam.h contains a typedef for enum FAMCodes]),
                     [])