import os
APPNAME = 'libdcp'
-VERSION = '0.54pre'
+VERSION = '0.75pre'
def options(opt):
opt.load('compiler_cxx')
conf.check_cfg(package = 'openssl', args = '--cflags --libs', uselib_store = 'OPENSSL', mandatory = True)
conf.check_cfg(package = 'libxml++-2.6', args = '--cflags --libs', uselib_store = 'LIBXML++', mandatory = True)
+ conf.check_cfg(package = 'xmlsec1', args = '--cflags --libs', uselib_store = 'XMLSEC1', mandatory = True)
+ # Remove erroneous escaping of quotes from xmlsec1 defines
+ conf.env.DEFINES_XMLSEC1 = [f.replace('\\', '') for f in conf.env.DEFINES_XMLSEC1]
+
if conf.options.static:
conf.check_cc(fragment = """
#include <stdio.h>\n
msg = 'Checking for boost signals2 library',
uselib_store = 'BOOST_SIGNALS2')
+ conf.check_cxx(fragment = """
+ #include <boost/date_time.hpp>\n
+ int main() { boost::gregorian::day_clock::local_day(); }\n
+ """,
+ msg = 'Checking for boost datetime library',
+ libpath = '/usr/local/lib',
+ lib = ['boost_date_time%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix],
+ uselib_store = 'BOOST_DATETIME')
+
conf.recurse('test')
conf.recurse('asdcplib')