updates.
[silc.git] / configure.in.pre
index 23e6da76e54640f1b99a19930513ebd0641c4033..9999270a50e55ec5f0eee1de28375e3d5ecafe31 100644 (file)
@@ -563,16 +563,15 @@ AC_ARG_ENABLE(threads,
 [ 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);],