Commit dcbd819a authored by diego's avatar diego

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5821 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5d65059c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment