summaryrefslogtreecommitdiff
path: root/source3/lib/replace
diff options
context:
space:
mode:
authormetze <metze@0c0555d6-39d7-0310-84fc-f1cc0bd64818>2007-11-06 07:26:12 +0000
committerStefan Metzmacher <metze@samba.org>2007-11-09 09:52:59 +0100
commitca2ced5c2356d3d59ce1539dc655f85f150266d9 (patch)
tree5bd3f96debcfda27fbdaeb02aee842bc273fa12c /source3/lib/replace
parent8322aa697738ed612cbbbce8976a048608aca9f9 (diff)
downloadsamba-ca2ced5c2356d3d59ce1539dc655f85f150266d9.tar.gz
samba-ca2ced5c2356d3d59ce1539dc655f85f150266d9.tar.bz2
samba-ca2ced5c2356d3d59ce1539dc655f85f150266d9.zip
libreplace: check for nss passwd|group get*_r functions
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25865 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 8e81dd7356eb8422284a93bfc9b55ed1523c8208)
Diffstat (limited to 'source3/lib/replace')
-rw-r--r--source3/lib/replace/system/config.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/replace/system/config.m4 b/source3/lib/replace/system/config.m4
index 74278787e7..2b2f76a8e6 100644
--- a/source3/lib/replace/system/config.m4
+++ b/source3/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)