]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
waf: re-add missing readlink test
authorBjörn Jacke <bj@sernet.de>
Wed, 26 Dec 2018 00:03:29 +0000 (01:03 +0100)
committerJule Anger <janger@samba.org>
Sun, 27 Feb 2022 17:48:46 +0000 (17:48 +0000)
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

(cherry picked from commit 45cb14ac80889ac913f7f76dbfaebcb4d5ee14fd)

Autobuild-User(v4-14-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-14-test): Sun Feb 27 17:48:46 UTC 2022 on sn-devel-184

source3/wscript

index adc31ce57b891fdbfa7a0a6184e3f2c22ddd2423..c94f78c6a06b452d92fb088137b7f4c1109a52b0 100644 (file)
@@ -1406,6 +1406,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: