configure.in
branchSDL-1.2
changeset 5392 30e4d724fe98
parent 4538 74b5387da0c4
child 5565 4225f09eb8cb
equal deleted inserted replaced
5334:d898ee5431f5 5392:30e4d724fe98
   738                   ;;
   738                   ;;
   739               macosx)
   739               macosx)
   740                   NASMFLAGS="-f macho"
   740                   NASMFLAGS="-f macho"
   741                   ;;
   741                   ;;
   742               *)
   742               *)
   743                   NASMFLAGS="-f elf"
   743                   NASMFLAGS="-f elf32"
   744                   ;;
   744                   ;;
   745             esac
   745             esac
   746         fi
   746         fi
   747 
   747 
   748         AC_PATH_PROG(NASM, nasm)
   748         AC_PATH_PROG(NASM, nasm)
   749         echo "%ifidn __OUTPUT_FORMAT__,elf" > unquoted-sections
   749         echo "%ifidn __OUTPUT_FORMAT__,elf32" > unquoted-sections
   750         echo "section .note.GNU-stack noalloc noexec nowrite progbits" >> unquoted-sections
   750         echo "section .note.GNU-stack noalloc noexec nowrite progbits" >> unquoted-sections
   751         echo "%endif" >> unquoted-sections
   751         echo "%endif" >> unquoted-sections
   752         CompileNASM unquoted-sections || NASM=""
   752         CompileNASM unquoted-sections || NASM=""
   753 
   753 
   754         if test "x$NASM" != x -a "x$NASM" != x'"$NASM"'; then
   754         if test "x$NASM" != x -a "x$NASM" != x'"$NASM"'; then