From 61d11f34886e1102631681a462aae4e77e56dc28 Mon Sep 17 00:00:00 2001
From: Ben Longbons <b.r.longbons@gmail.com>
Date: Thu, 18 Sep 2014 20:25:47 -0700
Subject: Update for cross-compilation

---
 configure | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'configure')

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
-- 
cgit v1.2.3-70-g09d2