diff options
author | Tim Potter <tpot@samba.org> | 2001-08-23 19:06:20 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-08-23 19:06:20 +0000 |
commit | d1f53e404496dff10df7dc5e5b58ed676982c955 (patch) | |
tree | d43108f7f1a4fe99602b919032166e5935411413 /source3/param | |
parent | 2f6486b55f05947205c380e071b16cd40af4d057 (diff) | |
download | samba-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/param')
-rw-r--r-- | source3/param/loadparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
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: |