summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorBjoern Jacke <bj@sernet.de>2018-12-21 06:12:56 -0600
committerBjoern Jacke <bj@sernet.de>2018-12-22 06:22:22 +0100
commitccd4759aaff340321792e3b5acab6bc3c8d8cfbb (patch)
tree7e85a3b8c7949afb0b6b7420f17bcdacec9ad2a1 /nsswitch
parent2e1bc87b13c491f47a6fbcf9549ffa8250a2508b (diff)
downloadsamba-ccd4759aaff340321792e3b5acab6bc3c8d8cfbb.tar.gz
nss/waf: check for secmethod_table.method_{attrlist,version} for aix >= 5.2
The original commit 02c9b46fab46ab401a3cf6bb74c8260801c41032 was not ported to waf yet. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Bjoern Jacke <bj@sernet.de> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sat Dec 22 06:22:22 CET 2018 on sn-devel-144
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/wscript_configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/nsswitch/wscript_configure b/nsswitch/wscript_configure
index 3048f48c242..48685a8a4e7 100644
--- a/nsswitch/wscript_configure
+++ b/nsswitch/wscript_configure
@@ -20,3 +20,12 @@ conf.CHECK_STRUCTURE_MEMBER('struct passwd', 'pw_comment',
conf.CHECK_STRUCTURE_MEMBER('struct passwd', 'pw_age',
define='HAVE_PASSWD_PW_AGE',
headers='pwd.h')
+
+# AIX 4.3.x and 5.1 do not have as many members in
+# struct secmethod_table as AIX 5.2
+conf.CHECK_STRUCTURE_MEMBER('struct secmethod_table', 'method_attrlist',
+ define='HAVE_STRUCT_SECMETHOD_TABLE_METHOD_ATTRLIST',
+ headers='usersec.h')
+conf.CHECK_STRUCTURE_MEMBER('struct secmethod_table', 'method_version',
+ define='HAVE_STRUCT_SECMETHOD_TABLE_METHOD_VERSION',
+ headers='usersec.h')