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:
parent
5df6889364
commit
8b3a43cf54
3
configure
vendored
3
configure
vendored
@ -1241,7 +1241,8 @@ if check_header malloc.h; then
|
|||||||
check_func memalign || _memalign="no"
|
check_func memalign || _memalign="no"
|
||||||
fi
|
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."
|
die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user