diff options
Diffstat (limited to 'web/attachments/240318-configure.patch')
-rw-r--r-- | web/attachments/240318-configure.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/web/attachments/240318-configure.patch b/web/attachments/240318-configure.patch new file mode 100644 index 0000000..c9dc127 --- /dev/null +++ b/web/attachments/240318-configure.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | --- configure.in 2007-08-07 23:21:00.000000000 +0200 | ||
2 | +++ configure_radiusclientng.in 2007-08-07 23:20:54.000000000 +0200 | ||
3 | @@ -218,8 +218,15 @@ | ||
4 | RADIUSLIBS="-lradiusclient" | ||
5 | AC_SUBST(RADIUSLIBS) | ||
6 | else | ||
7 | - AC_MSG_WARN([Skipping radius plugin]) | ||
8 | - AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).]) | ||
9 | + AC_CHECK_LIB(radiusclient-ng,rc_read_config) | ||
10 | + if test "$ac_cv_lib_radiusclient_ng_rc_read_config" = "yes"; then | ||
11 | + EXTRAS="$EXTRAS check_radius" | ||
12 | + RADIUSLIBS="-lradiusclient-ng" | ||
13 | + AC_SUBST(RADIUSLIBS) | ||
14 | + else | ||
15 | + AC_MSG_WARN([Skipping radius plugin]) | ||
16 | + AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).]) | ||
17 | + fi | ||
18 | fi | ||
19 | LIBS="$_SAVEDLIBS" | ||
20 | |||