summaryrefslogtreecommitdiff
path: root/source3/lib/replace/libreplace.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-10 15:59:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:17 -0500
commit1ec9de1104f4563a5f3dbb96d41908d219e5b889 (patch)
tree83ad688b178fbdb9ac91df9bf258fb33d639dbf6 /source3/lib/replace/libreplace.m4
parent1790c67780af0bcc4bc1df3f015fa6fcb7e55f95 (diff)
downloadsamba-1ec9de1104f4563a5f3dbb96d41908d219e5b889.tar.gz
samba-1ec9de1104f4563a5f3dbb96d41908d219e5b889.tar.bz2
samba-1ec9de1104f4563a5f3dbb96d41908d219e5b889.zip
r22151: 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 7f61b3f0095efed81adc9022ba44e5c7df84d2f2)
Diffstat (limited to 'source3/lib/replace/libreplace.m4')
-rw-r--r--source3/lib/replace/libreplace.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/lib/replace/libreplace.m4 b/source3/lib/replace/libreplace.m4
index 805cdc6cb5..6bd616f9b7 100644
--- a/source3/lib/replace/libreplace.m4
+++ b/source3/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>])
@@ -330,8 +330,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