summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-09-18 20:25:47 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-09-18 21:51:57 -0700
commit61d11f34886e1102631681a462aae4e77e56dc28 (patch)
tree8f3d1a1a37e5dbe0ee6b76f8ce12484085d0988e /configure
parent14347ea3be189918fef03b766c97391b7ff33cdd (diff)
downloadtmwa-61d11f34886e1102631681a462aae4e77e56dc28.tar.gz
tmwa-61d11f34886e1102631681a462aae4e77e56dc28.tar.bz2
tmwa-61d11f34886e1102631681a462aae4e77e56dc28.tar.xz
tmwa-61d11f34886e1102631681a462aae4e77e56dc28.zip
Update for cross-compilation
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index ee75e6e..ee3769f 100755
--- a/configure
+++ b/configure
@@ -38,7 +38,7 @@ from attoconf.lib.c import Cxx
from attoconf.lib.install import Install
from attoconf.lib.config_hash import ConfigHash
from attoconf.lib.templates import Templates
-from attoconf.types import enum, filepath
+from attoconf.types import enum, filepath, ShellList
yesno = enum('yes', 'no')
@@ -85,6 +85,9 @@ class Configuration(Cxx, Install, ConfigHash, Templates):
# http://code.google.com/p/googletest/wiki/FAQ#Why_is_it_not_recommended_to_install_a_pre-compiled_copy_of_Goog
type=filepath, check=lambda build, GTEST_DIR: None,
help='Location of Google Test sources, must contain src/gtest-all.cc (linking to a precompiled library is NOT supported)', hidden=False)
+ self.add_option('GDB', init=['gdb'],
+ type=ShellList, check=lambda build, GDB: None,
+ help='debugger to run tests', hidden=False)
def add_bool_feature(self, arg, hidden=False, **kwargs):
positive = '--enable-' + arg