Fatal error out if OpenSSL was not explicitly disabled, we just couldn't autodetect it.
authorPaul Querna <pquerna@apache.org>
Sun, 19 Sep 2010 22:20:35 +0000 (15:20 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Sun, 19 Sep 2010 22:32:10 +0000 (15:32 -0700)
wscript

diff --git a/wscript b/wscript
index bcbe691..5aecc0f 100644 (file)
--- a/wscript
+++ b/wscript
@@ -187,6 +187,8 @@ def configure(conf):
       if libcrypto and libssl:
         conf.env["USE_OPENSSL"] = Options.options.use_openssl = True
         conf.env.append_value("CXXFLAGS", "-DHAVE_OPENSSL=1")
+      else:
+        conf.fatal("Could not autodetect OpenSSL support. Make sure OpenSSL development packages are installed.")
   else:
     Options.options.use_openssl = conf.env["USE_OPENSSL"] = False