- Detect libevent2 install automatically by configure.

git-svn-id: file:///svn/unbound/trunk@3064 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2014-02-03 11:02:17 +00:00
parent decb716939
commit 9dd5ee6a26
3 changed files with 5 additions and 2 deletions

2
configure vendored
View file

@ -17179,7 +17179,7 @@ $as_echo_n "checking for libevent... " >&6; }
fi
for dir in $withval; do
thedir="$dir"
if test -f "$dir/include/event.h"; then
if test -f "$dir/include/event.h" -o -f "$dir/include/event2/event.h"; then
found_libevent="yes"
if test "$thedir" != "/usr"; then
CPPFLAGS="$CPPFLAGS -I$thedir/include"

View file

@ -763,7 +763,7 @@ if test x_$withval = x_yes -o x_$withval != x_no; then
fi
for dir in $withval; do
thedir="$dir"
if test -f "$dir/include/event.h"; then
if test -f "$dir/include/event.h" -o -f "$dir/include/event2/event.h"; then
found_libevent="yes"
dnl assume /usr is in default path.
if test "$thedir" != "/usr"; then

View file

@ -1,3 +1,6 @@
3 February 2014: Wouter
- Detect libevent2 install automatically by configure.
31 January 2014: Wouter
- unit test for ldns wire to str and back with zones, root, nlnetlabs
and types.sidnlabs.