|
Lines 1-11
Link Here
|
| 1 |
Index: config/cf/FreeBSD.cf |
1 |
--- config/cf/FreeBSD.cf.orig Tue Aug 27 04:58:16 2002 |
| 2 |
=================================================================== |
2 |
+++ config/cf/FreeBSD.cf Sat Nov 23 21:18:18 2002 |
| 3 |
RCS file: /cvsroot/dri/xc/xc/config/cf/FreeBSD.cf,v |
3 |
@@ -89,10 +89,18 @@ |
| 4 |
retrieving revision 1.15.24.1 |
4 |
# if HasLibPthread |
| 5 |
diff -u -r1.15.24.1 FreeBSD.cf |
5 |
# define ThreadsLibraries -lpthread |
| 6 |
--- config/cf/FreeBSD.cf 15 Jul 2002 20:20:54 -0000 1.15.24.1 |
6 |
# else |
| 7 |
+++ config/cf/FreeBSD.cf 23 Aug 2002 22:44:33 -0000 |
7 |
-# define BuildThreadStubLibrary YES |
| 8 |
@@ -144,6 +144,7 @@ |
8 |
-# define NeedUIThrStubs YES |
|
|
9 |
-# define ThreadsCompileFlags -pthread |
| 10 |
-# define ThreadsLibraries -pthread |
| 11 |
+# if OSRelVersion >= 500043 |
| 12 |
+# define BuildThreadStubLibrary NO |
| 13 |
+# define NeedUIThrStubs NO |
| 14 |
+# else |
| 15 |
+# define BuildThreadStubLibrary YES |
| 16 |
+# define NeedUIThrStubs YES |
| 17 |
+# endif |
| 18 |
+# if (OSRelVersion >= 500016) |
| 19 |
+# define ThreadsLibraries -lc_r |
| 20 |
+# else |
| 21 |
+# define ThreadsLibraries -pthread |
| 22 |
+# endif |
| 23 |
# define SharedX11Reqs $(LDPRELIB) $(XTHRSTUBLIB) |
| 24 |
# define SharedXtReqs $(LDPRELIB) $(XLIBONLY) $(SMLIB) $(ICELIB) $(XTHRSTUBLIB) |
| 25 |
# endif |
| 26 |
@@ -144,6 +152,7 @@ |
| 9 |
* |
27 |
* |
| 10 |
* ld: warning: libXThrStub.so.6, needed by libX11.so, not found |
28 |
* ld: warning: libXThrStub.so.6, needed by libX11.so, not found |
| 11 |
*/ |
29 |
*/ |
|
Lines 13-19
Link Here
|
| 13 |
#if BuildThreadStubLibrary && !UseInstalled |
31 |
#if BuildThreadStubLibrary && !UseInstalled |
| 14 |
# define CcCmd $(CLIENTENVSETUP) cc |
32 |
# define CcCmd $(CLIENTENVSETUP) cc |
| 15 |
# define CplusplusCmd $(CLIENTENVSETUP) c++ |
33 |
# define CplusplusCmd $(CLIENTENVSETUP) c++ |
| 16 |
@@ -151,6 +152,9 @@ |
34 |
@@ -151,6 +160,9 @@ |
| 17 |
# define CcCmd cc |
35 |
# define CcCmd cc |
| 18 |
# define CplusplusCmd c++ |
36 |
# define CplusplusCmd c++ |
| 19 |
#endif |
37 |
#endif |