From: Pekka Riikonen Date: Mon, 3 Sep 2001 17:13:31 +0000 (+0000) Subject: updates. X-Git-Tag: silcertest~133 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=d972ebf21912969ff5eeea1d0c9eb9e5b8f34b81 updates. --- diff --git a/CHANGES b/CHANGES index 479243be..1f3ac680 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,13 @@ +Mon Sep 3 20:09:59 EEST 2001 Pekka Riikonen + + * 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 * Fixed WIN32 configuration in the ./configure script. diff --git a/configure.in.pre b/configure.in.pre index 17e2b7cb..7ba342c8 100644 --- a/configure.in.pre +++ b/configure.in.pre @@ -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