[PATCH] Fix freeradius-client library detection
Nikos Mavrogiannopoulos
nmav at gnutls.org
Sat Feb 6 09:11:58 PST 2016
On Sat, 2016-02-06 at 04:57 +0800, Aron Xu wrote:
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index f1da755..1988423 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -237,7 +237,7 @@ if test "$test_for_radius" = yes;then
> AC_MSG_CHECKING([for freeradius client library])
> AC_LINK_IFELSE([AC_LANG_PROGRAM([
> #include <freeradius-client.h>],[
> -#ifndef PW_MAX_MSG_SIZE
> +#ifndef PW_ACCESS_REQUEST
> #error 1
> #endif
> rc_read_config(0);])],
Hi Aron,
The check is intentional testing for PW_ACCESS_REQUEST because this
was introduced in version 1.1.7 of freeradius-client and that's the
only version which you can use ocserv with.
regards,
Nikos
More information about the openconnect-devel
mailing list