Fix detection of "enum FAMCodes"
authorVolker Lendecke <vl@samba.org>
Tue, 19 May 2009 18:45:22 +0000 (20:45 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 19 May 2009 18:46:52 +0000 (20:46 +0200)
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>],
     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]),
                     [])
                     AC_DEFINE(HAVE_FAM_H_FAMCODES_TYPEDEF, 1,
                         [Whether fam.h contains a typedef for enum FAMCodes]),
                     [])