From 99a2171f8b7ea1e2fda1060e07b2d7cd0ba5c8ae Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 8 Apr 2010 15:04:55 -0600 Subject: [PATCH] s3-waf: correctly handle cups dependencies when cups development packages are not installed --- source3/wscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source3/wscript b/source3/wscript index bb17c7cccbd..ef06a7e7b01 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') -- 2.11.4.GIT