]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - config.h.in
ACL support for Linux (and possibly Solaris/*BSD)
[thirdparty/cups.git] / config.h.in
index 44d40ef35e342f109e6b1a66e624dc2f1761c43c..37efa9f5b85bb7e5cb4e7807bcd640a2fa9524dd 100644 (file)
@@ -5,7 +5,7 @@
  *
  *   @configure_input@
  *
- *   Copyright 1997-2005 by Easy Software Products.
+ *   Copyright 1997-2006 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
  *   property of Easy Software Products and are protected by Federal
 
 
 /*
- * Default user and group...
+ * Default user and groups...
  */
 
 #define CUPS_DEFAULT_USER      "lp"
 #define CUPS_DEFAULT_GROUP     "sys"
+#define CUPS_DEFAULT_SYSTEM_GROUPS     "sys root system"
+
+
+/*
+ * Default file permissions...
+ */
+
+#define CUPS_DEFAULT_CONFIG_FILE_PERM  0640
+#define CUPS_DEFAULT_LOG_FILE_PERM     0644
+
+
+/*
+ * Default browsing settings...
+ */
+
+#define CUPS_DEFAULT_BROWSING  1
+#define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS    "CUPS"
+#define CUPS_DEFAULT_BROWSE_REMOTE_PROTOCOLS   "CUPS"
+#define CUPS_DEFAULT_BROWSE_SHORT_NAMES        1
+#define CUPS_DEFAULT_DEFAULT_SHARED 1
+#define CUPS_DEFAULT_IMPLICIT_CLASSES  1
+#define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1
 
 
 /*
@@ -61,7 +83,7 @@
  * Do we have domain socket support?
  */
 
-#define CUPS_DEFAULT_DOMAINSOCKET ""
+#undef CUPS_DEFAULT_DOMAINSOCKET
 
 
 /*
@@ -71,6 +93,7 @@
  *       variables at run-time...
  */
 
+#define CUPS_BINDIR    "/usr/bin"
 #define CUPS_CACHEDIR  "/var/cache/cups"
 #define CUPS_DATADIR    "/usr/share/cups"
 #define CUPS_DOCROOT   "/usr/share/doc/cups"
 #define CUPS_LOCALEDIR "/usr/share/locale"
 #define CUPS_LOGDIR    "/var/logs/cups"
 #define CUPS_REQUESTS  "/var/spool/cups"
+#define CUPS_SBINDIR   "/usr/sbin"
 #define CUPS_SERVERBIN "/usr/lib/cups"
 #define CUPS_SERVERROOT        "/etc/cups"
 #define CUPS_STATEDIR  "/var/run/cups"
 
 
-/*
- * What is the format string for strftime?
- */
-
-#define CUPS_STRFTIME_FORMAT   NULL
-
-
 /*
  * Do we have various image libraries?
  */
 #undef HAVE_LIBTIFF
 
 
-/*
- * Which directory functions and headers do we use?
- */
-
-#undef HAVE_DIRENT_H
-#undef HAVE_SYS_DIR_H
-#undef HAVE_SYS_NDIR_H
-#undef HAVE_NDIR_H
-
-
 /*
  * Do we have PAM stuff?
  */
 #undef HAVE_STRINGS_H
 #undef HAVE_BSTRING_H
 
+/*
+ * Do we have the long long type?
+ */
+
+#undef HAVE_LONG_LONG
+
+#ifdef HAVE_LONG_LONG
+#  define CUPS_LLFMT   "%lld"
+#  define CUPS_LLCAST  (long long)
+#else
+#  define CUPS_LLFMT   "%ld"
+#  define CUPS_LLCAST  (long)
+#endif /* HAVE_LONG_LONG */
+
+/*
+ * Do we have the strtoll() function?
+ */
+
+#undef HAVE_STRTOLL
+
+#ifndef HAVE_STRTOLL
+#  define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
+#endif /* !HAVE_STRTOLL */
 
 /*
  * Do we have the strXXX() functions?
 #undef HAVE_MALLOC_H
 
 
+/*
+ * Do we have the POSIX ACL functions?
+ */
+
+#undef HAVE_ACL_INIT
+
+
 /*
  * Do we have the langinfo.h header file?
  */
 
 
 /*
- * Do we have rresvport()?
+ * Do we have rresvport_af()?
+ */
+
+#undef HAVE_RRESVPORT_AF
+
+
+/*
+ * Do we have getaddrinfo()?
  */
 
-#undef HAVE_RRESVPORT
+#undef HAVE_GETADDRINFO
+
+
+/*
+ * Do we have getnameinfo()?
+ */
+
+#undef HAVE_GETNAMEINFO
 
 
 /*
 
 #undef HAVE_USERSEC_H
 
+/*
+ * Do we have pthread support?
+ */
+
+#undef HAVE_PTHREAD_H
+
+
+/*
+ * Do we have launchd support?
+ */
+
+#undef HAVE_LAUNCH_H
+#undef HAVE_LAUNCHD
+#define CUPS_DEFAULT_LAUNCHD_CONF ""
+
 
 /*
  * Various scripting languages...
 #define CUPS_PYTHON    "/usr/bin/python"
 
 
+/*
+ * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
+ */
+
+#undef HAVE_COREFOUNDATION
+#undef HAVE_SYSTEMCONFIGURATION
+
+
+/*
+ * Do we have CoreFoundation public and private headers?
+ */
+
+#undef HAVE_COREFOUNDATION_H
+#undef HAVE_CFPRIV_H
+#undef HAVE_CFBUNDLEPRIV_H
+
+
+/*
+ * Do we have MacOSX 10.4's mbr_XXX functions()?
+ */
+
+#undef HAVE_MEMBERSHIP_H
+#undef HAVE_MEMBERSHIPPRIV_H
+#undef HAVE_MBR_UID_TO_UUID
+
+
+/*
+ * Do we have Darwin's notify_post() header and function?
+ */
+
+#undef HAVE_NOTIFY_H
+#undef HAVE_NOTIFY_POST
+
+
+/*
+ * Do we have DBUS?
+ */
+
+#undef HAVE_DBUS
+
+
 #endif /* !_CUPS_CONFIG_H_ */
 
 /*