summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski+samba@gmail.com>2009-12-17 11:32:21 +0100
committerVolker Lendecke <vl@samba.org>2009-12-17 11:38:03 +0100
commite3ee8ffc1b7810d0524095f75c64bfa5571755ff (patch)
tree1679c2f5998415fb9e1ae653a917f415202156b7 /source3/configure.in
parenta9689bb755b4fd22a8c2b651aa90b2f74188edcb (diff)
downloadsamba-e3ee8ffc1b7810d0524095f75c64bfa5571755ff.tar.gz
samba-e3ee8ffc1b7810d0524095f75c64bfa5571755ff.tar.bz2
samba-e3ee8ffc1b7810d0524095f75c64bfa5571755ff.zip
s3: Fix bug 6992, make test for getgrouplist cacheable
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 0bd10068bb..7d34237185 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1244,7 +1244,7 @@ AC_DEFINE(HAVE_PRCTL, 1, [Whether prctl is available]),[])
case "$host_os" in
*linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu)
# glibc <= 2.3.2 has a broken getgrouplist
- AC_TRY_RUN([
+ AC_CACHE_CHECK([for good getgrouplist],samba_cv_linux_getgrouplist_ok,[AC_TRY_RUN([
#include <unistd.h>
#include <sys/utsname.h>
main() {
@@ -1260,8 +1260,8 @@ main() {
#endif
exit(0);
}
-], [linux_getgrouplist_ok=yes], [linux_getgrouplist_ok=no])
- if test x"$linux_getgrouplist_ok" = x"yes"; then
+], [samba_cv_linux_getgrouplist_ok=yes], [samba_cv_linux_getgrouplist_ok=no])])
+ if test x"$samba_cv_linux_getgrouplist_ok" = x"yes"; then
AC_DEFINE(HAVE_GETGROUPLIST, 1, [Have good getgrouplist])
fi
;;