summaryrefslogtreecommitdiffstats
path: root/source/param/loadparm.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
commit2dbb41a7b88e7fad63579111aaab4a1cd28c54d5 (patch)
treedb871de0f3ec3655e0235cebc31d160098e4514a /source/param/loadparm.c
parentbfce4ba7b6db261d981a60a7e262f2f690355f5c (diff)
downloadsamba-2dbb41a7b88e7fad63579111aaab4a1cd28c54d5.tar.gz
samba-2dbb41a7b88e7fad63579111aaab4a1cd28c54d5.tar.xz
samba-2dbb41a7b88e7fad63579111aaab4a1cd28c54d5.zip
Fixed detection of CUPS. We need to check for the presence of the cups
header files as well as libcups.
Diffstat (limited to 'source/param/loadparm.c')
-rw-r--r--source/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index 85bcd52ff18..4ade7505438 100644
--- a/source/param/loadparm.c
+++ b/source/param/loadparm.c
@@ -1062,7 +1062,7 @@ static void init_printer_values(void)
break;
case PRINT_CUPS:
-#ifdef HAVE_LIBCUPS
+#ifdef HAVE_CUPS
string_set(&sDefault.szLpqcommand, "");
string_set(&sDefault.szLprmcommand, "");
string_set(&sDefault.szPrintcommand, "");
@@ -1088,7 +1088,7 @@ static void init_printer_values(void)
string_set(&sDefault.szQueueresumecommand,
"/usr/bin/enable %p");
string_set(&Globals.szPrintcapname, "lpstat");
-#endif /* HAVE_LIBCUPS */
+#endif /* HAVE_CUPS */
break;
case PRINT_SYSV: