Mercurial > sdl-ios-xcode
comparison configure.in @ 4185:cb2d5514efb3 SDL-1.2
Don't use NASM on x86_64 builds.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 12 Sep 2009 13:10:16 +0000 |
parents | ed5913896653 |
children | 2f5e884f0a9d |
comparison
equal
deleted
inserted
replaced
4184:ed5913896653 | 4185:cb2d5514efb3 |
---|---|
674 *) | 674 *) |
675 # Nope, bail early. | 675 # Nope, bail early. |
676 return | 676 return |
677 ;; | 677 ;; |
678 esac | 678 esac |
679 | |
680 dnl Mac OS X might report itself as "i386" but generate x86_64 code. | |
681 dnl So see what size we think a pointer is, and bail if not 32-bit. | |
682 AC_CHECK_SIZEOF([void *], 4) | |
683 if test x"$SIZEOF_VOID_P" != x4; then | |
684 return | |
685 fi | |
686 | |
679 dnl Check for NASM (for assembly blit routines) | 687 dnl Check for NASM (for assembly blit routines) |
680 AC_ARG_ENABLE(nasm, | 688 AC_ARG_ENABLE(nasm, |
681 AC_HELP_STRING([--enable-nasm], [use nasm assembly blitters on x86 [[default=yes]]]), | 689 AC_HELP_STRING([--enable-nasm], [use nasm assembly blitters on x86 [[default=yes]]]), |
682 , enable_nasm=yes) | 690 , enable_nasm=yes) |
683 if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_nasm = xyes; then | 691 if test x$enable_video = xyes -a x$enable_assembly = xyes -a x$enable_nasm = xyes; then |