Commit 4376c393 authored by Ryan C. Gordon's avatar Ryan C. Gordon

Don't use NASM on x86_64 builds.

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403793
parent 2e36ae98
......@@ -676,6 +676,14 @@ CheckNASM()
return
;;
esac
dnl Mac OS X might report itself as "i386" but generate x86_64 code.
dnl So see what size we think a pointer is, and bail if not 32-bit.
AC_CHECK_SIZEOF([void *], 4)
if test x"$SIZEOF_VOID_P" != x4; then
return
fi
dnl Check for NASM (for assembly blit routines)
AC_ARG_ENABLE(nasm,
AC_HELP_STRING([--enable-nasm], [use nasm assembly blitters on x86 [[default=yes]]]),
......
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