[SCM] Samba Shared Repository - branch master updated
Günther Deschner
gd at samba.org
Thu Sep 23 19:16:39 MDT 2010
The branch, master has been updated
via 0a1d153 s3-waf: add check for seteuid method.
from 00be7ea s3-waf: fix the build.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 0a1d153b256e45d7862235ab0fdaa9e92ae883f2
Author: Günther Deschner <gd at samba.org>
Date: Thu Sep 23 18:15:09 2010 -0700
s3-waf: add check for seteuid method.
Thanks to Kai and Metze!
Guenther
-----------------------------------------------------------------------
Summary of changes:
source3/wscript | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/wscript b/source3/wscript
index 54342d5..5bb8f69 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -600,6 +600,50 @@ return 0;
if conf.env.with_iconv:
conf.DEFINE('HAVE_ICONV', 1)
+ seteuid = False
+ if not seteuid:
+ seteuid = conf.CHECK_CODE('''
+ #define AUTOCONF_TEST 1
+ #define USE_SETREUID 1
+ #include "./lib/util_sec.c"
+ ''',
+ 'USE_SETREUID',
+ addmain=False,
+ execute=True,
+ msg="Checking whether setreuid is available")
+ if not seteuid:
+ seteuid = conf.CHECK_CODE('''
+ #define AUTOCONF_TEST 1
+ #define USE_SETRESUID 1
+ #include "./lib/util_sec.c"
+ ''',
+ 'USE_SETRESUID',
+ addmain=False,
+ execute=True,
+ msg="Checking whether setresuid is available")
+ if not seteuid:
+ seteuid = conf.CHECK_CODE('''
+ #define AUTOCONF_TEST 1
+ #define USE_SETEUID 1
+ #include "./lib/util_sec.c"
+ ''',
+ 'USE_SETEUID',
+ addmain=False,
+ execute=True,
+ msg="Checking whether seteuid is available")
+ if not seteuid:
+ seteuid = conf.CHECK_CODE('''
+ #define AUTOCONF_TEST 1
+ #define USE_SETUIDX 1
+ #include "./lib/util_sec.c"
+ ''',
+ 'USE_SETUIDX',
+ addmain=False,
+ execute=True,
+ mandatory=True,
+ msg="Checking whether setuidx is available")
+
+
# FIXME: these should be tests for features, but the old build system just
# checks for OSes.
import sys
--
Samba Shared Repository
More information about the samba-cvs
mailing list