summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMatthias Eble <psychotrahe@users.sourceforge.net>2007-09-23 09:48:37 (GMT)
committerMatthias Eble <psychotrahe@users.sourceforge.net>2007-09-23 09:48:37 (GMT)
commitd1c9a5cf6a8c5e7990e3efd167d84dc8f1d8a042 (patch)
treedd9b6cc027c1a84e7c7af35fa167ef84dfcb6dc5 /configure.in
parentbb32ecb79c6e4d7161f0bee54e4197fca64d23d6 (diff)
downloadmonitoring-plugins-d1c9a5cf6a8c5e7990e3efd167d84dc8f1d8a042.tar.gz
Added radiusclient-ng support for check_radius. Thanks to Sebastien Guay (#1218438)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1788 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index dc89b05..ee928d4 100644
--- a/configure.in
+++ b/configure.in
@@ -218,8 +218,15 @@ if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then
218 RADIUSLIBS="-lradiusclient" 218 RADIUSLIBS="-lradiusclient"
219 AC_SUBST(RADIUSLIBS) 219 AC_SUBST(RADIUSLIBS)
220else 220else
221 AC_MSG_WARN([Skipping radius plugin]) 221 AC_CHECK_LIB(radiusclient-ng,rc_read_config)
222 AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).]) 222 if test "$ac_cv_lib_radiusclient_ng_rc_read_config" = "yes"; then
223 EXTRAS="$EXTRAS check_radius"
224 RADIUSLIBS="-lradiusclient-ng"
225 AC_SUBST(RADIUSLIBS)
226 else
227 AC_MSG_WARN([Skipping radius plugin])
228 AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).])
229 fi
223fi 230fi
224LIBS="$_SAVEDLIBS" 231LIBS="$_SAVEDLIBS"
225 232