--- linuxsampler/trunk/configure.in 2008/01/23 23:52:34 1648 +++ linuxsampler/trunk/configure.in 2008/01/25 15:06:02 1649 @@ -533,6 +533,17 @@ AC_DEFINE_UNQUOTED(CONFIG_RT_EXCEPTIONS, 1, [Define to 1 to allow exceptions in the realtime context.]) fi +AC_ARG_ENABLE(pthread-testcancel, + [ --enable-pthread-testcancel + Enable pthread_testcancel() calls and avoid asynchronous + cancel of pthreads (default=no).], + [config_pthread_testcancel="$enableval"], + [config_pthread_testcancel="no"] +) +if test "$config_pthread_testcancel" = "yes"; then + AC_DEFINE_UNQUOTED(CONFIG_PTHREAD_TESTCANCEL, 1, [Define to 1 to enable pthread_testcancel() calls.]) +fi + AC_ARG_ENABLE(preload-samples, [ --enable-preload-samples Due to seeking and latency issues with hard drives