Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

without-ssl does not work #34

Open
kmmertes opened this issue Jan 18, 2017 · 0 comments
Open

without-ssl does not work #34

kmmertes opened this issue Jan 18, 2017 · 0 comments

Comments

@kmmertes
Copy link

On OSX 10.11 (El Capitan), when running "./configure --without-ssl" as instructed to build without openssl, the source code still tries to:
#include <openssl/ssl.h>
because the generated file websock_config.h contains:
`
/* src/websock_config.h. Generated from websock_config.h.in by configure. */
#ifndef WEBSOCK_CONFIG_H
#define WEBSOCK_CONFIG_H 1

#define WEBSOCK_PACKAGE_STRING "libwebsock 1.0.7"
#define WEBSOCK_PACKAGE_VERSION "1.0.7"
#define WEBSOCK_PACKAGE_NAME "libwebsock"
#define WEBSOCK_HAVE_SSL @WEBSOCK_HAVE_SSL@
#endif
`
This results in build failure because openssl is not found. Changing
#define WEBSOCK_HAVE_SSL @WEBSOCK_HAVE_SSL@
to
#undef WEBSOCK_HAVE_SSL
results in a successful build.

However, without-ssl should have worked, unless I am doing something wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant