--- configure.orig	2011-10-14 14:34:47.367393592 +0400
+++ configure	2011-10-14 14:34:57.769420421 +0400
@@ -5505,7 +5505,7 @@
   enableval=$enable_threads;
 fi
 
-if test "x$enable_threads" == "xyes"; then
+if test "x$enable_threads" = "xyes"; then
   { echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
 echo $ECHO_N "checking for library containing pthread_create... $ECHO_C" >&6; }
 if test "${ac_cv_search_pthread_create+set}" = set; then
