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