Fix region name fit into the visible region in special cases like newly
[ardour.git] / SConstruct
index df86ff95af9f85be67a010b2231c00f0d47ac0b2..6f4f1bdde14ecdc9e884f34929b63d4ccd33ea68 100644 (file)
@@ -16,7 +16,7 @@ import SCons.Node.FS
 SConsignFile()
 EnsureSConsVersion(0, 96)
 
-version = '2.0beta6.1'
+version = '2.0beta7.1'
 
 subst_dict = { }
 
@@ -703,10 +703,10 @@ config_prefix = '$DESTDIR' + final_config_prefix
 
 conf = Configure (env)
 
-have_cxx = conf.TryAction (Action (env['CXX'] + ' --version'))
+have_cxx = conf.TryAction (Action (str(env['CXX']) + ' --version'))
 if have_cxx[0] != 1:
     print "This system has no functional C++ compiler. You cannot build Ardour from source without one."
-    exit (1)
+    sys.exit (1)
 else:
     print "Congratulations, you have a functioning C++ compiler."