don't call AM_CONDITIONAL conditonally for SILC_THREADS. this fixes autoconf
authorLubomir Sedlacik <salo@silcnet.org>
Sun, 18 Aug 2002 02:44:30 +0000 (02:44 +0000)
committerLubomir Sedlacik <salo@silcnet.org>
Sun, 18 Aug 2002 02:44:30 +0000 (02:44 +0000)
2.5x error on *BSD systems.
pointed out by Thorsten Schroeder on silc-devel

configure.in.pre

index 6e9d7c5858ae38f8c1262913696aa34863bce803..dd91ea9b3ead387bd28607326487ea8de5e1aecd 100644 (file)
@@ -578,6 +578,7 @@ AC_CHECK_HEADERS(pthread.h,
             want_threads=true
           fi
        ])
+fi
 
 AM_CONDITIONAL(SILC_THREADS, test x$want_threads = xtrue)
 if test x$want_threads = xtrue; then
@@ -622,7 +623,6 @@ if test x$want_threads = xtrue; then
 
   LIBS="$TMP_LIBS $LIBS"
 fi
-fi
 
 #
 # Other configure scripts