configure.in
branchSDL-1.2
changeset 4185 cb2d5514efb3
parent 4184 ed5913896653
child 4192 2f5e884f0a9d
     1.1 --- a/configure.in	Sat Sep 12 12:50:25 2009 +0000
     1.2 +++ b/configure.in	Sat Sep 12 13:10:16 2009 +0000
     1.3 @@ -676,6 +676,14 @@
     1.4              return
     1.5              ;;
     1.6      esac
     1.7 +
     1.8 +    dnl Mac OS X might report itself as "i386" but generate x86_64 code.
     1.9 +    dnl  So see what size we think a pointer is, and bail if not 32-bit.
    1.10 +    AC_CHECK_SIZEOF([void *], 4)
    1.11 +    if test x"$SIZEOF_VOID_P" != x4; then
    1.12 +        return
    1.13 +    fi
    1.14 +
    1.15      dnl Check for NASM (for assembly blit routines)
    1.16      AC_ARG_ENABLE(nasm,
    1.17  AC_HELP_STRING([--enable-nasm], [use nasm assembly blitters on x86 [[default=yes]]]),