#!/usr/bin/env python
+import Options
+if Options.options.disable_fault_handling:
+ conf.DEFINE('HAVE_DISABLE_FAULT_HANDLING',1)
# backtrace could be in libexecinfo or in libc
conf.CHECK_FUNCS_IN('backtrace backtrace_symbols', 'execinfo', checklibc=True, headers='execinfo.h')
# all the different ways of doing statfs
statfs_types = [
- ( 'STAT_STATVFS64',
- 'Linux statvfs64',
- 'struct statvfs64 fsd; exit(statvfs64 (".", &fsd))',
- 'sys/statvfs.h' ),
-
( 'STAT_STATVFS',
'statvfs (SVR4)',
'struct statvfs fsd; exit(statvfs(0, &fsd))',