aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xmms/files/patch-ad
blob: 599afb775e69a0ea6008dfe2617f1ea654b580e9 (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
--- configure.orig	Mon Jun 12 17:06:00 2000
+++ configure	Fri Jun 16 16:44:02 2000
@@ -3287,14 +3287,14 @@
 
 fi
 if test "x$PTHREAD_LIBS" = xerror; then
-        echo $ac_n "checking for pthread_attr_init in -lc_r""... $ac_c" 1>&6
-echo "configure:3292: checking for pthread_attr_init in -lc_r" >&5
+        echo $ac_n "checking for pthread_attr_init in -pthread""... $ac_c" 1>&6
+echo "configure:3292: checking for pthread_attr_init in -pthread" >&5
 ac_lib_var=`echo c_r'_'pthread_attr_init | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lc_r  $LIBS"
+LIBS="-pthread  $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 3300 "configure"
 #include "confdefs.h"
@@ -3322,7 +3322,7 @@
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  PTHREAD_LIBS="-lc_r"
+  PTHREAD_LIBS="-pthread"
 else
   echo "$ac_t""no" 1>&6
 fi
@@ -5472,7 +5472,7 @@
   cat conftest.$ac_ext >&5
   rm -rf conftest*
   CATOBJEXT=.mo
-		   DATADIRNAME=lib
+		   DATADIRNAME=share
 fi
 rm -f conftest*
 		INSTOBJEXT=.mo
@@ -7110,14 +7110,14 @@
 
 if test -n "$GCC"
 then
-	CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math"
+	CFLAGS="$CFLAGS -fomit-frame-pointer -finline-functions -ffast-math"
 fi
 
 arch_type=other
 ARCH_DEFINES=""
 case "$host" in 
 	i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*)
-		CFLAGS="$CFLAGS -m486"
+		CFLAGS="$CFLAGS"
 		ARCH_DEFINES="-DI386_ASSEM"
 		arch_type=ix86
 	;;