+Mon Sep 3 20:09:59 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
+
+ * Fixed the lib/silcmath/mpi/mpi.h to always use 32-bit data
+ types. The assembler optimizations seemed not to like 64-bit
+ data types. The assmebler optimizations thus are now enabled
+ also for BSD systems as opposed to only enable them for Linux.
+
+ * Do not check for threads at all on BSD systems. Affected
+ file configure.in.pre.
+
Sun Sep 2 17:17:24 EEST 2001 Pekka Riikonen <priikone@silcnet.org>
* Fixed WIN32 configuration in the ./configure script.
#
AC_CANONICAL_SYSTEM
case "$target" in
+ *-*-*bsd*)
+ check_threads=false
+ ;;
*)
+ check_threads=true
;;
esac
AC_MSG_RESULT(no))
#
-# Pthread checking
+# Threads support
#
+AC_ARG_ENABLE(threads,
+[ --disable-threads Do not compile with multi-thread support],
+[ case "${enableval}" in
+ yes)
+ want_threads=true
+ check_threads=true
+ ;;
+ *)
+ want_threads=false
+ check_threads=false
+ ;;
+esac ])
+
+if test x$check_threads = xtrue; then
want_threads=false
AC_CHECK_HEADERS(pthread.h,
[ AC_DEFINE(SILC_HAVE_PTHREAD)
fi
])
-AC_ARG_ENABLE(threads,
-[ --disable-threads Do not compile with multi-thread support],
-[ case "${enableval}" in
- yes)
- want_threads=true
- ;;
- *)
- want_threads=false
- ;;
-esac ])
-
AM_CONDITIONAL(SILC_THREADS, test x$want_threads = xtrue)
if test x$want_threads = xtrue; then
TMP_LIBS="$LIBS"
LIBS="$TMP_LIBS $LIBS"
fi
+fi
#
# Other configure scripts