remove mqtt-c from websockets (#14181)
* remove MQTT-C (MQTT 3 implementation) from buildsystem
This commit is contained in:
parent
5fabd2548c
commit
c2c3876c51
|
@ -944,8 +944,6 @@ set(MQTT_WEBSOCKETS_FILES
|
|||
mqtt_websockets/c-rbuf/src/ringbuffer.c
|
||||
mqtt_websockets/c-rbuf/include/ringbuffer.h
|
||||
mqtt_websockets/c-rbuf/src/ringbuffer_internal.h
|
||||
mqtt_websockets/MQTT-C/src/mqtt.c
|
||||
mqtt_websockets/MQTT-C/include/mqtt.h
|
||||
)
|
||||
|
||||
set(SPAWN_PLUGIN_FILES
|
||||
|
@ -1273,7 +1271,6 @@ list(APPEND NETDATA_COMMON_INCLUDE_DIRS ${PROTOBUF_INCLUDE_DIRS})
|
|||
list(APPEND NETDATA_COMMON_CFLAGS ${PROTOBUF_CFLAGS_OTHER})
|
||||
list(APPEND NETDATA_FILES ${ACLK_FILES} ${ACLK_PROTO_BUILT_SRCS} ${ACLK_PROTO_BUILT_HDRS})
|
||||
include_directories(BEFORE ${CMAKE_SOURCE_DIR}/aclk/aclk-schemas)
|
||||
include_directories(BEFORE ${CMAKE_SOURCE_DIR}/mqtt_websockets/MQTT-C/include)
|
||||
include_directories(BEFORE ${CMAKE_SOURCE_DIR}/mqtt_websockets/src/include)
|
||||
include_directories(BEFORE ${CMAKE_SOURCE_DIR}/mqtt_websockets/c-rbuf/include)
|
||||
|
||||
|
|
|
@ -736,8 +736,6 @@ libmqttwebsockets_a_SOURCES = \
|
|||
mqtt_websockets/c-rbuf/src/ringbuffer.c \
|
||||
mqtt_websockets/c-rbuf/include/ringbuffer.h \
|
||||
mqtt_websockets/c-rbuf/src/ringbuffer_internal.h \
|
||||
mqtt_websockets/MQTT-C/src/mqtt.c \
|
||||
mqtt_websockets/MQTT-C/include/mqtt.h \
|
||||
mqtt_websockets/c_rhash/src/c_rhash.c \
|
||||
mqtt_websockets/c_rhash/include/c_rhash.h \
|
||||
mqtt_websockets/c_rhash/src/c_rhash_internal.h
|
||||
|
|
|
@ -701,7 +701,7 @@ void *aclk_main(void *ptr)
|
|||
if (wait_till_agent_claim_ready())
|
||||
goto exit;
|
||||
|
||||
if (!(mqttwss_client = mqtt_wss_new("mqtt_wss", aclk_mqtt_wss_log_cb, msg_callback, puback_callback, 1))) {
|
||||
if (!(mqttwss_client = mqtt_wss_new("mqtt_wss", aclk_mqtt_wss_log_cb, msg_callback, puback_callback))) {
|
||||
error("Couldn't initialize MQTT_WSS network library");
|
||||
goto exit;
|
||||
}
|
||||
|
|
|
@ -813,7 +813,7 @@ if test "$enable_cloud" != "no"; then
|
|||
if test "$can_enable_ng" = "yes"; then
|
||||
enable_aclk="yes"
|
||||
AC_DEFINE([ENABLE_ACLK], [1], [netdata ACLK])
|
||||
OPTIONAL_ACLK_CFLAGS="-I \$(abs_top_srcdir)/mqtt_websockets/src/include -I \$(abs_top_srcdir)/mqtt_websockets/c-rbuf/include -I \$(abs_top_srcdir)/mqtt_websockets/MQTT-C/include -I \$(abs_top_srcdir)/aclk/aclk-schemas"
|
||||
OPTIONAL_ACLK_CFLAGS="-I \$(abs_top_srcdir)/mqtt_websockets/src/include -I \$(abs_top_srcdir)/mqtt_websockets/c-rbuf/include -I \$(abs_top_srcdir)/aclk/aclk-schemas"
|
||||
OPTIONAL_PROTOBUF_CFLAGS="${PROTOBUF_CFLAGS}"
|
||||
CXX11FLAG="-std=c++11"
|
||||
OPTIONAL_PROTOBUF_LIBS="${PROTOBUF_LIBS}"
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit ee2eca38eb34609a8fabe99108e4c53cd0da7869
|
||||
Subproject commit 684fa17afb14ef5a46dde18802548615fdd441ac
|
Loading…
Reference in New Issue