summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2012-07-04 23:50:48 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2012-07-04 23:50:48 +0200
commit800a86871305a482a6377e6835529e6abed34161 (patch)
treefd85f5a03721a231eadc17cae9af2e9501555f10 /configure.in
parent49df5964eb6827eb3180f1dfc01c8efaa2859492 (diff)
parente056cc9d8279fdb76ffd77dfeaed4fb13f95cef0 (diff)
downloadmonitoring-plugins-800a86871305a482a6377e6835529e6abed34161.tar.gz
Merge remote-tracking branch 'github/tokkee/sh/check_dbi'
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index bf661095..1d4ed006 100644
--- a/configure.in
+++ b/configure.in
@@ -255,6 +255,19 @@ fi
255LIBS="$_SAVEDLIBS" 255LIBS="$_SAVEDLIBS"
256CPPFLAGS="$_SAVEDCPPFLAGS" 256CPPFLAGS="$_SAVEDCPPFLAGS"
257 257
258dnl Check for DBI libraries
259_SAVEDLIBS="$LIBS"
260AC_CHECK_LIB(dbi,dbi_initialize)
261if test "$ac_cv_lib_dbi_dbi_initialize" = "yes"; then
262 EXTRAS="$EXTRAS check_dbi"
263 DBILIBS="-ldbi"
264 AC_SUBST(DBILIBS)
265else
266 AC_MSG_WARN([Skipping dbi plugin])
267 AC_MSG_WARN([install DBI libs to compile this plugin (see REQUIREMENTS).])
268fi
269LIBS="$_SAVEDLIBS"
270
258dnl Check for radius libraries 271dnl Check for radius libraries
259_SAVEDLIBS="$LIBS" 272_SAVEDLIBS="$LIBS"
260AC_CHECK_LIB(radiusclient,rc_read_config) 273AC_CHECK_LIB(radiusclient,rc_read_config)