--- configure.orig	2010-07-12 08:27:51.000000000 +0400
+++ configure	2010-08-05 05:18:10.000000000 +0400
@@ -4978,7 +4978,7 @@
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
-  LIBS="$LIBS -lpthread"
+  true; #LIBS="$LIBS -lpthread"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
 $as_echo_n "checking for pthread_create in -lc_r... " >&6; }
@@ -5484,13 +5484,13 @@
 if test "${with_libdkim+set}" = set; then :
   withval=$with_libdkim; LDFLAGS=$LDFLAGS" -L$withval/lib -Wl,$rpath$withval/lib"
 	    CFLAGS=$CFLAGS" -I$withval/include"
-	    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dkim_init in -ldkim -lsm -lcrypto" >&5
-$as_echo_n "checking for dkim_init in -ldkim -lsm -lcrypto... " >&6; }
+	    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dkim_init in -ldkim -lcrypto" >&5
+$as_echo_n "checking for dkim_init in -ldkim -lcrypto... " >&6; }
 if test "${ac_cv_lib_dkim__lsm__lcrypto_dkim_init+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldkim -lsm -lcrypto  $LIBS"
+LIBS="-ldkim -lcrypto  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
