diff options
author | Günther Deschner <gd@samba.org> | 2011-02-16 16:42:33 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-16 18:01:23 +0100 |
commit | b3f76482d250511ddf3b75f276c48c51db939691 (patch) | |
tree | 078b8eb380eea52c701c2d761f6b626d044baec2 /source3 | |
parent | c819e3e862f4b159e0f65c732ea093c0b2d67571 (diff) | |
download | samba-b3f76482d250511ddf3b75f276c48c51db939691.tar.gz samba-b3f76482d250511ddf3b75f276c48c51db939691.tar.bz2 samba-b3f76482d250511ddf3b75f276c48c51db939691.zip |
s3-waf: add check for "struct dirent64".
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/wscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 78aad61657..bbb25eeedc 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1001,6 +1001,10 @@ int i; i = PAM_RADIO_TYPE; ''', 'HAVE_LINUX_RTNETLINK_H', msg='Checking whether Linux rtnetlink is available') + if conf.CHECK_TYPE('struct dirent64', headers='sys/types.h dirent.h') and conf.CONFIG_SET('HAVE_READDIR64'): + conf.DEFINE('HAVE_STRUCT_DIRENT64', '1') + else: + conf.undefine('HAVE_STRUCT_DIRENT64') default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam auth_sam auth_unix auth_winbind auth_wbc auth_server |