From: lilo_booter Date: Wed, 13 Apr 2005 13:14:33 +0000 (+0000) Subject: Automatic disabling off mmx on a OS/X; mmx detection on Linux; other platforms probab... X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=3e4dcedca1782fce40cffc4cedb74d0cddef2c8f;hp=08fb07a82f5d039b11e5620561865b4786519052;p=melted disabling off mmx on a OS/X; mmx detection on Linux; other platforms probably broken git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@699 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/configure b/configure index 59508f7..bdb91dd 100755 --- a/configure +++ b/configure @@ -117,6 +117,7 @@ targetos=$(uname -s) case $targetos in Darwin) LIBSUF=".dylib" + mmx=false ;; Linux) LIBSUF=".so" @@ -140,6 +141,12 @@ do esac done +# Double check mmx (may end up disabling mmx on non-linux platforms incorrectly) +if [ "$mmx" == "true" ] +then + grep mmx /proc/cpuinfo > /dev/null 2>&1 || mmx=false +fi + # Show help if requested [ $help = 1 ] && show_help || build_config