Add cross option to samba_cv_linux_getgrouplist_ok
authorLars Müller <lars@samba.org>
Thu, 4 Feb 2010 10:19:06 +0000 (11:19 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 4 Feb 2010 10:19:06 +0000 (11:19 +0100)
"cross" as an option got removed accidentl with commit e5a95132 while
moving in direction of 3.2.

Patch proposed by Richard Sharpe <realrichardsharpe@gmail.com>.
(cherry picked from commit 30ea9932f5ea8a73c84dbab3ae3e997c2ae34e79)

Fix bug #7047.

source3/configure.in

index 1034509e530c90953e2611ef375e33bc122c946b..be18c2485ad055ad4db0214b54880e73eb71d621 100644 (file)
@@ -1243,7 +1243,9 @@ main() {
 #endif
        exit(0);
 }
-], [linux_getgrouplist_ok=yes], [linux_getgrouplist_ok=no])
+], [linux_getgrouplist_ok=yes],
+   [linux_getgrouplist_ok=no],
+   [linux_getgrouplist_ok=cross])
        if test x"$linux_getgrouplist_ok" = x"yes"; then
           AC_DEFINE(HAVE_GETGROUPLIST, 1, [Have good getgrouplist])
        fi