]> git.sesse.net Git - mlt/commitdiff
xine/configure: relax restrictions to let OSX/Intel use xine deinterlace
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 9 May 2008 04:40:23 +0000 (04:40 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 9 May 2008 04:40:23 +0000 (04:40 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1121 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/xine/configure

index f7b80d29516ab29d92f0521710f66348bd4e2487..062d54150834474aecc747674178c5243923f9dd 100755 (executable)
@@ -3,9 +3,15 @@
 if [ "$help" != "1" ]
 then
 
-       # Horrible hack
-       grep mmx /proc/cpuinfo > /dev/null 2>&1
-       disable_xine=$?
+       bits=$(uname -m)
+       case $bits in
+       ppc)
+               disable_xine="1"
+               ;;
+       *)
+               disable_xine="0"
+               ;;
+       esac
 
        if [ "$disable_xine" != "0" ]
        then