From: Wouter Wijngaards Date: Thu, 10 Apr 2008 08:16:26 +0000 (+0000) Subject: work with latest libevent trunk. X-Git-Tag: release-0.11~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06f41d9d84a0bd741aa8e21a25afab642df2242f;p=thirdparty%2Funbound.git work with latest libevent trunk. git-svn-id: file:///svn/unbound/trunk@1026 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/configure b/configure index 7adf3dca2..c79a1cb49 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 1e38ce48f..016c4a98a 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/doc/Changelog b/doc/Changelog index 83b1d0d5b..a390f6f00 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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