summaryrefslogtreecommitdiff
path: root/databases/libmemcached/files/patch-configure
blob: c64f737154e1c58bd1acc472b060320f8a8d6e08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- ./configure.orig	2011-05-03 00:12:18.000000000 +0800
+++ ./configure	2011-05-03 00:12:18.000000000 +0800
@@ -17926,7 +17926,7 @@
 
         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
@@ -19903,9 +19903,9 @@
 { $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; }
@@ -19927,8 +19927,8 @@
 
 
    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=