updates.
authorPekka Riikonen <priikone@silcnet.org>
Mon, 3 Sep 2001 17:13:31 +0000 (17:13 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 3 Sep 2001 17:13:31 +0000 (17:13 +0000)
CHANGES
configure.in.pre

diff --git a/CHANGES b/CHANGES
index 479243be0cc7b6f1ed2f915d566e2da792d143f0..1f3ac68090e59c40aa85aa55d4460bd3659a2b6b 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,13 @@
+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.
index 17e2b7cbfbe51b68ca53db8197fd603a9d53974d..7ba342c853fcda7bcb28af51f86d1ce5d77ca730 100644 (file)
@@ -23,7 +23,11 @@ AC_INIT(includes/version.h)
 #
 AC_CANONICAL_SYSTEM
 case "$target" in
+  *-*-*bsd*)
+    check_threads=false
+    ;;
   *)
+    check_threads=true
     ;;
 esac
 
@@ -590,8 +594,22 @@ esac ], CFLAGS="-O2 -g $CFLAGS"
         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) 
@@ -609,17 +627,6 @@ AC_CHECK_HEADERS(pthread.h,
           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"
@@ -663,6 +670,7 @@ if test x$want_threads = xtrue; then
 
   LIBS="$TMP_LIBS $LIBS"
 fi
+fi
 
 #
 # Other configure scripts