1*4882a593Smuzhiyunconfig: fix SSL detection 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThe @WEBSOCK_HAVE_SSL@ is replaced at configure time with either a 1 or 0. 4*4882a593SmuzhiyunThe rest of the code is simply checking to see if WEBSOCK_HAVE_SSL is 5*4882a593Smuzhiyundefined at all. Using a #undef WEBSOCK_HAVE_SSL will cause configure 6*4882a593Smuzhiyunto either comment it out or change the line to 7*4882a593Smuzhiyun"#define WEBSOCK_HAVE_SSL 1". 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunSigned-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> 10*4882a593Smuzhiyun 11*4882a593Smuzhiyundiff -durN a/src/websock_config.h.in b/src/websock_config.h.in 12*4882a593Smuzhiyun--- a/src/websock_config.h.in 13*4882a593Smuzhiyun+++ b/src/websock_config.h.in 14*4882a593Smuzhiyun@@ -4,6 +4,6 @@ 15*4882a593Smuzhiyun #define WEBSOCK_PACKAGE_STRING @WEBSOCK_PACKAGE_STRING@ 16*4882a593Smuzhiyun #define WEBSOCK_PACKAGE_VERSION @WEBSOCK_PACKAGE_VERSION@ 17*4882a593Smuzhiyun #define WEBSOCK_PACKAGE_NAME @WEBSOCK_PACKAGE_NAME@ 18*4882a593Smuzhiyun-#define WEBSOCK_HAVE_SSL @WEBSOCK_HAVE_SSL@ 19*4882a593Smuzhiyun+#undef WEBSOCK_HAVE_SSL 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun #endif 22