1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00
samba-mirror/lib/util/wscript_configure

20 lines
588 B
Plaintext
Raw Normal View History

2010-03-07 14:07:32 +11:00
conf.CHECK_HEADERS('execinfo.h')
# backtrace could be in libexecinfo or in libc
2010-03-07 14:28:33 +11:00
conf.CHECK_FUNCS_IN('backtrace', 'execinfo', checklibc=True)
2010-03-07 15:19:27 +11:00
conf.CHECK_FUNCS('sigprocmask sigblock sigaction')
2010-03-07 16:05:19 +11:00
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')
2010-03-07 16:18:33 +11:00
2010-03-07 22:59:25 +11: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)