Fix pasto in ldns handling.

When ldns-config is not found, configure would check the wrong variable.
ok djm@
This commit is contained in:
Darren Tucker 2017-12-11 13:42:51 +11:00
parent c5bfe83f67
commit f001de8fbf

View File

@ -1499,7 +1499,7 @@ AC_ARG_WITH(ldns,
ldns=""
if test "x$withval" = "xyes" ; then
AC_PATH_TOOL([LDNSCONFIG], [ldns-config], [no])
if test "x$PKGCONFIG" = "xno"; then
if test "x$LDNSCONFIG" = "xno"; then
CPPFLAGS="$CPPFLAGS -I${withval}/include"
LDFLAGS="$LDFLAGS -L${withval}/lib"
LIBS="-lldns $LIBS"