summaryrefslogtreecommitdiff
path: root/lib/util/wscript_configure
blob: a2f1c256a3eb537d9906891a2c5a88d698034115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

conf.CHECK_HEADERS('execinfo.h')

# backtrace could be in libexecinfo or in libc
conf.CHECK_FUNCS_IN('backtrace', 'execinfo', checklibc=True)

conf.CHECK_FUNCS('sigprocmask sigblock sigaction')

conf.CHECK_HEADERS('sys/attributes.h attr/xattr.h sys/xattr.h')
conf.CHECK_FUNCS_IN('flistxattr', 'attr', checklibc=True)

conf.CHECK_STRUCTURE_MEMBER('struct statvfs', 'f_frsize', define='HAVE_FRSIZE')

conf.CHECK_CODE_COMPILES('gettimeofday(NULL, NULL)', 'HAVE_GETTIMEOFDAY_TZ')