make sure that there is a C and C++ compiler. Otherwise, we generate large amounts of spurious unrelated errors.
--- a/build.py Tue Mar 13 17:44:36 2007 +0100
+++ b/build.py Wed Mar 14 09:55:35 2007 +0100
@@ -329,6 +329,12 @@
self.gen_mod_config(env)
cc = env['CC']
cxx = env.subst(env['CXX'])
+ if cc == '':
+ print "Missing C compiler."
+ env.Exit (1);
+ if cxx == '':
+ print "Missing C++ compiler."
+ env.Exit (1);
common_flags = ARGUMENTS.get('cflags', '').split(' ')
cxxflags = ARGUMENTS.get('cxxflags', '').split(' ')
ldflags = ARGUMENTS.get('ldflags', '').split(' ')