1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

s3-waf: Fix the CUPS dependency

This commit is contained in:
Kai Blin 2010-04-08 08:09:11 +02:00
parent 419873f2ee
commit adfd1db476
2 changed files with 6 additions and 3 deletions

View File

@ -276,8 +276,10 @@ yp_get_default_domain
# Look for CUPS
conf.find_program('cups-config', var='CUPS_CONFIG')
if conf.env.CUPS_CONFIG:
conf.check_cfg(path="cups-config", args="--cflags --ldflags --libs", package="", uselib_store="CUPS")
conf.CHECK_HEADERS('cups/cups.h cups/language.h', lib='CUPS')
conf.check_cfg(path="cups-config", args="--cflags --ldflags --libs",
package="", uselib_store="cups")
conf.CHECK_HEADERS('cups/cups.h cups/language.h', lib='cups')
conf.CHECK_LIB('cups')
# Check for LDAP
conf.CHECK_HEADERS('ldap.h lber.h')

View File

@ -683,7 +683,8 @@ bld.SAMBA_MKVERSION('include/version.h')
bld.SAMBA_BINARY('smbd/smbd',
source=SMBD_SRC,
deps='tdb DYNCONFIG tevent popt dl krb5 ldap gssapi gssapi_krb5 NSS_WRAPPER LIBWBCLIENT crypt nsl',
deps='''tdb DYNCONFIG tevent popt dl krb5 ldap gssapi gssapi_krb5
NSS_WRAPPER LIBWBCLIENT crypt nsl cups cap''',
includes='lib',
vars=locals())