From 0c428c0e991e2c4fabc48cf5d9b8f84c9412e0c3 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Mon, 20 Jan 2020 13:58:11 +0100 Subject: 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. --- configure.ac | 2 -- 1 file changed, 2 deletions(-) (limited to 'configure.ac') 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 -- cgit v1.2.3