[PATCH] Fix freeradius-client library detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux