BuildSystem: Add support for building RADIUS with radcli.

Radcli is yet another RADIUS client library, generally compatible with
freeradius and radiusclient-ng.

This commit adds autoconf option for detecting it as well and changes
cdr_radius and cel_radius to use its header file in that case.

ASTERISK-26540
Reported by: Tzafrir Cohen

Change-Id: Icc056d476b7acf481309219e9abdca416866c6ec
This commit is contained in:
Alexander Traud
2018-03-22 14:54:30 +01:00
committed by George Joseph
parent e9313920e5
commit 83353997f4
6 changed files with 128 additions and 15 deletions

View File

@@ -35,11 +35,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Rev$")
#ifdef FREERADIUS_CLIENT
#include <freeradius-client.h>
#else
#include <radiusclient-ng.h>
#endif
#include RADIUS_HEADER_STR
#include "asterisk/channel.h"
#include "asterisk/cel.h"