Enable ldns when using ldns-config.

Actually enable ldns when attempting to use ldns-config.  bz#2697, patch
from fredrik at fornwall.net.
This commit is contained in:
Darren Tucker 2017-03-24 09:44:56 +11:00
parent 58b8cfa2a0
commit 7af27bf538
1 changed files with 1 additions and 0 deletions

View File

@ -1486,6 +1486,7 @@ AC_ARG_WITH(ldns,
else
LIBS="$LIBS `$LDNSCONFIG --libs`"
CPPFLAGS="$CPPFLAGS `$LDNSCONFIG --cflags`"
ldns=yes
fi
elif test "x$withval" != "xno" ; then
CPPFLAGS="$CPPFLAGS -I${withval}/include"