Permalink
Browse files

auto-disable ECDSA if openssl/ecdsa.h is missing

  • Loading branch information...
1 parent 5d07309 commit b6a8665e3ea0799df349604e699208cb3da37a05 @donpark donpark committed Apr 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 wscript
View
@@ -19,7 +19,7 @@ def configure(conf):
conf.check_tool("compiler_cxx")
conf.check_tool("node_addon")
o = Options.options
- if Options.options.without_ecdsa:
+ if Options.options.without_ecdsa or not conf.check(header_name='openssl/ecdsa.h', compile_mode='cxx'):
print 'Configuring Dcrypt to skip bindings on ECDSA'
conf.env["WITHOUT_ECDSA"] = True
conf.env.append_value("CXXFLAGS", "-DWITH_ECDSA=0")

0 comments on commit b6a8665

Please sign in to comment.