--- configure.orig	2010-01-12 08:22:27.000000000 +0800
+++ configure	2010-01-19 12:20:44.000000000 +0800
@@ -22431,7 +22431,7 @@ $as_echo "$ac_cv_safe_to_use_Wno_attribu
 
         if test "$ac_cv_safe_to_use_Wno_attributes_" = "yes"; then
 
-          CC_WARNINGS="${CC_WARNINGS} -Wno-attributes"
+          CC_WARNINGS="${CC_WARNINGS}"
           NO_ATTRIBUTES="-Wno-attributes"
 fi
 
@@ -24391,10 +24391,10 @@ fi
 { $as_echo "$as_me:$LINENO: result: $ac_cv_libevent" >&5
 $as_echo "$ac_cv_libevent" >&6; }
   if test "$ac_cv_libevent" = yes; then
-    HAVE_LIBEVENT=yes
+    HAVE_LIBEVENT=no
 
 cat >>confdefs.h <<\_ACEOF
-#define HAVE_LIBEVENT 1
+#define HAVE_LIBEVENT 0
 _ACEOF
 
     { $as_echo "$as_me:$LINENO: checking how to link with libevent" >&5
@@ -24417,8 +24417,8 @@ $as_echo "$LIBEVENT" >&6; }
 
 
    if test "x${ac_cv_libevent}" = "xyes"; then
-  HAVE_LIBEVENT_TRUE=
-  HAVE_LIBEVENT_FALSE='#'
+  HAVE_LIBEVENT_TRUE='#'
+  HAVE_LIBEVENT_FALSE=
 else
   HAVE_LIBEVENT_TRUE='#'
   HAVE_LIBEVENT_FALSE=
