conf.env.Append(CPPPATH = ['/usr/local/include'])
conf.env.Append(LIBPATH = ['/usr/local/lib'])
+ if not conf.CheckTypeSize('off_t', '#include <sys/types.h>', 'C', 8):
+ print '''
+ The size of off_t type must be 64 bits. File systems larger than
+ 2 GB will be corrupted with 32-bit off_t.
+'''
+ Exit(1)
+
env = conf.Finish()