configure.in
changeset 1890 2c22f1351941
parent 1889 5225a9cc25a2
child 1891 40b43a80adb5
equal deleted inserted replaced
1889:5225a9cc25a2 1890:2c22f1351941
   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