summaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4-libraries/files/patch-d
blob: 38955bdd8011c31511e6c0d8ec6f4d40f876d99a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
--- config/cf/FreeBSD.cf.orig	Sat Jun 24 21:15:53 2000
+++ config/cf/FreeBSD.cf	Tue Aug  1 15:19:44 2000
@@ -135,6 +135,18 @@
 #endif
 #endif
 
+#ifndef HasAgpGart
+#  ifdef i386Architecture
+#    if OSMajorVersion >= 5 || (OSMajorVersion == 4 && OSMinorVersion >= 1)
+#      define HasAgpGart	YES
+#    else
+#      define HasAgpGart	NO
+#    endif
+#  else
+#    define HasAgpGart		NO
+#  endif
+#endif
+
 /* 
  * This doesn't work the way it does on every other system. On FreeBSD it's
  * only a "hint, not a demand", whatever that means. Note that this is not 
@@ -351,19 +368,22 @@
 #else
 #define ServerOSDefines		XFree86ServerOSDefines -DDDXTIME -DXNO_SYSCONF
 #define XawI18nDefines		-DUSE_XWCHAR_STRING -DUSE_XMBTOWC
+#endif
+#ifndef HasPam
+#define HasPam			YES
 #endif
 
 /* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
 #ifndef DefaultGcc2i386Opt
 #if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5)
-#define DefaultGcc2i386Opt -O2
+#define DefaultGcc2i386Opt
 #endif
 #endif
 
 #ifdef i386Architecture
 # define OptimizedCDebugFlags DefaultGcc2i386Opt
 #else
-# define OptimizedCDebugFlags -O
+# define OptimizedCDebugFlags
 #endif
 
 #ifndef PreIncDir
OpenPOWER on IntegriCloud