Closed gurubert closed 5 years ago
On Debian 9 libldns has version 1.7.0 and its pkg-config file is called libldns and not ldns any more.
diff --git a/configure.ac b/configure.ac index 400343b..d41f83d 100644 --- a/configure.ac +++ b/configure.ac @@ -110,7 +110,7 @@ AM_CONDITIONAL([HAVE_CURL_TFTP], [test "x$libcurl_protocol_TFTP" = "xyes"]) AC_ARG_WITH([ldns], [AS_HELP_STRING([--without-ldns], [Build without ldns])]) AS_IF([test "x$with_ldns" != "xno"], - [PKG_CHECK_MODULES([LDNS], [ldns], [have_ldns=yes], [have_ldns=no])], + [PKG_CHECK_MODULES([LDNS], [libldns], [have_ldns=yes], [have_ldns=no])], [have_ldns=disabled]) AS_IF([test "x$have_ldns" = "xyes"], [],
diff --git a/configure.ac b/configure.ac
index 400343b..d41f83d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -110,7 +110,7 @@ AM_CONDITIONAL([HAVE_CURL_TFTP], [test "x$libcurl_protocol_TFTP" = "xyes"])
AC_ARG_WITH([ldns],
[AS_HELP_STRING([--without-ldns], [Build without ldns])])
AS_IF([test "x$with_ldns" != "xno"],
- [PKG_CHECK_MODULES([LDNS], [ldns], [have_ldns=yes], [have_ldns=no])],
+ [PKG_CHECK_MODULES([LDNS], [libldns], [have_ldns=yes], [have_ldns=no])],
[have_ldns=disabled])
AS_IF([test "x$have_ldns" = "xyes"],
[],
On Debian 9 libldns has version 1.7.0 and its pkg-config file is called libldns and not ldns any more.
diff --git a/configure.ac b/configure.ac
index 400343b..d41f83d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -110,7 +110,7 @@ AM_CONDITIONAL([HAVE_CURL_TFTP], [test "x$libcurl_protocol_TFTP" = "xyes"])
AC_ARG_WITH([ldns],
[AS_HELP_STRING([--without-ldns], [Build without ldns])])
AS_IF([test "x$with_ldns" != "xno"],
- [PKG_CHECK_MODULES([LDNS], [ldns], [have_ldns=yes], [have_ldns=no])],
+ [PKG_CHECK_MODULES([LDNS], [libldns], [have_ldns=yes], [have_ldns=no])],
[have_ldns=disabled])
AS_IF([test "x$have_ldns" = "xyes"],
[],