X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=configure;h=bdb91dd470089499aff04f24a5ab9b93655c30e0;hb=f12b45a62e34d34dbf2f800431dd0cb9f4c39c80;hp=59508f7d1704130d4d739eb27a8f85f53af1fc42;hpb=eae86b6ff2d11421e4839ffbe79c4c547d15751a;p=melted 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