summaryrefslogtreecommitdiff
path: root/source3/printing/print_cups.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-08-23 19:06:20 +0000
committerTim Potter <tpot@samba.org>2001-08-23 19:06:20 +0000
commitd1f53e404496dff10df7dc5e5b58ed676982c955 (patch)
treed43108f7f1a4fe99602b919032166e5935411413 /source3/printing/print_cups.c
parent2f6486b55f05947205c380e071b16cd40af4d057 (diff)
downloadsamba-d1f53e404496dff10df7dc5e5b58ed676982c955.tar.gz
samba-d1f53e404496dff10df7dc5e5b58ed676982c955.tar.bz2
samba-d1f53e404496dff10df7dc5e5b58ed676982c955.zip
Fixed detection of CUPS. We need to check for the presence of the cups
header files as well as libcups. (This used to be commit 2dbb41a7b88e7fad63579111aaab4a1cd28c54d5)
Diffstat (limited to 'source3/printing/print_cups.c')
-rw-r--r--source3/printing/print_cups.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c
index ab2ba20b9c..c2feb2a83c 100644
--- a/source3/printing/print_cups.c
+++ b/source3/printing/print_cups.c
@@ -21,7 +21,7 @@
#include "printing.h"
#include "smb.h"
-#ifdef HAVE_LIBCUPS
+#ifdef HAVE_CUPS
#include <cups/cups.h>
#include <cups/language.h>
@@ -1189,4 +1189,4 @@ cups_queue_resume(int snum)
#else
/* this keeps fussy compilers happy */
void print_cups_dummy(void) {}
-#endif /* HAVE_LIBCUPS */
+#endif /* HAVE_CUPS */