s3-waf: add check for getspnam().
authorGünther Deschner <gd@samba.org>
Tue, 22 Feb 2011 21:56:23 +0000 (22:56 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 22 Feb 2011 21:57:55 +0000 (22:57 +0100)
Guenther

source3/wscript

index 72fc37fe8570b8c523e8bec06f3167fe5faa2012..b77a46e6954b05059c9f6f7a02f7679773cdc386 100644 (file)
@@ -1482,6 +1482,11 @@ main() {
                    headers='tdb.h',
                    msg='Checking whether we have TDB_ERR_NESTING')
 
+    # UnixWare 7.x has its getspnam in -lgen
+    conf.CHECK_FUNCS_IN('getspnam', 'gen')
+    conf.CHECK_FUNCS_IN('getspnam', 'security')
+    conf.CHECK_FUNCS_IN('getspnam', 'sec')
+
     default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam
                                       auth_sam auth_unix auth_winbind auth_wbc auth_server
                                       auth_domain auth_builtin vfs_default