From: Björn Jacke Date: Wed, 26 Dec 2018 00:03:29 +0000 (+0100) Subject: waf: re-add missing readlink test X-Git-Tag: tevent-0.12.0~680 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45cb14ac80889ac913f7f76dbfaebcb4d5ee14fd;p=thirdparty%2Fsamba.git 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 Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Feb 18 23:12:51 UTC 2022 on sn-devel-184 --- diff --git a/source3/wscript b/source3/wscript index dd91df2dc51..412f315c662 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1374,6 +1374,12 @@ main() { addmain=False, 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.CHECK_LIB('sendfile') if not Options.options.with_sendfile_support == False: