715 |
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.]) |
716 |
fi |
fi |
717 |
|
|
718 |
|
case "$host" in |
719 |
|
*-*-darwin*) |
720 |
|
config_pthread_testcancel=yes |
721 |
|
;; |
722 |
|
*) |
723 |
|
config_pthread_testcancel=no |
724 |
|
;; |
725 |
|
esac |
726 |
|
|
727 |
AC_ARG_ENABLE(pthread-testcancel, |
AC_ARG_ENABLE(pthread-testcancel, |
728 |
[ --enable-pthread-testcancel |
[ --enable-pthread-testcancel |
729 |
Enable pthread_testcancel() calls and avoid asynchronous |
Enable pthread_testcancel() calls and avoid |
730 |
cancel of pthreads (default=no).], |
asynchronous cancel of pthreads (default=yes |
731 |
|
for Mac targets, no otherwise).], |
732 |
[config_pthread_testcancel="$enableval"], |
[config_pthread_testcancel="$enableval"], |
733 |
[config_pthread_testcancel="no"] |
[] |
734 |
) |
) |
735 |
if test "$config_pthread_testcancel" = "yes"; then |
if test "$config_pthread_testcancel" = "yes"; then |
736 |
AC_DEFINE_UNQUOTED(CONFIG_PTHREAD_TESTCANCEL, 1, [Define to 1 to enable pthread_testcancel() calls.]) |
AC_DEFINE_UNQUOTED(CONFIG_PTHREAD_TESTCANCEL, 1, [Define to 1 to enable pthread_testcancel() calls.]) |