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

Diff of /linuxsampler/trunk/configure.in

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

revision 509 by schoenebeck, Tue May 3 00:37:35 2005 UTC revision 510 by schoenebeck, Wed May 4 12:02:35 2005 UTC
# Line 10  AC_SUBST(target_vendor) Line 10  AC_SUBST(target_vendor)
10    
11    
12    
13  echo -n "checking whether x86 architecture... "  AC_MSG_CHECKING([whether x86 architecture])
14  def_arch_x86=0  def_arch_x86=0
15  case $target_cpu in  case $target_cpu in
16    "i386" | "i486" | "i586" | "i686" | "i786")    "i386" | "i486" | "i586" | "i686" | "i786")
# Line 22  esac Line 22  esac
22  AC_DEFINE_UNQUOTED(ARCH_X86,$def_arch_x86,[Define to 1 if you build for x86 architecture.])  AC_DEFINE_UNQUOTED(ARCH_X86,$def_arch_x86,[Define to 1 if you build for x86 architecture.])
23    
24    
25    # determine the right gcc switch for CPU specific optimizations
26    CXX_CPU_SWITCH=
27    if test "$def_arch_x86" = 1; then
28      CXX_CPU_SWITCH="-march=$target_cpu"
29    elif test "$target_cpu" = "powerpc"; then
30      CXX_CPU_SWITCH="-arch=$target_cpu"
31    fi
32    AC_SUBST([CXX_CPU_SWITCH])
33    
34    
35  AC_MSG_CHECKING([whether UNIX98 compatible])  AC_MSG_CHECKING([whether UNIX98 compatible])
36  AC_LANG_SAVE  AC_LANG_SAVE
37  AC_LANG_C  AC_LANG_C

Legend:
Removed from v.509  
changed lines
  Added in v.510

  ViewVC Help
Powered by ViewVC