|
@ -38,6 +38,12 @@ def set_options(opt): |
|
|
, help='Build using system libraries and headers (like a debian build) [Default: False]' |
|
|
, help='Build using system libraries and headers (like a debian build) [Default: False]' |
|
|
, dest='system' |
|
|
, dest='system' |
|
|
) |
|
|
) |
|
|
|
|
|
opt.add_option( '--without-ssl' |
|
|
|
|
|
, action='store_true' |
|
|
|
|
|
, default=False |
|
|
|
|
|
, help='Build without SSL' |
|
|
|
|
|
, dest='without_ssl' |
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
def configure(conf): |
|
|
def configure(conf): |
|
|
conf.check_tool('compiler_cxx') |
|
|
conf.check_tool('compiler_cxx') |
|
@ -68,6 +74,7 @@ def configure(conf): |
|
|
if sys.platform.startswith("freebsd"): |
|
|
if sys.platform.startswith("freebsd"): |
|
|
conf.fatal("Install the libexecinfo port from /usr/ports/devel/libexecinfo.") |
|
|
conf.fatal("Install the libexecinfo port from /usr/ports/devel/libexecinfo.") |
|
|
|
|
|
|
|
|
|
|
|
if not Options.options.without_ssl: |
|
|
if conf.check_cfg(package='openssl', |
|
|
if conf.check_cfg(package='openssl', |
|
|
args='--cflags --libs', |
|
|
args='--cflags --libs', |
|
|
uselib_store='OPENSSL'): |
|
|
uselib_store='OPENSSL'): |
|
|