comparison configure.in @ 3972:590d6f5da52b SDL-1.2

Fixed assembler command line for older yasm releases and documented nasm switches. Fixes Bugzilla #440.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 16 Jun 2007 05:51:51 +0000
parents d22892eaa1cf
children 7a649501c089
comparison
equal deleted inserted replaced
3971:aea2f9cd5b8e 3972:590d6f5da52b
704 AC_PATH_PROG(NASM, nasm) 704 AC_PATH_PROG(NASM, nasm)
705 fi 705 fi
706 if test "x$NASM" != x -a "x$NASM" != x'"$NASM"'; then 706 if test "x$NASM" != x -a "x$NASM" != x'"$NASM"'; then
707 AC_DEFINE(SDL_HERMES_BLITTERS) 707 AC_DEFINE(SDL_HERMES_BLITTERS)
708 SOURCES="$SOURCES $srcdir/src/hermes/*.asm" 708 SOURCES="$SOURCES $srcdir/src/hermes/*.asm"
709 NASMFLAGS="$NASMFLAGS -i $srcdir/src/hermes/" 709 NASMFLAGS="$NASMFLAGS -I $srcdir/src/hermes/"
710 710
711 dnl See if hidden visibility is supported 711 dnl See if hidden visibility is supported
712 echo "GLOBAL _bar:function hidden" > symbol-visibility 712 echo "GLOBAL _bar:function hidden" > symbol-visibility
713 echo "_bar:" >> symbol-visibility 713 echo "_bar:" >> symbol-visibility
714 CompileNASM symbol-visibility && NASMFLAGS="$NASMFLAGS -DHIDDEN_VISIBILITY" 714 CompileNASM symbol-visibility && NASMFLAGS="$NASMFLAGS -DHIDDEN_VISIBILITY"