summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-07-24 09:45:13 +0000
committerDiego Biurrun <diego@biurrun.de>2006-07-24 09:45:13 +0000
commit8b3a43cf54b4a6b81adcbac0f1c93fd2fea1afd0 (patch)
tree6749118303b0f332450bb9222b484f9a973b18a8 /configure
parent5df6889364dbe3d10119a77985c84566c065a65a (diff)
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index ad8b8b0b75..d3528d894a 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