From 3e4dcedca1782fce40cffc4cedb74d0cddef2c8f Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Wed, 13 Apr 2005 13:14:33 +0000 Subject: [PATCH] Automatic 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 --- configure | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) 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 -- 1.7.4.4