From: Darren Tucker Date: Mon, 11 Dec 2017 02:42:51 +0000 (+1100) Subject: Fix pasto in ldns handling. X-Git-Tag: V_7_7_P1~194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f001de8fbf7f3faddddd8efd03df18e57601f7eb;p=thirdparty%2Fopenssh-portable.git Fix pasto in ldns handling. When ldns-config is not found, configure would check the wrong variable. ok djm@ --- diff --git a/configure.ac b/configure.ac index 3e8a232d9..d49660516 100644 --- a/configure.ac +++ b/configure.ac @@ -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"