Branch: Tag:

2009-12-09

2009-12-09 20:18:51 by 0

Fix abundance of warnings when building on OS X 10.6 (at least on x86_64)
since the compiler didn't know the minimum target OS version. Also add
-mfpmath=sse on all 32-bit OS X/x86 builds since we always have SSE
present (the 64-bit get this by default).

Rev: src/configure.in:1.1090

1: - AC_REVISION("$Id: configure.in,v 1.1089 2009/11/28 13:16:41 mast Exp $") + AC_REVISION("$Id: configure.in,v 1.1090 2009/12/09 20:18:51 jonasw Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2055:    # Darwin x86 runs on Intel Core Solo/Duo (based on Pentium M) and newer    AC_SYS_COMPILER_FLAG(-march=pentium-m, arch_pentium_m, OPTIMIZE)    AC_SYS_COMPILER_FLAG(-msse3, opt_sse3, OPTIMIZE) +  AC_SYS_COMPILER_FLAG(-mfpmath=sse, opt_mfpmath_sse, OPTIMIZE)       # no-pic required for machine code to work    AC_SYS_COMPILER_FLAG(-mdynamic-no-pic, dynamicnopic, OSFLAGS) -  +  +  # Silence warnings about not working on systems older than the base +  # version of the current machine. We'll convert e.g. 10.5.8 to 1050. +  AC_SYS_COMPILER_FLAG(-DMAC_OS_X_VERSION_MIN_REQUIRED=`sw_vers -productVersion | tr -d . | cut -c -3`0, osxminversion, CFLAGS)    ;;    ppc970|ppc7450|ppc7400)    # Improve performance on G4 and G5. Note that if the build machine
2451:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1089 2009/11/28 13:16:41 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.1090 2009/12/09 20:18:51 jonasw Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2489:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1089 2009/11/28 13:16:41 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.1090 2009/12/09 20:18:51 jonasw Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2498:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1089 2009/11/28 13:16:41 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.1090 2009/12/09 20:18:51 jonasw Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF