[SCM] Samba Shared Repository - branch master updated

Kai Blin kai at samba.org
Mon May 31 23:55:24 MDT 2010


The branch, master has been updated
       via  458b248... s3-waf: Check for device major and minor macros
       via  b497447... s3-waf: Add check for asm/types.h
      from  5a3e744... pyldb_util: Remove dependency on LIBPYTHON - it's already there implicitly and not available in the standalone build.

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


- Log -----------------------------------------------------------------
commit 458b2484c73b9381aa3d10b94b3e3576d4bb44d3
Author: Kai Blin <kai at samba.org>
Date:   Mon May 31 23:02:16 2010 +0200

    s3-waf: Check for device major and minor macros

commit b497447e1722e6d89406f71b2371b61c616cf71b
Author: Kai Blin <kai at samba.org>
Date:   Mon May 31 22:39:47 2010 +0200

    s3-waf: Add check for asm/types.h

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

Summary of changes:
 source3/wscript |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/wscript b/source3/wscript
index 41a06b4..cc3f0d9 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -346,6 +346,16 @@ utimensat vsyslog _write __write __xstat
                     msg="Checking whether xattr interface takes additional options",
                     headers='sys/types.h attr/xattr.h sys/xattr.h')
 
+    conf.CHECK_HEADERS('asm/types.h')
+
+    conf.CHECK_CODE('dev_t dev; int i = major(dev); return 0', "HAVE_DEVICE_MAJOR_FN",
+                    headers='unistd.h sys/types.h',
+                    msg="Checking for major macro")
+
+    conf.CHECK_CODE('dev_t dev; int i = minor(dev); return 0', "HAVE_DEVICE_MINOR_FN",
+                    headers='unistd.h sys/types.h',
+                    msg="Checking for minor macro")
+
     #FIXME: Should just be set when krb5 and ldap requirements are fulfilled
     if Options.options.with_ads:
         conf.DEFINE('WITH_ADS', '1')


-- 
Samba Shared Repository


More information about the samba-cvs mailing list