summaryrefslogtreecommitdiff
path: root/devel/rudiments/files/patch-configure
blob: 6a2a9aa924e0e5d480df4605fe44a80693cf08e9 (plain) (blame)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
--- configure.orig	2012-02-17 13:38:13.000000000 +0900
+++ configure	2012-04-13 00:56:01.000000000 +0900
@@ -15691,6 +15691,9 @@
 	*minix* )
 		WERROR=""
 		;;
+	freebsd* )
+		WERROR=""
+		;;
 	*)
 		;;
 esac
@@ -17476,8 +17479,8 @@
 
 
 	HAVE_PTHREAD=""
-	PTHREADINCLUDES=""
-	PTHREADLIB=""
+	#PTHREADINCLUDES=""
+	#PTHREADLIB=""
 
 	if ( test "$cross_compiling" = "yes" )
 	then
@@ -17496,7 +17499,7 @@
 
 	else
 
-				for i in "pthread" "c_r" "thread" "pthreads" "gthreads" ""
+				for i in "thread" "pthreads" "gthreads" ""
 		do
 			if ( test -n "$i" )
 			then
@@ -17530,9 +17533,6 @@
 STATIC=""
 HEADERSANDLIBSPATH=""
 
-eval "PTHREADINCLUDES=\"\""
-eval "PTHREADLIB=\"\""
-eval "PTHREADLIBPATH=\"\""
 eval "PTHREADSTATIC=\"\""
 if ( test -n "" )
 then
@@ -17747,9 +17747,6 @@
 LIBSTRING=`echo $LIBSTRING | sed -e "s|-L/usr/lib$||g" -e "s|-L/lib$||g" -e "s|-L/usr/lib ||g" -e "s|-L/lib ||g"`
 LIBSTRING=`echo $LIBSTRING | sed -e "s|-L/usr/lib64$||g" -e "s|-L/lib64$||g" -e "s|-L/usr/lib64 ||g" -e "s|-L/lib64 ||g"`
 
-eval "PTHREADINCLUDES=\"$INCLUDESTRING\""
-eval "PTHREADLIB=\"$LIBSTRING\""
-eval "PTHREADLIBPATH=\"$LIBPATH\""
 eval "PTHREADSTATIC=\"$STATIC\""
 if ( test -n "" )
 then
@@ -29618,47 +29615,47 @@
 # prepend DESTDIR where appropriate
 if ( test "`echo $ac_default_prefix | cut -c1`" = "/" )
 then
-	ac_default_prefix='${DESTDIR}'"$ac_default_prefix"
+	ac_default_prefix="$ac_default_prefix"
 fi
 if ( test "`echo $prefix | cut -c1`" = "/" )
 then
-	prefix='${DESTDIR}'"$prefix"
+	prefix="$prefix"
 fi
 if ( test "`echo $exec_prefix | cut -c1`" = "/" )
 then
-	exec_prefix='${DESTDIR}'"$exec_prefix"
+	exec_prefix="$exec_prefix"
 fi
 if ( test "`echo $includedir | cut -c1`" = "/" )
 then
-	includedir='${DESTDIR}'"$includedir"
+	includedir="$includedir"
 fi
 if ( test "`echo $libdir | cut -c1`" = "/" )
 then
-	libdir='${DESTDIR}'"$libdir"
+	libdir="$libdir"
 fi
 if ( test "`echo $libexecdir | cut -c1`" = "/" )
 then
-	libexecdir='${DESTDIR}'"$libexecdir"
+	libexecdir="$libexecdir"
 fi
 if ( test "`echo $bindir | cut -c1`" = "/" )
 then
-	bindir='${DESTDIR}'"$bindir"
+	bindir="$bindir"
 fi
 if ( test "`echo $localstatedir | cut -c1`" = "/" )
 then
-	localstatedir='${DESTDIR}'"$localstatedir"
+	localstatedir="$localstatedir"
 fi
 if ( test "`echo $sysconfdir | cut -c1`" = "/" )
 then
-	sysconfdir='${DESTDIR}'"$sysconfdir"
+	sysconfdir="$sysconfdir"
 fi
 if ( test "`echo $mandir | cut -c1`" = "/" )
 then
-	mandir='${DESTDIR}'"$mandir"
+	mandir="$mandir"
 fi
 if ( test "`echo $datadir | cut -c1`" = "/" )
 then
-	datadir='${DESTDIR}'"$datadir"
+	datadir="$datadir"
 fi