--- configure.orig 2010-07-02 21:24:43.000000000 +0800 +++ configure 2010-07-02 21:26:17.000000000 +0800 @@ -17987,7 +17987,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 fi @@ -20246,9 +20246,9 @@ fi { $as_echo "$as_me:${as_lineno-$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 -$as_echo "#define HAVE_LIBEVENT 1" >>confdefs.h +$as_echo "#define HAVE_LIBEVENT 0" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libevent" >&5 $as_echo_n "checking how to link with libevent... " >&6; } @@ -20270,8 +20270,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=