summaryrefslogtreecommitdiffstats
path: root/redhat/kdemultimedia/kdemultimedia-3.5.13-fix_mmx_detection.patch
blob: 785b9d1504a40d2fe68351534285b5bf6ed82e0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -urN tdemultimedia/configure.in.in tdemultimedia.new/configure.in.in
--- tdemultimedia/configure.in.in	2010-08-11 22:36:30.000000000 -0500
+++ tdemultimedia.new/configure.in.in	2012-01-12 22:54:04.000000000 -0600
@@ -35,7 +35,7 @@
 	then
 		MMX_SUPPORT="no"
 	else
-		as_ver=`echo $as_ver |sed -e "s/.*version //;s/ .*//"`
+		as_ver=`echo|as -v 2>&1 | grep ".*version.*" | awk '{print $NF}'`
 		as_major=`echo $as_ver |cut -d. -f1`
 		if test $as_major -gt 2
 		then