]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fixup -L to -I for event2 includes..
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 15 Apr 2014 11:17:40 +0000 (11:17 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 15 Apr 2014 11:17:40 +0000 (11:17 +0000)
git-svn-id: file:///svn/unbound/trunk@3116 be551aaa-1e26-0410-a405-d3ace91eadb9

configure
configure.ac

index b7ff98c4fdb27841657b6723d00498ad40226110..ac48636dc232b907b9ac9bff40088ebb15e91fd4 100755 (executable)
--- 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
index 6befcf11b5eadb1075dd8fa3e01c270ede9220d1..625e29b173a435c030b67545901b8edf5da69275 100644 (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 "".