work with latest libevent trunk.

git-svn-id: file:///svn/unbound/trunk@1026 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2008-04-10 08:16:26 +00:00
parent f0cf79146c
commit 06f41d9d84
3 changed files with 5 additions and 2 deletions

2
configure vendored
View file

@ -21975,7 +21975,7 @@ echo $ECHO_N "checking for libevent... $ECHO_C" >&6; }
# libevent source directory
{ echo "$as_me:$LINENO: result: found in $thedir" >&5
echo "${ECHO_T}found in $thedir" >&6; }
CPPFLAGS="$CPPFLAGS -I$thedir"
CPPFLAGS="$CPPFLAGS -I$thedir -I$thedir/include"
BAK_LDFLAGS="$LDFLAGS"
# remove evdns from linking
mkdir build >/dev/null 2>&1

View file

@ -523,7 +523,7 @@ if test x_$withval == x_yes -o x_$withval != x_no; then
if test -f "$dir/event.h" -a \( -f "$dir/libevent.la" -o -f "$dir/libev.la" \) ; then
# libevent source directory
AC_MSG_RESULT(found in $thedir)
CPPFLAGS="$CPPFLAGS -I$thedir"
CPPFLAGS="$CPPFLAGS -I$thedir -I$thedir/include"
BAK_LDFLAGS="$LDFLAGS"
# remove evdns from linking
mkdir build >/dev/null 2>&1

View file

@ -1,3 +1,6 @@
10 April 2008: Wouter
- --with-libevent works with latest libevent 1.4.99-trunk.
9 April 2008: Wouter
- configure can detect libev(from its build directory) when passed
--with-libevent=/home/wouter/libev-3.2