diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-08 15:04:55 -0600 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2010-05-20 22:16:13 +0200 |
commit | 99a2171f8b7ea1e2fda1060e07b2d7cd0ba5c8ae (patch) | |
tree | a06f93f97b22157c8f5244c308aacc7383d0de68 /source3/wscript | |
parent | 3d1c0f1a2152b456be112ce992d281e0234f1a96 (diff) | |
download | samba-99a2171f8b7ea1e2fda1060e07b2d7cd0ba5c8ae.tar.gz samba-99a2171f8b7ea1e2fda1060e07b2d7cd0ba5c8ae.tar.bz2 samba-99a2171f8b7ea1e2fda1060e07b2d7cd0ba5c8ae.zip |
s3-waf: correctly handle cups dependencies when cups development packages are not installed
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 3 |
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') |