summaryrefslogtreecommitdiff
path: root/databases/libmemcached/files/patch-configure
blob: 82b72e9135084644dab6ac8f931058b9d8e134bb (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	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=