summaryrefslogtreecommitdiff
path: root/net/samba35/patches/patch-ba
blob: aa7dfd5cb3aaa0994950c63d96b8dfe75c1a99b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ba,v 1.1.14.1 2013/08/12 14:21:30 tron Exp $

--- configure.in.orig	2013-07-24 18:53:49.000000000 +0000
+++ configure.in
@@ -6244,6 +6244,11 @@ 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>])
 
+# NetBSD
+AC_CHECK_MEMBER(struct passwd.pw_class,
+		AC_DEFINE(HAVE_PASSWD_PW_CLASS, 1, [Defined if struct passwd has pw_class 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], , ,