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>
Wed, 23 Feb 2011 23:00:54 +0000 (00:00 +0100)
Guenther
(cherry picked from commit 8bca9df258527125e6b7ec9b9ad060cc0fdc3ddf)

source3/wscript

index 77f600845d33bef2f21eceb9e55510598c0697b6..1e60d7800937feb5fa2d3e607c6f835c132a95a5 100644 (file)
@@ -1376,6 +1376,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