Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tammo Jan Dijkema
dt_ctrl
Commits
cfe07c98
Commit
cfe07c98
authored
Aug 16, 2016
by
Jeroen Vreeken
Browse files
Update configure checks for libwebsockets.
parent
57f7d6fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
cfe07c98
...
...
@@ -54,11 +54,11 @@ AC_ARG_WITH([libwebsockets],
[with_libwebsocket=check])
AS_CASE(["$with_libwebsockets"],
[yes],
[AC_CHECK_LIB(websockets,l
ibwebsocket
_create_context,[HAVE_LIBWEBSOCKETS=1])]
[AC_CHECK_LIB(websockets,l
ws
_create_context,[HAVE_LIBWEBSOCKETS=1])]
[AC_CHECK_HEADERS([libwebsockets.h])],
[no],
[],
[AC_CHECK_LIB(websockets,l
ibwebsocket
_create_context,[HAVE_LIBWEBSOCKETS=1],[HAVE_LIBWEBSOCKETS=0])]
[AC_CHECK_LIB(websockets,l
ws
_create_context,[HAVE_LIBWEBSOCKETS=1],[HAVE_LIBWEBSOCKETS=0])]
[AC_CHECK_HEADERS([libwebsockets.h])]
)
AS_IF([test "$ac_cv_header_libwebsockets_h" != yes],[HAVE_LIBWEBSOCKETS=0],[])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment