[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Sat May 25 00:06:02 UTC 2019


The branch, master has been updated
       via  da87fa998ab lib: Only compile resolvconftest if fmemopen exists
      from  77eabd74e9a docs: dfree command. Correct usage of dfree scripts.

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit da87fa998ab71328f30bcdf5b41aee8675aee48a
Author: Volker Lendecke <vl at samba.org>
Date:   Thu May 23 11:11:11 2019 +0200

    lib: Only compile resolvconftest if fmemopen exists
    
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=13961
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Ralph Böhme <slow at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Sat May 25 00:05:25 UTC 2019 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 lib/replace/wscript      | 1 +
 libcli/dns/wscript_build | 1 +
 2 files changed, 2 insertions(+)


Changeset truncated at 500 lines:

diff --git a/lib/replace/wscript b/lib/replace/wscript
index d442792433d..4df1b4d77c4 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -360,6 +360,7 @@ def configure(conf):
     conf.CHECK_FUNCS('link readlink symlink realpath snprintf vsnprintf')
     conf.CHECK_FUNCS('asprintf vasprintf setenv unsetenv strnlen strtoull __strtoull')
     conf.CHECK_FUNCS('strtouq strtoll __strtoll strtoq memalign posix_memalign')
+    conf.CHECK_FUNCS('fmemopen')
 
     if conf.CONFIG_SET('HAVE_MEMALIGN'):
         conf.CHECK_DECLS('memalign', headers='malloc.h')
diff --git a/libcli/dns/wscript_build b/libcli/dns/wscript_build
index ef1c34ffd2f..ea745c14028 100644
--- a/libcli/dns/wscript_build
+++ b/libcli/dns/wscript_build
@@ -8,6 +8,7 @@ bld.SAMBA_LIBRARY('clidns',
 bld.SAMBA_BINARY('resolvconftest',
                   source='resolvconftest.c',
                   deps='clidns',
+                  enabled=bld.CONFIG_SET('HAVE_FMEMOPEN'),
                   install=False)
 
 bld.SAMBA_SUBSYSTEM('dns_lookup',


-- 
Samba Shared Repository



More information about the samba-cvs mailing list