summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.de>2018-10-24 09:17:16 +0200
committerSven Nierlein <sven@nierlein.de>2018-10-24 09:17:16 +0200
commit7a46c98f830526a0e682d28d5a9db3d838ac9f36 (patch)
tree877c4111d911df374028cfb829a532a75cd55e4e
parent7501ba9f8a34413147281bed0b32b89da1ce2cb7 (diff)
downloadmonitoring-plugins-7a46c98.tar.gz
check_curl: do not build check_curl if curllibs are missing
-rw-r--r--configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 1fccf53d..725bf0ff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -403,7 +403,6 @@ LIBCURL_CHECK_CONFIG(yes, 7.15.2, [
403 403
404dnl Check for uriparser library 404dnl Check for uriparser library
405URIPARSER_CHECK(yes, 0.7.5, [ 405URIPARSER_CHECK(yes, 0.7.5, [
406 _can_enable_check_curl=yes
407 URIPARSERINCLUDE="$URIPARSER_CPPFLAGS" 406 URIPARSERINCLUDE="$URIPARSER_CPPFLAGS"
408 URIPARSERLIBS="$URIPARSER" 407 URIPARSERLIBS="$URIPARSER"
409 URIPARSERCFLAGS="$URIPARSER_CPPFLAGS" 408 URIPARSERCFLAGS="$URIPARSER_CPPFLAGS"
@@ -418,10 +417,10 @@ URIPARSER_CHECK(yes, 0.7.5, [
418 417
419dnl prerequisites met, enable the plugin 418dnl prerequisites met, enable the plugin
420if test x$_can_enable_check_curl = xyes; then 419if test x$_can_enable_check_curl = xyes; then
421EXTRAS="$EXTRAS check_curl\$(EXEEXT)" 420 EXTRAS="$EXTRAS check_curl\$(EXEEXT)"
422 421
423dnl Enable bundled picohttpparser library (for now) 422 dnl Enable bundled picohttpparser library (for now)
424AC_SUBST(PICOHTTPPARSER_DIR, picohttpparser) 423 AC_SUBST(PICOHTTPPARSER_DIR, picohttpparser)
425fi 424fi
426AM_CONDITIONAL([WITH_CHECK_CURL], [test "$_can_enable_check_curl" = "yes"]) 425AM_CONDITIONAL([WITH_CHECK_CURL], [test "$_can_enable_check_curl" = "yes"])
427AM_COND_IF([WITH_CHECK_CURL], 426AM_COND_IF([WITH_CHECK_CURL],