/[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 2185 by persson, Sun Jun 19 09:09:38 2011 UTC revision 2197 by persson, Sat Jul 2 09:55:42 2011 UTC
# Line 78  if ! echo "X $CXXFLAGS " | grep -q -- " Line 78  if ! echo "X $CXXFLAGS " | grep -q -- "
78  fi  fi
79  AC_SUBST([CXX_CPU_SWITCH])  AC_SUBST([CXX_CPU_SWITCH])
80    
81    mac=no
82    linux=no
83    case "$host" in
84        *-*-darwin*)
85            mac=yes
86            ;;
87        *-*-linux*)
88            linux=yes
89            ;;
90    esac
91    AM_CONDITIONAL(LINUX, test "$linux" = yes)
92    AM_CONDITIONAL(MAC, test "$mac" = yes)
93    
94  # check if we're on MS Windows  # check if we're on MS Windows
95  AC_CHECK_HEADERS(  AC_CHECK_HEADERS(
96      mmsystem.h,      mmsystem.h,
# Line 715  if test "$config_rt_exceptions" = "yes"; Line 728  if test "$config_rt_exceptions" = "yes";
728    AC_DEFINE_UNQUOTED(CONFIG_RT_EXCEPTIONS, 1, [Define to 1 to allow exceptions in the realtime context.])    AC_DEFINE_UNQUOTED(CONFIG_RT_EXCEPTIONS, 1, [Define to 1 to allow exceptions in the realtime context.])
729  fi  fi
730    
731  case "$host" in  config_pthread_testcancel="$mac"
     *-*-darwin*)  
         config_pthread_testcancel=yes  
         ;;  
     *)  
         config_pthread_testcancel=no  
         ;;  
 esac  
   
732  AC_ARG_ENABLE(pthread-testcancel,  AC_ARG_ENABLE(pthread-testcancel,
733    [  --enable-pthread-testcancel    [  --enable-pthread-testcancel
734                            Enable pthread_testcancel() calls and avoid                            Enable pthread_testcancel() calls and avoid

Legend:
Removed from v.2185  
changed lines
  Added in v.2197

  ViewVC Help
Powered by ViewVC