git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d1c0f1
)
s3-waf: correctly handle cups dependencies when cups development packages are not...
author
Andrew Tridgell
<tridge@samba.org>
Thu, 8 Apr 2010 21:04:55 +0000
(15:04 -0600)
committer
Kai Blin
<kai@samba.org>
Thu, 20 May 2010 20:16:13 +0000
(22:16 +0200)
source3/wscript
patch
|
blob
|
history
diff --git
a/source3/wscript
b/source3/wscript
index bb17c7cccbda5eac6b8b4ded4f49c80e15c4357e..ef06a7e7b01ca8adde56036692f3b18d8694a809 100644
(file)
--- 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')