diff -r 638e7dd1d560 -r 4b54d6f79d25 configure.ac --- a/configure.ac Thu May 07 14:59:50 2020 +0200 +++ b/configure.ac Mon May 11 17:32:08 2020 +0200 @@ -8,7 +8,7 @@ dnl General settings dnl After changeing the version number, run autoconf! PACKAGE="bms" -VERSION="0.3.32" +VERSION="0.3.33" COPYRIGHT="Copyright (C) 2016-2020 Michiel Broek, All Rights Reserved" CYEARS="2016-2020" AC_SUBST(PACKAGE) @@ -89,6 +89,15 @@ AC_MSG_ERROR(libuuid not found) fi +AC_CHECK_LIB(websockets,lws_client_connect,result=yes,result=no) +if test "$result" = "yes"; then + LIBS="$LIBS -lwebsockets" + AC_CHECK_HEADERS(libwebsockets.h) +else + AC_MSG_ERROR(libwebsockets not found) +fi + + dnl Checks for header files. AC_HEADER_STDC