configure.in
branchSDL-1.3
changeset 1711 865ba39fc96d
parent 1700 21184e1d04c3
child 1712 931d111e737a
equal deleted inserted replaced
1710:db78e088b6ce 1711:865ba39fc96d
   609                       NASMFLAGS="-f win32"
   609                       NASMFLAGS="-f win32"
   610                       ;;
   610                       ;;
   611                   openbsd)
   611                   openbsd)
   612                       NASMFLAGS="-f aoutb"
   612                       NASMFLAGS="-f aoutb"
   613                       ;;
   613                       ;;
       
   614                   macosx)
       
   615                       NASMFLAGS="-f macho"
       
   616                       ;;
   614                   *)
   617                   *)
   615                       NASMFLAGS="-f elf"
   618                       NASMFLAGS="-f elf"
   616                       ;;
   619                       ;;
   617                 esac
   620                 esac
   618             fi
   621             fi
   619             NASMFLAGS="$NASMFLAGS -i $srcdir/src/hermes/"
   622             NASMFLAGS="$NASMFLAGS -i $srcdir/src/hermes/"
   620 
   623 
   621             dnl See if hidden visibility is supported
   624             dnl See if hidden visibility is supported
   622             echo 'GLOBAL _bar:function hidden' > nasm_vis.asm
   625             echo 'GLOBAL _bar:function hidden' > nasm_vis.asm
   623             if $NASM $NASMFLAGS nasm_vis.asm -o nasm_vis.o >&AS_MESSAGE_LOG_FD ; then
   626             if $NASM $NASMFLAGS nasm_vis.asm -o nasm_vis.o >&AS_MESSAGE_LOG_FD 2>&1; then
   624                 NASMFLAGS="$NASMFLAGS -DHIDDEN_VISIBILITY"
   627                 NASMFLAGS="$NASMFLAGS -DHIDDEN_VISIBILITY"
   625             fi
   628             fi
   626             rm -f nasm_vis.asm nasm_vis.o
   629             rm -f nasm_vis.asm nasm_vis.o
   627 
   630 
   628             AC_SUBST(NASM)
   631             AC_SUBST(NASM)
  2434         CheckDummyVideo
  2437         CheckDummyVideo
  2435         CheckDiskAudio
  2438         CheckDiskAudio
  2436         CheckDummyAudio
  2439         CheckDummyAudio
  2437         CheckDLOPEN
  2440         CheckDLOPEN
  2438 
  2441 
       
  2442         # Temporarily disabled:
       
  2443         # ld: mmxp2_32.o has external relocation entries in non-writable section (__TEXT,__text) for symbols: _mmxreturn
       
  2444         #CheckNASM
       
  2445 
  2439         # Set up files for the shared object loading library
  2446         # Set up files for the shared object loading library
  2440         # (this needs to be done before the dynamic X11 check)
  2447         # (this needs to be done before the dynamic X11 check)
  2441         if test x$enable_loadso = xyes -a x$have_dlopen != xyes; then
  2448         if test x$enable_loadso = xyes -a x$have_dlopen != xyes; then
  2442             AC_DEFINE(SDL_LOADSO_DLCOMPAT)
  2449             AC_DEFINE(SDL_LOADSO_DLCOMPAT)
  2443             SOURCES="$SOURCES $srcdir/src/loadso/macosx/*.c"
  2450             SOURCES="$SOURCES $srcdir/src/loadso/macosx/*.c"