summaryrefslogtreecommitdiff
path: root/darwin.cf
diff options
context:
space:
mode:
Diffstat (limited to 'darwin.cf')
-rw-r--r--darwin.cf17
1 files changed, 14 insertions, 3 deletions
diff --git a/darwin.cf b/darwin.cf
index a6471e2..e470e2e 100644
--- a/darwin.cf
+++ b/darwin.cf
@@ -1,4 +1,4 @@
-XCOMM platform: $XFree86: xc/config/cf/darwin.cf,v 1.46 2003/11/18 19:00:14 torrey Exp $
+XCOMM platform: $XFree86: xc/config/cf/darwin.cf,v 1.50 2004/01/20 23:54:50 torrey Exp $
/* Darwin / Mac OS X configuration by John Carmack <johnc@idsoftware.com> */
@@ -25,21 +25,23 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
* Define the operating system's capabilities
*/
#define HasSnprintf YES
-#define HasStrlcat YES
#define HasPutenv YES
#define HasBSD44Sockets YES
#define Malloc0ReturnsNull NO
#define HasShadowPasswd NO
#define HasUsableFileMmap YES
#define HasZlib YES
-#define HasArc4Random YES
#ifndef HasShm
# define HasShm YES
#endif
#define HasNdbm YES
#if OSMajorVersion >= 6
# define HasNCurses YES
+# define HasArc4Random YES
+# define HasGetIfAddrs YES
+# define HasStrlcat YES
#else
+# define HasBasename NO
# define HasNCurses NO
#endif
#ifndef HasGroff
@@ -49,6 +51,11 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# define HasGcc3 NO
#endif
+/* Older versions don't really support IPv6, but #define AF_INET6. */
+#if OSMajorVersion < 6
+# define BuildIPv6 NO
+#endif
+
/* Thread support */
#define HasPosixThreads YES
#define SystemMTDefines -D_REENTRANT
@@ -153,6 +160,7 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
*/
#if OSMajorVersion >= 7
# define CppCmd /usr/bin/cpp3
+# define StandardCppOptions -traditional -D__GNUC__
#else
# define CppCmd /usr/bin/cpp
#endif
@@ -237,6 +245,9 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# define InstallXserverSetUID NO
#endif
+/* disable XKB by default as it can cause problems */
+#define DfltDisableXKB YES
+
/* no direct graphics extension */
#define BuildXF86DGA NO