]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
configure.ac: fix ldns test
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 20 Jan 2020 12:58:11 +0000 (13:58 +0100)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 20 Jan 2020 23:46:11 +0000 (10:46 +1100)
When running ./configure --with-ldns, if ldns-config cannot be found, we
add -Iyes/include to CPPFLAGS and -Lyes/lib to LDFLAGS. Fix that.

configure.ac

index b1b3bdacf6d7182ff9b1a86bbfee30df1e762abc..85e687773ec235701abd22d9b47d6ef8767551a4 100644 (file)
@@ -1533,8 +1533,6 @@ AC_ARG_WITH(ldns,
        if test "x$withval" = "xyes" ; then
                AC_PATH_TOOL([LDNSCONFIG], [ldns-config], [no])
                if test "x$LDNSCONFIG" = "xno"; then
-                       CPPFLAGS="$CPPFLAGS -I${withval}/include"
-                       LDFLAGS="$LDFLAGS -L${withval}/lib"
                        LIBS="-lldns $LIBS"
                        ldns=yes
                else