summaryrefslogtreecommitdiff
path: root/lib/util/wscript_configure
blob: 8c819e378abf567504ae0c926d91db0de54c6c9c (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('gettimeofday(NULL, NULL)', 'HAVE_GETTIMEOFDAY_TZ', execute=False)