1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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
This commit is contained in:
Diego Biurrun 2006-07-24 09:45:13 +00:00
parent 5df6889364
commit 8b3a43cf54

3
configure vendored
View File

@ -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