summaryrefslogtreecommitdiff
path: root/multimedia/HandBrake/A00-lame-xmmintrin.patch
blob: 0b5237162f1abe19acb1b6d921ef545cb4973189 (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	2015-02-08 17:37:18.000000000 -0500
+++ lame/configure	2015-02-08 17:38:32.000000000 -0500
@@ -21031,7 +21031,14 @@
 
 
 
-
+case $host_cpu in
+powerpc*|i686*)
+    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`