Skip to content

Commit

Permalink
comment out gnutls check in wscript until it's used
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jun 11, 2009
1 parent f657a63 commit 452d3f1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions wscript
Expand Up @@ -31,6 +31,7 @@ def configure(conf):

conf.env["USE_DEBUG"] = Options.options.debug

conf.check(lib='profiler', uselib_store='PROFILER')

if sys.platform.startswith("freebsd"):
if not conf.check(lib="execinfo", libpath=['/usr/lib', '/usr/local/lib'], uselib_store="EXECINFO"):
Expand All @@ -41,15 +42,16 @@ def configure(conf):

# liboi config
print "--- liboi ---"
if conf.check_cfg(package='gnutls', args='--cflags --libs', uselib_store="GNUTLS"):
conf.define("HAVE_GNUTLS", 1)


# Not using TLS yet
# if conf.check_cfg(package='gnutls', args='--cflags --libs', uselib_store="GNUTLS"):
# conf.define("HAVE_GNUTLS", 1)

conf.define("HAVE_CONFIG_H", 1)

conf.env.append_value("CCFLAGS", "-DEIO_STACKSIZE=%d" % (4096*8))

conf.check(lib='profiler', uselib_store='PROFILER')

# Split off debug variant before adding variant specific defines
debug_env = conf.env.copy()
conf.set_env_name('debug', debug_env)
Expand Down Expand Up @@ -109,7 +111,7 @@ def build(bld):
oi.includes = "deps/liboi/ deps/libev/"
oi.name = "oi"
oi.target = "oi"
oi.uselib = "GNUTLS"
# oi.uselib = "GNUTLS"
oi.install_path = None
if bld.env["USE_DEBUG"]:
oi.clone("debug")
Expand Down

0 comments on commit 452d3f1

Please sign in to comment.