The Samba-Bugzilla – Bug 6992
Check for working getgrouplist breaks cross compilation.
Last modified: 2009-12-17 05:15:13 UTC
The configure script tries to compile and run a program to get the glibc version, when compiling for linux. Obviously this fails when cross compiling.
This applies to 3.4 and 3.5 (and current master).
Created attachment 5092 [details]
Make the test cachable
This patch makes the check cachable and introduces the paramter samba_cv_linux_getgrouplist_ok=yes|no, which can be supplied to the configure script to override the check.
I did successfully generate a configure-script with it and checked for all three that it was set correctly (supplied with yes, no, and not supplied).
Thanks. Pushed the patch. Will be in 3.5.
closing bug, accordingly...