http://bugs.gentoo.org/120568 https://bugzilla.samba.org/show_bug.cgi?id=3462 --- samba/source/configure.in +++ samba/source/configure.in @@ -1193,7 +1193,11 @@ #endif exit(0); } -], [linux_getgrouplist_ok=yes], [linux_getgrouplist_ok=no]) +], [linux_getgrouplist_ok=yes], [linux_getgrouplist_ok=no], +[ +AC_MSG_WARN([cannot run when cross-compiling]) +linux_getgrouplist_ok=yes +]) if test x"$linux_getgrouplist_ok" = x"yes"; then AC_DEFINE(HAVE_GETGROUPLIST, 1, [Have good getgrouplist]) fi