# HG changeset patch # User Ryan C. Gordon # Date 1252761016 0 # Node ID cb2d5514efb32953b7e19351cf46bc9c771621d7 # Parent ed5913896653576fa2c544443a535e374a471ce0 Don't use NASM on x86_64 builds. diff -r ed5913896653 -r cb2d5514efb3 configure.in --- a/configure.in Sat Sep 12 12:50:25 2009 +0000 +++ b/configure.in Sat Sep 12 13:10:16 2009 +0000 @@ -676,6 +676,14 @@ 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]]]),