Fixup -L to -I for event2 includes..

git-svn-id: file:///svn/unbound/trunk@3116 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2014-04-15 11:17:40 +00:00
parent 29d77903c5
commit ed95c1bc72
2 changed files with 2 additions and 2 deletions

2
configure vendored
View file

@ -17225,7 +17225,7 @@ large outgoing port ranges. " "$LINENO" 5
$as_echo "found in $thedir" >&6; }
if test ! -f $thedir/lib/libevent.a -a ! -f $thedir/lib/libevent.so -a -d "$thedir/lib/event2"; then
LDFLAGS="$LDFLAGS -L$thedir/lib/event2"
CPPFLAGS="$CPPFLAGS -L$thedir/include/event2"
CPPFLAGS="$CPPFLAGS -I$thedir/include/event2"
if test "x$enable_rpath" = xyes; then
if echo "$thedir/lib/event2" | grep "^/" >/dev/null; then

View file

@ -807,7 +807,7 @@ large outgoing port ranges. ])
dnl if event2 exists and no event lib in dir itself, use subdir
if test ! -f $thedir/lib/libevent.a -a ! -f $thedir/lib/libevent.so -a -d "$thedir/lib/event2"; then
LDFLAGS="$LDFLAGS -L$thedir/lib/event2"
CPPFLAGS="$CPPFLAGS -L$thedir/include/event2"
CPPFLAGS="$CPPFLAGS -I$thedir/include/event2"
ACX_RUNTIME_PATH_ADD([$thedir/lib/event2])
else
dnl assume /usr is in default path, do not add "".