From 8b3a43cf54b4a6b81adcbac0f1c93fd2fea1afd0 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 24 Jul 2006 09:45:13 +0000 Subject: [PATCH] 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 --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index ad8b8b0..d3528d8 100755 --- 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 -- 2.7.4