1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/lib/util/wscript_configure

24 lines
802 B
Plaintext
Raw Normal View History

2010-03-07 06:07:32 +03:00
# backtrace could be in libexecinfo or in libc
conf.CHECK_FUNCS_IN('backtrace', 'execinfo', checklibc=True, headers='execinfo.h')
2010-03-07 07:19:27 +03:00
conf.CHECK_FUNCS('sigprocmask sigblock sigaction')
2010-03-07 08:05:19 +03:00
conf.CHECK_FUNCS_IN('flistxattr', 'attr', checklibc=True, headers='sys/attributes.h attr/xattr.h sys/xattr.h')
2010-03-07 08:05:19 +03:00
conf.CHECK_STRUCTURE_MEMBER('struct statvfs', 'f_frsize', define='HAVE_FRSIZE', headers='sys/statvfs.h')
2010-03-07 08:18:33 +03:00
2010-03-07 14:59:25 +03:00
conf.CHECK_CODE('getxattr(NULL, NULL, NULL, 0, 0, 0)',
define='XATTR_ADDITIONAL_OPTIONS')
if conf.CONFIG_SET('HAVE_FLISTXATTR'):
conf.DEFINE('HAVE_XATTR_SUPPORT', 1)
2010-03-07 16:06:53 +03:00
conf.CHECK_CODE('struct statvfs64 fsd; exit(statvfs64 (".", &fsd))',
define='STAT_STATVFS64',
headers='unistd.h sys/types.h sys/statvfs.h',
local_include=False)