The Samba-Bugzilla – Attachment 5092 Details for
Bug 6992
Check for working getgrouplist breaks cross compilation.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make the test cachable
cache_glibc_version_test.patch (text/plain), 905 bytes, created by
Jonas Gorski
on 2009-12-16 12:21:51 UTC
(
hide
)
Description:
Make the test cachable
Filename:
MIME Type:
Creator:
Jonas Gorski
Created:
2009-12-16 12:21:51 UTC
Size:
905 bytes
patch
obsolete
>diff -urN a/source3/configure.in b/source3/configure.in >--- a/source3/configure.in 2009-12-16 13:00:11.000000000 +0100 >+++ b/source3/configure.in 2009-12-16 13:13:04.000000000 +0100 >@@ -1244,7 +1244,7 @@ > 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 @@ > #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 > ;;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6992
: 5092