summaryrefslogtreecommitdiffstats
path: root/source/include/includes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-17 00:31:39 +0000
committerJeremy Allison <jra@samba.org>1998-11-17 00:31:39 +0000
commitc1a3346547d887bfd2402a6b0bcc185680eb4470 (patch)
tree0fcf2f43a523b8e9021e6b394ad28cd69a4a18a4 /source/include/includes.h
parent6c25a3314243997508b0b2da4bfa10bb979e9c10 (diff)
downloadsamba-c1a3346547d887bfd2402a6b0bcc185680eb4470.tar.gz
samba-c1a3346547d887bfd2402a6b0bcc185680eb4470.tar.xz
samba-c1a3346547d887bfd2402a6b0bcc185680eb4470.zip
Moved PRINTCAP_NAME from smb.h to includes to allow it to
be tuned per system type. Jeremy.
Diffstat (limited to 'source/include/includes.h')
-rw-r--r--source/include/includes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index fc718961a95..24fb84c8035 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -29,6 +29,7 @@
#ifdef AIX
#define DEFAULT_PRINTING PRINT_AIX
+#define PRINTCAP_NAME "/etc/qconfig"
#endif
#ifdef HPUX
@@ -543,8 +544,10 @@ extern int errno;
#ifndef DEFAULT_PRINTING
#ifdef SYSV
#define DEFAULT_PRINTING PRINT_SYSV
+#define PRINTCAP_NAME "lpstat"
#else
#define DEFAULT_PRINTING PRINT_BSD
+#define PRINTCAP_NAME "/etc/printcap"
#endif
#endif