[ case "${enableval}" in
yes)
AC_DEFINE(SILC_THREADS)
- AM_CONDITIONAL(SILC_THREADS)
want_threads=true
;;
*)
want_threads=false
;;
esac ], AC_DEFINE(SILC_THREADS)
- AM_CONDITIONAL(SILC_THREADS)
- want_threads=true)
+ want_threads=true)
+AM_CONDITIONAL(SILC_THREADS, test x$want_threads = xtrue)
if test x$want_threads = xtrue; then
AC_TRY_COMPILE([#include <pthread.h>],
[pthread_attr_t attr; pthread_attr_init(&attr);],