summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-12-09 21:58:01 +0000
committerCarl Hetherington <cth@carlh.net>2017-12-09 21:58:01 +0000
commit415850673d8a14dec085f426ad1185da31bc6e49 (patch)
tree5e0558e74f6e9d1d1ba1ae6dd95faedab8e70ab8 /wscript
parent9bcc4e7b7099b07677d77fe9ea52330fc93c7aa7 (diff)
Try to tidy up C++11 hacks.
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 1 insertions, 8 deletions
diff --git a/wscript b/wscript
index 8212b5ca..3e041517 100644
--- a/wscript
+++ b/wscript
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
+# Copyright (C) 2012-2017 Carl Hetherington <cth@carlh.net>
#
# This file is part of libdcp.
#
@@ -185,13 +185,6 @@ def configure(conf):
if not conf.options.disable_gcov:
conf.check(lib='gcov', define_name='HAVE_GCOV', mandatory=False)
- # libxml++ 2.39.1 and later must be built with -std=c++11
- libxmlpp_version = conf.cmd_and_log(['pkg-config', '--modversion', 'libxml++-2.6'], output=Context.STDOUT, quiet=Context.BOTH)
- s = libxmlpp_version.split('.')
- v = (int(s[0]) << 16) | (int(s[1]) << 8) | int(s[2])
- if v >= 0x022701:
- conf.env.append_value('CXXFLAGS', '-std=c++11')
-
def build(bld):
create_version_cc(bld, VERSION)