summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-01 02:57:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:51 -0500
commit02c9b46fab46ab401a3cf6bb74c8260801c41032 (patch)
tree9836c1458c6ea0ce3dd616ec126e6bc082c143e8 /source3/configure.in
parente357bc3216b226dbd61d6a816e199a9450b706db (diff)
downloadsamba-02c9b46fab46ab401a3cf6bb74c8260801c41032.tar.gz
samba-02c9b46fab46ab401a3cf6bb74c8260801c41032.tar.bz2
samba-02c9b46fab46ab401a3cf6bb74c8260801c41032.zip
r2759: Fix for winbindd on AIX 5.1. Apparently it doesn't have as many methods
in struct secmethod_table as AIX 5.2. Patch from The Written Word. (This used to be commit 4f8496ad626478c31e9372e07652d50f581256d0)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 3eecc48b21..4c0f5396bd 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -4291,6 +4291,14 @@ AC_CHECK_MEMBER(struct passwd.pw_age,
AC_DEFINE(HAVE_PASSWD_PW_AGE, 1, [Defined if struct passwd has pw_age field]),,
[#include <pwd.h>])
+# AIX 4.3.x and 5.1 do not have as many members in
+# struct secmethod_table as AIX 5.2
+AC_CHECK_MEMBERS([struct secmethod_table.method_attrlist], , ,
+ [#include <usersec.h>])
+AC_CHECK_MEMBERS([struct secmethod_table.method_version], , ,
+ [#include <usersec.h>])
+
+
#################################################
# Check to see if we should use the included popt