/[svn]/linuxsampler/trunk/configure.ac
ViewVC logotype

Diff of /linuxsampler/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1777 by persson, Mon Sep 15 16:58:10 2008 UTC revision 1794 by persson, Sun Nov 30 09:10:07 2008 UTC
# Line 62  PKG_PROG_PKG_CONFIG Line 62  PKG_PROG_PKG_CONFIG
62  AC_MSG_CHECKING([whether x86 architecture])  AC_MSG_CHECKING([whether x86 architecture])
63  def_arch_x86=0  def_arch_x86=0
64  case $target_cpu in  case $target_cpu in
65    "i386" | "i486" | "i586" | "i686" | "i786")    "i386" | "i486" | "i586" | "i686" | "i786" | "x86_64")
66      echo "yes"      echo "yes"
67      def_arch_x86=1;;      def_arch_x86=1;;
68    *)    *)
# Line 74  AC_DEFINE_UNQUOTED(ARCH_X86,$def_arch_x8 Line 74  AC_DEFINE_UNQUOTED(ARCH_X86,$def_arch_x8
74  # (only if the user did not provide one)  # (only if the user did not provide one)
75  CXX_CPU_SWITCH=  CXX_CPU_SWITCH=
76  if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then  if ! echo "X $CXXFLAGS " | grep -q -- " \(-march=\|-mcpu=\|-mtune=\|-arch=\)" ; then
77    if test "$def_arch_x86" = 1; then    if test "$def_arch_x86" = 1 -a "$target_cpu" != "x86_64"; then
78      CXX_CPU_SWITCH="-march=$target_cpu"      CXX_CPU_SWITCH="-march=$target_cpu"
79    elif test "$target_cpu" = "ppc"; then    elif test "$target_cpu" = "ppc"; then
80      CXX_CPU_SWITCH="-arch=$target_cpu"      CXX_CPU_SWITCH="-arch=$target_cpu"

Legend:
Removed from v.1777  
changed lines
  Added in v.1794

  ViewVC Help
Powered by ViewVC