]> git.sesse.net Git - ffmpeg/commitdiff
Skip the MMX/SSE and memalign() check when running on OS X/Darwin, *alloc
authorDiego Biurrun <diego@biurrun.de>
Mon, 24 Jul 2006 09:45:13 +0000 (09:45 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 24 Jul 2006 09:45:13 +0000 (09:45 +0000)
provides necessary alignment on this platform.
patch by Mino Taoyama and Nigel Pearson

Originally committed as revision 5821 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index ad8b8b0b753a30e3cb43dc59eb64c9932c06f0b0..d3528d894a04b864ad72517dc8f006c1ba7bed0c 100755 (executable)
--- a/configure
+++ b/configure
@@ -1241,7 +1241,8 @@ if check_header malloc.h; then
     check_func memalign || _memalign="no"
 fi
 
-if test "$_memalign" = "no" -a "$mmx" = "yes" -a "$memalignhack" != "yes"; then
+if test "$_memalign" = "no" -a "$mmx" = "yes" -a \
+        "$memalignhack" != "yes" -a "$darwin" != "yes" ; then
     die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
 fi