summaryrefslogtreecommitdiff
path: root/source4/lib/replace/libreplace.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-10 16:00:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:54 -0500
commit4cc500433d07decf8fc2551b117e15537f6c8558 (patch)
tree0c20d594432c5a5ea44e5dbc7776c54fed844535 /source4/lib/replace/libreplace.m4
parent892c8cd1b43178e7ba600f111289d5843826734e (diff)
downloadsamba-4cc500433d07decf8fc2551b117e15537f6c8558.tar.gz
samba-4cc500433d07decf8fc2551b117e15537f6c8558.tar.bz2
samba-4cc500433d07decf8fc2551b117e15537f6c8558.zip
r22152: merge from samba3:
remove netgr functions from libreplace they're not used in samba4 currently and samba3 has explicit configure checks for them. should fix bug #4496 metze (This used to be commit dd83a8dad8ad89a1485598fa6e11c9128d04e6d7)
Diffstat (limited to 'source4/lib/replace/libreplace.m4')
-rw-r--r--source4/lib/replace/libreplace.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index b5f931c7e4..12be9f6016 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -150,7 +150,7 @@ AC_TRY_COMPILE([
AC_CHECK_FUNCS(seteuid setresuid setegid setresgid chroot bzero strerror)
AC_CHECK_FUNCS(vsyslog setlinebuf mktime ftruncate chsize rename)
-AC_CHECK_FUNCS(waitpid strlcpy strlcat innetgr initgroups memmove strdup)
+AC_CHECK_FUNCS(waitpid strlcpy strlcat initgroups memmove strdup)
AC_CHECK_FUNCS(pread pwrite strndup strcasestr strtok_r mkdtemp socketpair)
AC_HAVE_DECL(setresuid, [#include <unistd.h>])
AC_HAVE_DECL(setresgid, [#include <unistd.h>])
@@ -331,8 +331,7 @@ m4_include(win32.m4)
m4_include(timegm.m4)
m4_include(repdir.m4)
-AC_CHECK_FUNCS([syslog memset setnetgrent getnetgrent endnetgrent memcpy],,
- [AC_MSG_ERROR([Required function not found])])
+AC_CHECK_FUNCS([syslog memset memcpy],,[AC_MSG_ERROR([Required function not found])])
echo "LIBREPLACE_BROKEN_CHECKS: END"
]) dnl end AC_LIBREPLACE_BROKEN_CHECKS