aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-11-28 16:15:54 +0000
committerlloyd <[email protected]>2013-11-28 16:15:54 +0000
commitd84ac861186b7b236d926da0e81dfe9b12eb7cc3 (patch)
tree61f161126c3db0f4e488d55f6c4bfd3c2b3a9d34 /configure.py
parenta1a5e0f1cd10acafcdb204681e57f39464e2c040 (diff)
Fix file rename in info.txt and add a check for this in configure
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index 84ac58f87..2d91c4188 100755
--- a/configure.py
+++ b/configure.py
@@ -583,6 +583,10 @@ class ModuleInfo(object):
self.header_internal = [add_dir_name(s) for s in self.header_internal]
self.header_public = [add_dir_name(s) for s in self.header_public]
+ for src in self.source + self.header_internal + self.header_public:
+ if os.access(src, os.R_OK) == False:
+ logging.warning("Missing file %s in %s" % (src, infofile))
+
self.mp_bits = int(self.mp_bits)
if self.comment != []: