summaryrefslogtreecommitdiff
path: root/source4/lib/replace/system
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-06 07:26:12 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:32 +0100
commit29598b83e0a39cc0a52252e924733f23d5a21afa (patch)
tree014fbe4aad98c1172ed07560c29e6883703b8911 /source4/lib/replace/system
parent046cd2512e1a3a6d1093829667df6b12eaaf1707 (diff)
downloadsamba-29598b83e0a39cc0a52252e924733f23d5a21afa.tar.gz
samba-29598b83e0a39cc0a52252e924733f23d5a21afa.tar.bz2
samba-29598b83e0a39cc0a52252e924733f23d5a21afa.zip
r25865: libreplace: check for nss passwd|group get*_r functions
metze (This used to be commit 98095b34257847b2fbb5efe343c3630a28170692)
Diffstat (limited to 'source4/lib/replace/system')
-rw-r--r--source4/lib/replace/system/config.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/replace/system/config.m4 b/source4/lib/replace/system/config.m4
index 74278787e7..2b2f76a8e6 100644
--- a/source4/lib/replace/system/config.m4
+++ b/source4/lib/replace/system/config.m4
@@ -18,6 +18,8 @@ AC_CHECK_HEADERS(sys/capability.h)
# passwd
AC_CHECK_HEADERS(grp.h sys/id.h compat.h shadow.h sys/priv.h pwd.h sys/security.h)
+AC_CHECK_FUNCS(getpwnam_r getpwuid_r getpwent_r)
+AC_CHECK_FUNCS(getgrnam_r getgrgid_r getgrent_r)
# locale
AC_CHECK_HEADERS(ctype.h locale.h)