--- mutt-1.4/configure.nosetgid Wed May 29 22:37:59 2002 +++ mutt-1.4/configure Wed May 29 22:38:46 2002 @@ -4584,58 +4582,6 @@ #define USE_DOTLOCK 1 EOF - else - - echo $ac_n "checking if $mutt_cv_mailpath is group writable""... $ac_c" 1>&6 -echo "configure:4591: checking if $mutt_cv_mailpath is group writable" >&5 -if eval "test \"`echo '$''{'mutt_cv_groupwrite'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$cross_compiling" = yes; then - mutt_cv_groupwrite=no -else - cat > conftest.$ac_ext <<EOF -#line 4599 "configure" -#include "confdefs.h" -#include <sys/types.h> -#include <sys/stat.h> - -int main (int argc, char **argv) -{ - struct stat s; - - stat ("$mutt_cv_mailpath", &s); - if (s.st_mode & S_IWGRP) exit (0); - exit (1); -} -EOF -if { (eval echo configure:4613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - mutt_cv_groupwrite=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - mutt_cv_groupwrite=no -fi -rm -fr conftest* -fi - -fi - -echo "$ac_t""$mutt_cv_groupwrite" 1>&6 - - if test $mutt_cv_groupwrite = yes; then - cat >> confdefs.h <<\EOF -#define USE_DOTLOCK 1 -EOF - - cat >> confdefs.h <<\EOF -#define USE_SETGID 1 -EOF - - mutt_cv_setgid=yes - fi fi fi