summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-08 15:04:55 -0600
committerKai Blin <kai@samba.org>2010-05-20 22:16:13 +0200
commit99a2171f8b7ea1e2fda1060e07b2d7cd0ba5c8ae (patch)
treea06f93f97b22157c8f5244c308aacc7383d0de68
parent3d1c0f1a2152b456be112ce992d281e0234f1a96 (diff)
downloadsamba-99a2171f8b7ea1e2fda1060e07b2d7cd0ba5c8ae.tar.gz
samba-99a2171f8b7ea1e2fda1060e07b2d7cd0ba5c8ae.tar.bz2
samba-99a2171f8b7ea1e2fda1060e07b2d7cd0ba5c8ae.zip
s3-waf: correctly handle cups dependencies when cups development packages are not installed
-rw-r--r--source3/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index bb17c7cccb..ef06a7e7b0 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -287,6 +287,9 @@ yp_get_default_domain
package="", uselib_store="cups")
conf.CHECK_HEADERS('cups/cups.h cups/language.h', lib='cups')
conf.CHECK_LIB('cups')
+ else:
+ # define an empty subsystem for cups, to allow it to be used as an empty dependency
+ conf.SET_TARGET_TYPE('cups', 'EMPTY')
# Check for LDAP
conf.CHECK_HEADERS('ldap.h lber.h')