Fix pasto in ldns handling.
When ldns-config is not found, configure would check the wrong variable. ok djm@
This commit is contained in:
parent
c5bfe83f67
commit
f001de8fbf
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue