Branch: Tag:

2006-04-10

2006-04-10 16:58:52 by Jonas Wallden <jonasw@roxen.com>

Support Darwin x86.

Rev: src/configure.in:1.945
Rev: src/modules/Image/configure.in:1.31

1: - AC_REVISION("$Id: configure.in,v 1.944 2006/04/07 18:23:30 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.945 2006/04/10 16:58:52 jonasw Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
1802:    # -flat_namespace only needed for linking with libMallocDebug    # AC_SYS_COMPILER_FLAG(-flat_namespace, flat_namespace, LDFLAGS)    -  # OS X only runs on G3 or newer. Tuning for recent G4s should help them -  # while being ok for older machines as well. -  AC_SYS_COMPILER_FLAG(-mcpu=750,cpu750,OPTIMIZE) -  AC_SYS_COMPILER_FLAG(-mtune=7450,tune7450,OPTIMIZE) +  # Tune based on processor family +  case "`machine`" in +  i486) +  # 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) +  +  # Take care of warning when linking with GMP libraries +  AC_SYS_COMPILER_FLAG(-read_only_relocs warning, ro_relocs_warn, LDFLAGS) +  +  # Machine code not yet working +  with_machine_code="no"; +  ;; +  *) +  # G3 is the baseline on PPC since Mac OS X doesn't support anything +  # older. Special flags could be used for ppc970, ppc7450 and ppc7400 +  # but that might also exclude older machines from running the +  # resulting Pike binary. +  AC_SYS_COMPILER_FLAG(-mcpu=750, cpu750, OPTIMIZE) +  AC_SYS_COMPILER_FLAG(-mtune=750, tune750, OPTIMIZE) +  ;; +  esac    ])       DO_IF_OS(Linux,
2173:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.944 2006/04/07 18:23:30 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.945 2006/04/10 16:58:52 jonasw Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2211:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.944 2006/04/07 18:23:30 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.945 2006/04/10 16:58:52 jonasw Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2220:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.944 2006/04/07 18:23:30 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.945 2006/04/10 16:58:52 jonasw Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF