summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/config.h.in9
-rw-r--r--source3/include/includes.h2
2 files changed, 10 insertions, 1 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index c5c761ede3..57ef45312b 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -387,6 +387,9 @@
/* Define if you have the dup2 function. */
#undef HAVE_DUP2
+/* Define if you have the endnetgrent function. */
+#undef HAVE_ENDNETGRENT
+
/* Define if you have the execl function. */
#undef HAVE_EXECL
@@ -426,6 +429,9 @@
/* Define if you have the getgrnam function. */
#undef HAVE_GETGRNAM
+/* Define if you have the getnetgrent function. */
+#undef HAVE_GETNETGRENT
+
/* Define if you have the getprpwnam function. */
#undef HAVE_GETPRPWNAM
@@ -528,6 +534,9 @@
/* Define if you have the setluid function. */
#undef HAVE_SETLUID
+/* Define if you have the setnetgrent function. */
+#undef HAVE_SETNETGRENT
+
/* Define if you have the setsid function. */
#undef HAVE_SETSID
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 24fb84c803..92b415efa1 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -585,7 +585,7 @@ union semun {
#define HAVE_PAM 1
#endif
-#if defined(HAVE_YP_GET_DEFAULT_DOMAIN)
+#if defined(HAVE_YP_GET_DEFAULT_DOMAIN) && defined(HAVE_SETNETGRENT) && defined(HAVE_ENDNETGRENT) && defined(HAVE_GETNETGRENT)
#define HAVE_NETGROUP 1
#endif