diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-07-24 09:45:13 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-07-24 09:45:13 +0000 |
commit | 8b3a43cf54b4a6b81adcbac0f1c93fd2fea1afd0 (patch) | |
tree | 6749118303b0f332450bb9222b484f9a973b18a8 | |
parent | 5df6889364dbe3d10119a77985c84566c065a65a (diff) | |
download | ffmpeg-8b3a43cf54b4a6b81adcbac0f1c93fd2fea1afd0.tar.gz |
Skip the MMX/SSE and memalign() check when running on OS X/Darwin, *alloc
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
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |