From d1f53e404496dff10df7dc5e5b58ed676982c955 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 23 Aug 2001 19:06:20 +0000 Subject: 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) --- source3/param/loadparm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 85bcd52ff1..4ade750543 100644 --- a/source3/param/loadparm.c +++ b/source3/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: -- cgit