comparison configure.in @ 1714:b025e419d344 SDL-1.3

Fixed problem with nasm hidden visibility detection
author Sam Lantinga <slouken@libsdl.org>
date Mon, 26 Jun 2006 16:15:36 +0000
parents 931d111e737a
children 364df7679e6b
comparison
equal deleted inserted replaced
1713:3e66ed1690e4 1714:b025e419d344
620 esac 620 esac
621 fi 621 fi
622 NASMFLAGS="$NASMFLAGS -i $srcdir/src/hermes/" 622 NASMFLAGS="$NASMFLAGS -i $srcdir/src/hermes/"
623 623
624 dnl See if hidden visibility is supported 624 dnl See if hidden visibility is supported
625 echo 'GLOBAL _bar:function hidden' > nasm_vis.asm 625 echo "GLOBAL _bar:function hidden" > nasm_vis.asm
626 echo "_bar:" >>nasm_vis.asm
626 if $NASM $NASMFLAGS nasm_vis.asm -o nasm_vis.o >&AS_MESSAGE_LOG_FD 2>&1; then 627 if $NASM $NASMFLAGS nasm_vis.asm -o nasm_vis.o >&AS_MESSAGE_LOG_FD 2>&1; then
627 NASMFLAGS="$NASMFLAGS -DHIDDEN_VISIBILITY" 628 NASMFLAGS="$NASMFLAGS -DHIDDEN_VISIBILITY"
628 fi 629 fi
629 rm -f nasm_vis.asm nasm_vis.o 630 rm -f nasm_vis.asm nasm_vis.o
630 631