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, |
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 |