summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
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