smbd: fix build with FAM support
authorRalph Boehme <slow@samba.org>
Fri, 12 Feb 2016 16:25:09 +0000 (17:25 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 14 Feb 2016 12:50:56 +0000 (13:50 +0100)
Add missing define of HAVE_FAM when FAM is detected.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11733

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Sun Feb 14 13:50:56 CET 2016 on sn-devel-144

source3/wscript

index d9e10c0349425c7e56ec8c029cddfb7d23ec1f41..8fe13749d28700dc7d709b3e7c450c3ad32438b3 100644 (file)
@@ -204,6 +204,7 @@ main() {
 
     if samba_fam_libs is not None:
         conf.DEFINE('SAMBA_FAM_LIBS', samba_fam_libs)
+        conf.DEFINE('HAVE_FAM', 1)
     else:
         if Options.options.with_fam == True:
             conf.fatal('FAM support requested, but no suitable FAM library found')