From 3ebaa488a4388a5039803e26a64fa7b8ff1669e9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 16 Jul 2012 01:01:12 +0100 Subject: Move configure()s down to the appropriate level. --- src/lib/wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib/wscript') diff --git a/src/lib/wscript b/src/lib/wscript index ec5a723e4..f60a63f85 100644 --- a/src/lib/wscript +++ b/src/lib/wscript @@ -1,3 +1,8 @@ +def configure(conf): + if conf.options.debug_hash: + conf.env.append_value('CXXFLAGS', '-DDEBUG_HASH') + conf.check_cc(msg = 'Checking for library libmhash', function_name = 'mhash_init', header_name = 'mhash.h', lib = 'mhash', uselib_store = 'MHASH') + def build(bld): obj = bld(features = 'cxx cxxshlib') obj.name = 'libdvdomatic' -- cgit v1.2.3