X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=configure;h=2e2f2bedfc6b81bdec69f1f29a3ba84eea6639c3;hb=1f6faabf5ef11e6321d186772d88fb6958cdd057;hp=bdb91dd470089499aff04f24a5ab9b93655c30e0;hpb=3e4dcedca1782fce40cffc4cedb74d0cddef2c8f;p=melted diff --git a/configure b/configure index bdb91dd..2e2f2be 100755 --- a/configure +++ b/configure @@ -38,6 +38,7 @@ function build_config echo "version=$version" echo "prefix=$prefix" echo "bindir=$prefix/bin" + echo "targetos=$targetos" [ "$mmx" = "true" ] && echo "MMX_FLAGS=-DUSE_MMX" @@ -56,7 +57,7 @@ function build_config case $targetos in Darwin) - echo "CFLAGS+=-DDARWIN" + echo "CFLAGS+=-D__DARWIN__" echo "SHFLAGS=-dynamiclib" ;; Linux) @@ -142,7 +143,7 @@ do done # Double check mmx (may end up disabling mmx on non-linux platforms incorrectly) -if [ "$mmx" == "true" ] +if [ "$mmx" = "true" ] then grep mmx /proc/cpuinfo > /dev/null 2>&1 || mmx=false fi