summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-01-13 09:48:45 (GMT)
committerSven Nierlein <sven@nierlein.de>2018-10-22 14:28:51 (GMT)
commit0b85260bd2d6b2fd62588c71daf44bc1156a632f (patch)
tree80f6265c063e7aa08354d3fafbbdf4f2d2f141bb /configure.ac
parent82a634f7bfa433b78560be45ae6b52e1d101a26a (diff)
downloadmonitoring-plugins-0b85260bd2d6b2fd62588c71daf44bc1156a632f.tar.gz
added autoconf stuff for curl plugin, created empty plugin
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bf12995..04ec5bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -385,6 +385,20 @@ if test "$ac_cv_header_wtsapi32_h" = "yes"; then
385 AC_SUBST(WTSAPI32LIBS) 385 AC_SUBST(WTSAPI32LIBS)
386fi 386fi
387 387
388dnl Check for cURL library
389LIBCURL_CHECK_CONFIG(yes, 7.15.2, [
390 EXTRAS="$EXTRAS check_curl\$(EXEEXT)"
391 LIBCURLINCLUDE="$LIBCURL_CPPFLAGS"
392 LIBCURLLIBS="$LIBCURL"
393 LIBCURLCFLAGS="$LIBCURL_CPPFLAGS"
394 AC_SUBST(LIBCURLINCLUDE)
395 AC_SUBST(LIBCURLLIBS)
396 AC_SUBST(LIBCURLCFLAGS)
397], [
398 AC_MSG_WARN([Skipping curl plugin])
399 AC_MSG_WARN([install libcurl libs to compile this plugin (see REQUIREMENTS).])
400])
401
388dnl Fallback to who(1) if the system doesn't provide an utmpx(5) interface 402dnl Fallback to who(1) if the system doesn't provide an utmpx(5) interface
389if test "$ac_cv_header_utmpx_h" = "no" -a "$ac_cv_header_wtsapi32_h" = "no" 403if test "$ac_cv_header_utmpx_h" = "no" -a "$ac_cv_header_wtsapi32_h" = "no"
390then 404then
@@ -1882,4 +1896,5 @@ ACX_FEATURE([enable],[perl-modules])
1882ACX_FEATURE([with],[cgiurl]) 1896ACX_FEATURE([with],[cgiurl])
1883ACX_FEATURE([with],[trusted-path]) 1897ACX_FEATURE([with],[trusted-path])
1884ACX_FEATURE([enable],[libtap]) 1898ACX_FEATURE([enable],[libtap])
1899ACX_FEATURE([with],[libcurl])
1885 1900