From: Ruben Kerkhof Date: Mon, 20 Jan 2020 12:58:11 +0000 (+0100) Subject: configure.ac: fix ldns test X-Git-Tag: V_8_2_P1~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c428c0e991e2c4fabc48cf5d9b8f84c9412e0c3;p=thirdparty%2Fopenssh-portable.git configure.ac: fix ldns test When running ./configure --with-ldns, if ldns-config cannot be found, we add -Iyes/include to CPPFLAGS and -Lyes/lib to LDFLAGS. Fix that. --- diff --git a/configure.ac b/configure.ac index b1b3bdacf..85e687773 100644 --- a/configure.ac +++ b/configure.ac @@ -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