diff options
author | Alexander Bokovoy <ab@samba.org> | 2003-09-10 15:39:21 +0000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2003-09-10 15:39:21 +0000 |
commit | 85087fbac5925a0ecfee5b651f94edff509a3679 (patch) | |
tree | 1ed14ac058c07e468de4a7dd9c543d5fb847f99c /source3 | |
parent | cf598c5c1ce4fdc0d01f92c15604182c9e913abf (diff) | |
download | samba-85087fbac5925a0ecfee5b651f94edff509a3679.tar.gz samba-85087fbac5925a0ecfee5b651f94edff509a3679.tar.bz2 samba-85087fbac5925a0ecfee5b651f94edff509a3679.zip |
Back out --with-good-getgrouplist patch
(This used to be commit 424b13823b666c122f43d63098cec3e54b4fa353)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/source3/configure.in b/source3/configure.in index 151411feb8..a2e04b5d48 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -883,23 +883,8 @@ AC_CHECK_FUNCS(open64 _open64 __open64 creat64) # case "$host_os" in *linux*) - # test if user trusts its own glibc version w.r.t. CAN-2003-0689 - # Some vendors already provided glibc builds with this fix so getgrouplist() is usable - # on those platforms. Unfortunately, we can't get this information from compiling yet. - AC_MSG_CHECKING([whether GNU libc has good getgrouplist w.r.t. CAN-2003-0689]) - AC_ARG_WITH(good-getgrouplist, - [ --with-good-getgrouplist[=no] whether GNU libc has good getgrouplist w.r.t. CAN-2003-0689 ], - [ case "$with_good_getgrouplist" in - yes) - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_GETGROUPLIST, 1, [Have good getgrouplist]) - ;; - *) - AC_MSG_RESULT(no) - ;; - esac], -# glibc <= 2.3.2 has a broken getgrouplist -AC_TRY_RUN([ + # glibc <= 2.3.2 has a broken getgrouplist + AC_TRY_RUN([ #include <unistd.h> #include <sys/utsname.h> main() { @@ -917,12 +902,8 @@ main() { } ], [linux_getgrouplist_ok=yes], [linux_getgrouplist_ok=no]) if test x"$linux_getgrouplist_ok" = x"yes"; then - AC_MSG_RESULT(yes) AC_DEFINE(HAVE_GETGROUPLIST, 1, [Have good getgrouplist]) - else - AC_MSG_RESULT(no) fi -) ;; *) AC_CHECK_FUNCS(getgrouplist) |