diff options
author | Matthias Eble <psychotrahe@users.sourceforge.net> | 2007-09-23 09:48:37 +0000 |
---|---|---|
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | 2007-09-23 09:48:37 +0000 |
commit | d1c9a5cf6a8c5e7990e3efd167d84dc8f1d8a042 (patch) | |
tree | dd9b6cc027c1a84e7c7af35fa167ef84dfcb6dc5 /configure.in | |
parent | bb32ecb79c6e4d7161f0bee54e4197fca64d23d6 (diff) | |
download | monitoring-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.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.in b/configure.in index dc89b05f..ee928d44 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) |
220 | else | 220 | else |
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 | ||
223 | fi | 230 | fi |
224 | LIBS="$_SAVEDLIBS" | 231 | LIBS="$_SAVEDLIBS" |
225 | 232 | ||