waf: Only build smb_krb5_wrapper if we have CUPS
authorAndreas Schneider <asn@samba.org>
Tue, 26 Jan 2016 10:28:50 +0000 (11:28 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 26 Jan 2016 14:58:12 +0000 (15:58 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/wscript_build

index 27e1b5ec7195a8c50226504e239b7f17c9e79db9..14cccc570712e7d9a191e3eff97392bfb36a2255 100755 (executable)
@@ -1190,7 +1190,8 @@ bld.SAMBA3_BINARY('smbspool_krb5_wrapper',
                  deps='''
                  DYNCONFIG
                  cups
-                 ''')
+                 ''',
+                 enabled=bld.CONFIG_SET('HAVE_CUPS'))
 
 bld.SAMBA3_BINARY('testparm',
                  source='utils/testparm.c',