configure.ac

changeset 671
4b54d6f79d25
parent 662
4bb005694ce7
child 697
367ae7ff52f0
equal deleted inserted replaced
670:638e7dd1d560 671:4b54d6f79d25
6 AC_SUBST(SUBDIRS) 6 AC_SUBST(SUBDIRS)
7 7
8 dnl General settings 8 dnl General settings
9 dnl After changeing the version number, run autoconf! 9 dnl After changeing the version number, run autoconf!
10 PACKAGE="bms" 10 PACKAGE="bms"
11 VERSION="0.3.32" 11 VERSION="0.3.33"
12 COPYRIGHT="Copyright (C) 2016-2020 Michiel Broek, All Rights Reserved" 12 COPYRIGHT="Copyright (C) 2016-2020 Michiel Broek, All Rights Reserved"
13 CYEARS="2016-2020" 13 CYEARS="2016-2020"
14 AC_SUBST(PACKAGE) 14 AC_SUBST(PACKAGE)
15 AC_SUBST(VERSION) 15 AC_SUBST(VERSION)
16 AC_SUBST(COPYRIGHT) 16 AC_SUBST(COPYRIGHT)
87 AC_CHECK_HEADERS(uuid/uuid.h) 87 AC_CHECK_HEADERS(uuid/uuid.h)
88 else 88 else
89 AC_MSG_ERROR(libuuid not found) 89 AC_MSG_ERROR(libuuid not found)
90 fi 90 fi
91 91
92 AC_CHECK_LIB(websockets,lws_client_connect,result=yes,result=no)
93 if test "$result" = "yes"; then
94 LIBS="$LIBS -lwebsockets"
95 AC_CHECK_HEADERS(libwebsockets.h)
96 else
97 AC_MSG_ERROR(libwebsockets not found)
98 fi
99
100
92 101
93 dnl Checks for header files. 102 dnl Checks for header files.
94 AC_HEADER_STDC 103 AC_HEADER_STDC
95 104
96 AC_SUBST(SDL_CFLAGS) 105 AC_SUBST(SDL_CFLAGS)

mercurial