MonitoringPlug / monitoringplug

My collection of monitoring plugins for Nagios and similar monitoring systems.
GNU General Public License v2.0
61 stars 17 forks source link

Debian 9 ldns pkg-config is called libldns #28

Closed gurubert closed 5 years ago

gurubert commented 6 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"], [],