]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - config.h.in
Don't generate certificates that expire on Feb 29th (Issue #5643)
[thirdparty/cups.git] / config.h.in
index ec4a7785e11f5087b9257383ea5ff53ab01af7dd..1c2d7a826c5711ed4637d3e3bca8d9693a3f51e2 100644 (file)
@@ -1,16 +1,11 @@
 /*
- * "$Id$"
- *
  * Configuration file for CUPS.
  *
- * Copyright 2007-2013 by Apple Inc.
+ * Copyright 2007-2019 by Apple Inc.
  * Copyright 1997-2007 by Easy Software Products.
  *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law.  Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file.  If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * Licensed under Apache License v2.0.  See the file "LICENSE" for more
+ * information.
  */
 
 #ifndef _CUPS_CONFIG_H_
@@ -22,6 +17,7 @@
 
 #define CUPS_SVERSION  ""
 #define CUPS_MINIMAL   ""
+#define CUPS_LITE      0
 
 
 /*
@@ -93,7 +89,7 @@
  * Default MaxCopies value...
  */
 
-#define CUPS_DEFAULT_MAX_COPIES        100
+#define CUPS_DEFAULT_MAX_COPIES        9999
 
 
 /*
 #define CUPS_STATEDIR  "/var/run/cups"
 
 
+/*
+ * Do we have posix_spawn?
+ */
+
+#undef HAVE_POSIX_SPAWN
+
+
 /*
  * Do we have ZLIB?
  */
  * Do we have PAM stuff?
  */
 
-#ifndef HAVE_LIBPAM
 #define HAVE_LIBPAM 0
-#endif /* !HAVE_LIBPAM */
-
 #undef HAVE_PAM_PAM_APPL_H
 #undef HAVE_PAM_SET_ITEM
 #undef HAVE_PAM_SETCRED
 #undef HAVE_VSYSLOG
 
 
+/*
+ * Do we have the systemd journal functions?
+ */
+
+#undef HAVE_SYSTEMD_SD_JOURNAL_H
+
+
 /*
  * Do we have the (v)snprintf() functions?
  */
 
 #undef HAVE_CDSASSL
 #undef HAVE_GNUTLS
+#undef HAVE_SSPISSL
 #undef HAVE_SSL
 
 
+/*
+ * Do we have the gnutls_transport_set_pull_timeout_function function?
+ */
+
+#undef HAVE_GNUTLS_TRANSPORT_SET_PULL_TIMEOUT_FUNCTION
+
+
+/*
+ * Do we have the gnutls_priority_set_direct function?
+ */
+
+#undef HAVE_GNUTLS_PRIORITY_SET_DIRECT
+
+
 /*
  * What Security framework headers do we have?
  */
 
 #undef HAVE_AUTHORIZATION_H
-#undef HAVE_SECBASEPRIV_H
 #undef HAVE_SECCERTIFICATE_H
-#undef HAVE_SECIDENTITYSEARCHPRIV_H
 #undef HAVE_SECITEM_H
-#undef HAVE_SECITEMPRIV_H
 #undef HAVE_SECPOLICY_H
-#undef HAVE_SECPOLICYPRIV_H
-#undef HAVE_SECURETRANSPORTPRIV_H
 
 
 /*
- * Do we have the cssmErrorString function?
+ * Do we have the SecGenerateSelfSignedCertificate function?
  */
 
-#undef HAVE_CSSMERRORSTRING
+#undef HAVE_SECGENERATESELFSIGNEDCERTIFICATE
 
 
 /*
 
 
 /*
- * Do we have launchd support?
+ * Do we have on-demand support (launchd/systemd/upstart)?
  */
 
-#undef HAVE_LAUNCH_H
-#undef HAVE_LAUNCHD
+#undef HAVE_ONDEMAND
 
 
 /*
- * Various scripting languages...
+ * Do we have launchd support?
  */
 
-#undef HAVE_JAVA
-#define CUPS_JAVA      "/usr/bin/java"
-#undef HAVE_PERL
-#define CUPS_PERL      "/usr/bin/perl"
-#undef HAVE_PHP
-#define CUPS_PHP       "/usr/bin/php"
-#undef HAVE_PYTHON
-#define CUPS_PYTHON    "/usr/bin/python"
+#undef HAVE_LAUNCH_H
+#undef HAVE_LAUNCHD
 
 
 /*
- * Location of the poppler/Xpdf pdftops program...
+ * Do we have systemd support?
  */
 
-#undef HAVE_PDFTOPS
-#undef HAVE_PDFTOPS_WITH_ORIGPAGESIZES
-#define CUPS_PDFTOPS   "/usr/bin/pdftops"
+#undef HAVE_SYSTEMD
 
 
 /*
- * Location of the Ghostscript gs program...
+ * Do we have upstart support?
  */
 
-#undef HAVE_GHOSTSCRIPT
-#undef HAVE_GHOSTSCRIPT_PS2WRITE
-#define CUPS_GHOSTSCRIPT "/usr/bin/gs"
+#undef HAVE_UPSTART
 
 
 /*
- * Do we have CoreFoundation public and private headers?
+ * Do we have CoreFoundation public headers?
  */
 
 #undef HAVE_COREFOUNDATION_H
-#undef HAVE_CFPRIV_H
-#undef HAVE_CFBUNDLEPRIV_H
 
 
 /*
 
 
 /*
- * Do we have OS X 10.4's mbr_XXX functions?
+ * Do we have the getgrouplist() function?
+ */
+
+#undef HAVE_GETGROUPLIST
+
+
+/*
+ * Do we have macOS 10.4's mbr_XXX functions?
  */
 
 #undef HAVE_MEMBERSHIP_H
-#undef HAVE_MEMBERSHIPPRIV_H
 #undef HAVE_MBR_UID_TO_UUID
 
 
 
 #undef HAVE_DBUS
 #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND
+#undef HAVE_DBUS_THREADS_INIT
 
 
 /*
 
 #ifdef HAVE_ARC4RANDOM
 #  define CUPS_RAND() arc4random()
-#  define CUPS_SRAND(v) arc4random_stir()
+#  define CUPS_SRAND(v)
 #elif defined(HAVE_RANDOM)
 #  define CUPS_RAND() random()
 #  define CUPS_SRAND(v) srandom(v)
 #endif /* HAVE_ARC4RANDOM */
 
 
-/*
- * Do we have vproc_transaction_begin/end?
- */
-
-#undef HAVE_VPROC_TRANSACTION_BEGIN
-
-
 /*
  * Do we have libusb?
  */
 
 
 /*
- * Location of OS X localization bundle, if any.
+ * Location of macOS localization bundle, if any.
  */
 
 #undef CUPS_BUNDLEDIR
  */
 
 #undef HAVE_XPC
-#undef HAVE_XPC_PRIVATE_H
-
-
-/*
- * Do we have Mini-XML?
- */
-
-#undef HAVE_MXML_H
 
 
 /*
@@ -682,7 +678,3 @@ static __inline int _cups_abs(int i) { return (i < 0 ? -i : i); }
 #endif /* !HAVE_ABS && !abs */
 
 #endif /* !_CUPS_CONFIG_H_ */
-
-/*
- * End of "$Id$".
- */