[ac] drop old libjson compatibility
json-c >= 0.11 is required now
This commit is contained in:
parent
64012e792c
commit
7293ce43da
13
configure.ac
13
configure.ac
@ -183,15 +183,10 @@ if test "${enable_ac}" = "yes"; then
|
||||
test "x${have_wolfssl_ssl}" != "xyes" && AC_MSG_ERROR(You need the wolfssl library)
|
||||
|
||||
PKG_CHECK_MODULES(
|
||||
[LIBJSON],
|
||||
[json-c >= 0.11],
|
||||
[],
|
||||
[PKG_CHECK_MODULES(
|
||||
[LIBJSON],
|
||||
[json >= 0.9],
|
||||
[],
|
||||
[AC_MSG_ERROR(You need the libjson)]
|
||||
)]
|
||||
[LIBJSON],
|
||||
[json-c >= 0.11],
|
||||
[],
|
||||
[AC_MSG_ERROR(You need the libjson)]
|
||||
)
|
||||
|
||||
# Check XML2 library
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
#include <pthread.h>
|
||||
#include <linux/if_ether.h>
|
||||
#include <json/json.h>
|
||||
#include <json-c/json.h>
|
||||
|
||||
#include <ac_kmod.h>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "ac_session.h"
|
||||
#include "ac_json.h"
|
||||
#include "ac_wlans.h"
|
||||
#include <json/json.h>
|
||||
#include <json-c/json.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
/* */
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "capwap_array.h"
|
||||
#include "ac_session.h"
|
||||
#include "ac_json.h"
|
||||
#include <json/json.h>
|
||||
#include <json-c/json.h>
|
||||
|
||||
/* */
|
||||
static struct ac_soap_response* ac_dfa_state_datacheck_parsing_request(struct ac_session_t* session, struct capwap_parsed_packet* packet) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "ac_session.h"
|
||||
#include "ac_backend.h"
|
||||
#include "ac_json.h"
|
||||
#include <json/json.h>
|
||||
#include <json-c/json.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
/* */
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define __AC_JSON_HEADER__
|
||||
|
||||
#include "capwap_array.h"
|
||||
#include <json/json.h>
|
||||
#include <json-c/json.h>
|
||||
|
||||
#define IEEE80211_BINDING_JSON_ROOT "WTPRadio"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user