configure.in
changeset 1889 5225a9cc25a2
parent 1886 44635227a939
child 1890 2c22f1351941
     1.1 --- a/configure.in	Mon Jun 26 01:33:53 2006 +0000
     1.2 +++ b/configure.in	Mon Jun 26 05:27:15 2006 +0000
     1.3 @@ -611,6 +611,9 @@
     1.4                    openbsd)
     1.5                        NASMFLAGS="-f aoutb"
     1.6                        ;;
     1.7 +                  macosx)
     1.8 +                      NASMFLAGS="-f macho"
     1.9 +                      ;;
    1.10                    *)
    1.11                        NASMFLAGS="-f elf"
    1.12                        ;;
    1.13 @@ -620,7 +623,7 @@
    1.14  
    1.15              dnl See if hidden visibility is supported
    1.16              echo 'GLOBAL _bar:function hidden' > nasm_vis.asm
    1.17 -            if $NASM $NASMFLAGS nasm_vis.asm -o nasm_vis.o >&AS_MESSAGE_LOG_FD ; then
    1.18 +            if $NASM $NASMFLAGS nasm_vis.asm -o nasm_vis.o >&AS_MESSAGE_LOG_FD 2>&1; then
    1.19                  NASMFLAGS="$NASMFLAGS -DHIDDEN_VISIBILITY"
    1.20              fi
    1.21              rm -f nasm_vis.asm nasm_vis.o
    1.22 @@ -2413,6 +2416,10 @@
    1.23          CheckDummyAudio
    1.24          CheckDLOPEN
    1.25  
    1.26 +        # Temporarily disabled:
    1.27 +        # ld: mmxp2_32.o has external relocation entries in non-writable section (__TEXT,__text) for symbols: _mmxreturn
    1.28 +        #CheckNASM
    1.29 +
    1.30          # Set up files for the shared object loading library
    1.31          # (this needs to be done before the dynamic X11 check)
    1.32          if test x$enable_loadso = xyes -a x$have_dlopen != xyes; then