diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index 9aaa515..87d43fd 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -274,22 +274,22 @@ AC_ARG_WITH([radius], [AS_HELP_STRING([--without-radius], [Skips the radius plug | |||
274 | dnl Check for radius libraries | 274 | dnl Check for radius libraries |
275 | AS_IF([test "x$with_radius" != "xno"], [ | 275 | AS_IF([test "x$with_radius" != "xno"], [ |
276 | _SAVEDLIBS="$LIBS" | 276 | _SAVEDLIBS="$LIBS" |
277 | AC_CHECK_LIB(radiusclient,rc_read_config) | 277 | AC_CHECK_LIB(freeradius-client,rc_read_config) |
278 | if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then | 278 | if test "$ac_cv_lib_freeradius_client_rc_read_config" = "yes"; then |
279 | EXTRAS="$EXTRAS check_radius\$(EXEEXT)" | 279 | EXTRAS="$EXTRAS check_radius\$(EXEEXT)" |
280 | RADIUSLIBS="-lradiusclient" | 280 | RADIUSLIBS="-lfreeradius-client" |
281 | AC_SUBST(RADIUSLIBS) | 281 | AC_SUBST(RADIUSLIBS) |
282 | else | 282 | else |
283 | AC_CHECK_LIB(radiusclient-ng,rc_read_config) | 283 | AC_CHECK_LIB(radiusclient-ng,rc_read_config) |
284 | if test "$ac_cv_lib_radiusclient_ng_rc_read_config" = "yes"; then | 284 | if test "$ac_cv_lib_radiusclient_ng_rc_read_config" = "yes"; then |
285 | EXTRAS="$EXTRAS check_radius\$(EXEEXT)" | 285 | EXTRAS="$EXTRAS check_radius\$(EXEEXT)" |
286 | RADIUSLIBS="-lradiusclient-ng" | 286 | RADIUSLIBS="-lradiusclient-ng" |
287 | AC_SUBST(RADIUSLIBS) | 287 | AC_SUBST(RADIUSLIBS) |
288 | else | 288 | else |
289 | AC_CHECK_LIB(freeradius-client,rc_read_config) | 289 | AC_CHECK_LIB(radiusclient,rc_read_config) |
290 | if test "$ac_cv_lib_freeradius_client_rc_read_config" = "yes"; then | 290 | if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then |
291 | EXTRAS="$EXTRAS check_radius\$(EXEEXT)" | 291 | EXTRAS="$EXTRAS check_radius\$(EXEEXT)" |
292 | RADIUSLIBS="-lfreeradius-client" | 292 | RADIUSLIBS="-lradiusclient" |
293 | AC_SUBST(RADIUSLIBS) | 293 | AC_SUBST(RADIUSLIBS) |
294 | else | 294 | else |
295 | AC_MSG_WARN([Skipping radius plugin]) | 295 | AC_MSG_WARN([Skipping radius plugin]) |