]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Fix pasto in ldns handling.
authorDarren Tucker <dtucker@zip.com.au>
Mon, 11 Dec 2017 02:42:51 +0000 (13:42 +1100)
committerDarren Tucker <dtucker@zip.com.au>
Mon, 11 Dec 2017 02:42:51 +0000 (13:42 +1100)
When ldns-config is not found, configure would check the wrong variable.
ok djm@

configure.ac

index 3e8a232d9398e954b15b44eb3275812a81793fb0..d496605168a319012f5ecdc16549fd111a66545f 100644 (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"