mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
28 lines
955 B
Diff
28 lines
955 B
Diff
Index: samba-3.0.37/source/configure.in
|
|
===================================================================
|
|
--- samba-3.0.37.orig/source/configure.in
|
|
+++ samba-3.0.37/source/configure.in
|
|
@@ -1389,23 +1389,6 @@ AC_DEFINE(HAVE_PRCTL, 1, [Whether prctl
|
|
case "$host_os" in
|
|
*linux*)
|
|
# glibc <= 2.3.2 has a broken getgrouplist
|
|
- AC_TRY_RUN([
|
|
-#include <unistd.h>
|
|
-#include <sys/utsname.h>
|
|
-main() {
|
|
- /* glibc up to 2.3 has a broken getgrouplist */
|
|
-#if defined(__GLIBC__) && defined(__GLIBC_MINOR__)
|
|
- int libc_major = __GLIBC__;
|
|
- int libc_minor = __GLIBC_MINOR__;
|
|
-
|
|
- if (libc_major < 2)
|
|
- exit(1);
|
|
- if ((libc_major == 2) && (libc_minor <= 3))
|
|
- exit(1);
|
|
-#endif
|
|
- exit(0);
|
|
-}
|
|
-], [linux_getgrouplist_ok=yes], [linux_getgrouplist_ok=no])
|
|
if test x"$linux_getgrouplist_ok" = x"yes"; then
|
|
AC_DEFINE(HAVE_GETGROUPLIST, 1, [Have good getgrouplist])
|
|
fi
|