summaryrefslogtreecommitdiffstats
path: root/contrib/lame/P00-darwin-xmmintrin.patch
blob: de19e55baf83a8ed35892aef5297ce5c64b7fe0e (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
diff -Naur lame.orig/configure lame/configure
--- lame.orig/configure	2008-06-29 17:40:05.000000000 -0400
+++ lame/configure	2008-10-14 05:01:29.000000000 -0400
@@ -21031,7 +21031,14 @@
 
 
 
-
+case $host_cpu in
+powerpc*)
+    check_xmmintrin=
+    ;;
+*)
+    check_xmmintrin="xmmintrin.h"
+    ;;
+esac
 
 for ac_header in \
 		 errno.h \
@@ -21042,7 +21049,7 @@
 		 sys/soundcard.h \
 		 sys/time.h \
 		 unistd.h \
-		 xmmintrin.h \
+		 $check_xmmintrin \
 		 linux/soundcard.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`