--- linuxsampler/trunk/configure.in 2007/12/06 17:19:16 1560 +++ linuxsampler/trunk/configure.in 2008/01/25 15:06:02 1649 @@ -52,6 +52,7 @@ AC_SUBST(target_os) AC_SUBST(target_vendor) +PKG_PROG_PKG_CONFIG ########################################################################### # General Checks @@ -532,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