Permalink
Browse files

Fatal error out if OpenSSL was not explicitly disabled, we just could…

…n't autodetect it.
  • Loading branch information...
1 parent 27af64e commit 2d348bb985db352176125d1efe60d05211adbe77 @pquerna pquerna committed with ry Sep 19, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 wscript
View
@@ -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

0 comments on commit 2d348bb

Please sign in to comment.