summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-09-29 19:01:18 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-09-29 19:01:18 -0700
commit580d4c103f2fa8b5d72e4221385238b1153dc2ca (patch)
treebeb45b39d8a476903a5c6a964fa334b19789ae1d /configure
parent0c13a33a6036e2368ad86bf6ae2422436282ac76 (diff)
downloadtmwa-580d4c103f2fa8b5d72e4221385238b1153dc2ca.tar.gz
tmwa-580d4c103f2fa8b5d72e4221385238b1153dc2ca.tar.bz2
tmwa-580d4c103f2fa8b5d72e4221385238b1153dc2ca.tar.xz
tmwa-580d4c103f2fa8b5d72e4221385238b1153dc2ca.zip
Give better warnings about attoconf versions
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 5e520a2..584f965 100755
--- a/configure
+++ b/configure
@@ -27,7 +27,11 @@ try:
except ImportError:
sys.exit('attoconf missing - please run: git submodule update --init')
else:
- require_version(0, 8)
+ try:
+ require_version(0, 8)
+ except SystemExit as e:
+ e.code += '\nPlease run: git submodule update'
+ raise
from attoconf.classy import add_slots
from attoconf.lib.c import Cxx