freebsd-ports/databases/libmemcached/files/patch-configure
Vanilla I. Shu 12df5f5a1d Fix compile problem with gcc46.
PR:		ports/156756
Submitted by:	Olivier <software-freebsd@interfasys dot ch>
2011-05-23 12:48:19 +00:00

34 lines
1 KiB
Text

--- ./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=