mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
waf: re-add missing readlink test
this was another portability regression that came with the moving to waf BUG: https://bugzilla.samba.org/show_bug.cgi?id=13631 Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Feb 18 23:12:51 UTC 2022 on sn-devel-184
This commit is contained in:
parent
e225ab70db
commit
45cb14ac80
@ -1374,6 +1374,12 @@ main() {
|
|||||||
addmain=False,
|
addmain=False,
|
||||||
execute=True)
|
execute=True)
|
||||||
|
|
||||||
|
conf.CHECK_CODE('''#include "../tests/readlink.c"''',
|
||||||
|
'HAVE_BROKEN_READLINK',
|
||||||
|
msg='Checking for readlink breakage',
|
||||||
|
addmain=False,
|
||||||
|
execute=True)
|
||||||
|
|
||||||
conf.SET_TARGET_TYPE('sendfile', 'EMPTY')
|
conf.SET_TARGET_TYPE('sendfile', 'EMPTY')
|
||||||
conf.CHECK_LIB('sendfile')
|
conf.CHECK_LIB('sendfile')
|
||||||
if not Options.options.with_sendfile_support == False:
|
if not Options.options.with_sendfile_support == False:
|
||||||
|
Loading…
Reference in New Issue
Block a user