Allow a user to enable setgid of inc when running distcheck with:
authorDavid Levine <levinedl@acm.org>
Sat, 28 Apr 2012 20:56:36 +0000 (15:56 -0500)
committerDavid Levine <levinedl@acm.org>
Sat, 28 Apr 2012 20:58:43 +0000 (15:58 -0500)
  make distcheck DISTCHECK_CONFIGURE_FLAGS=DISABLE_SETGID_MAIL=0
though that's probably never going to be used.
(cherry picked from commit b83b264039d4245810cb845a540c024032a45ac4)

configure.ac

index 5e9cae2..70490ca 100644 (file)
@@ -364,7 +364,7 @@ fi
 
 dnl Provide a way for distcheck to disable setgid_mail via
 dnl DISTCHECK_CONFIGURE_FLAGS.
-if test x"$DISABLE_SETGID_MAIL" != x; then
+if test x"$DISABLE_SETGID_MAIL" != x -a x"$DISABLE_SETGID_MAIL" != x0; then
   nmh_cv_dotlockfile_setgid=yes
 fi