X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=configure.ac;h=70490cac6852811380254a311e043c98d232ebb6;hb=f3cf850f2bd74afbe32dc72b18af9c9da39552ff;hp=26b26066a5822e5a59f58046f2ee67d5be5893c1;hpb=6fd2bf57267d5399994a4a4c4555c5197d50ce82;p=mmh diff --git a/configure.ac b/configure.ac index 26b2606..70490ca 100644 --- a/configure.ac +++ b/configure.ac @@ -362,6 +362,12 @@ if test "$ac_cv_lib_lockfile_lockfile_create" != "no" ; then fi fi +dnl Provide a way for distcheck to disable setgid_mail via +dnl DISTCHECK_CONFIGURE_FLAGS. +if test x"$DISABLE_SETGID_MAIL" != x -a x"$DISABLE_SETGID_MAIL" != x0; then + nmh_cv_dotlockfile_setgid=yes +fi + dnl If mailspool is not world-writable and dotlockfile is not setgid, dnl we need to #define MAILGROUP to 1 and make inc setgid. if test x"$LOCKTYPE" = x"dot" -a x"$nmh_cv_mailspool_world_writable" = x"no" -a x"$nmh_cv_dotlockfile_setgid" != x"yes" ; then