summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-04-08 08:09:11 +0200
committerKai Blin <kai@samba.org>2010-05-20 22:16:13 +0200
commitadfd1db476cb1c399d5146b47f432199c585666c (patch)
treee25968e37af71177e843db1f4710256956cd69e0 /source3/wscript
parent419873f2ee9997edd06f95758f7ab10aa1a8d15b (diff)
downloadsamba-adfd1db476cb1c399d5146b47f432199c585666c.tar.gz
samba-adfd1db476cb1c399d5146b47f432199c585666c.tar.bz2
samba-adfd1db476cb1c399d5146b47f432199c585666c.zip
s3-waf: Fix the CUPS dependency
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/wscript b/source3/wscript
index 4716008e0b..5b582b5f49 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -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')