summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
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 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)
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