From ed95c1bc7246eedb65716f4dd667d96f264dc17c Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 15 Apr 2014 11:17:40 +0000 Subject: [PATCH] Fixup -L to -I for event2 includes.. git-svn-id: file:///svn/unbound/trunk@3116 be551aaa-1e26-0410-a405-d3ace91eadb9 --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index b7ff98c4f..ac48636dc 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 6befcf11b..625e29b17 100644 --- a/configure.ac +++ b/configure.ac @@ -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 "". -- 2.47.2