From 580d4c103f2fa8b5d72e4221385238b1153dc2ca Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 29 Sep 2013 19:01:18 -0700 Subject: Give better warnings about attoconf versions --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure') 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 -- cgit v1.2.3-60-g2f50