X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=configure.ac;h=1fcdb342e7fa4d2dbdb23d990f1564e6ed0e0128;hp=5da3b607d395d582de86914e5c44960ce5ab580d;hb=6ebff74ad242d4c56fb7762965b19cee14fd2daa;hpb=bd0ed9bc7c534be30b0140b341b4d8a390483dbd diff --git a/configure.ac b/configure.ac index 5da3b60..1fcdb34 100644 --- a/configure.ac +++ b/configure.ac @@ -250,7 +250,6 @@ if test x$with_homespool != x; then relative the the home directory. use: configure --with-homespool=FILE ]) - AC_DEFINE(USE_DOTLOCK,1,[ Define to use dotlocking for mailboxes. ]) mutt_cv_setgid=no else AC_ARG_WITH(mailpath, AC_HELP_STRING([--with-mailpath=DIR], [Directory where spool mailboxes are located]), @@ -285,9 +284,7 @@ int main (int argc, char **argv) }], mutt_cv_worldwrite=yes, mutt_cv_worldwrite=no, mutt_cv_worldwrite=no)]) mutt_cv_setgid=no - if test $mutt_cv_worldwrite = yes; then - AC_DEFINE(USE_DOTLOCK,1,[ Define to use dotlocking for mailboxes. ]) - else + if test $mutt_cv_worldwrite != yes; then AC_CACHE_CHECK(if $mutt_cv_mailpath is group writable, mutt_cv_groupwrite, [AC_TRY_RUN([#include #include @@ -301,7 +298,6 @@ int main (int argc, char **argv) }], mutt_cv_groupwrite=yes, mutt_cv_groupwrite=no, mutt_cv_groupwrite=no)]) if test $mutt_cv_groupwrite = yes; then - AC_DEFINE(USE_DOTLOCK,1,[ Define to use dotlocking for mailboxes. ]) AC_DEFINE(USE_SETGID,1,[ Define if mutt should run setgid "mail". ]) mutt_cv_setgid=yes fi @@ -732,9 +728,9 @@ AC_OUTPUT(Makefile lib-mime/Makefile lib-crypt/Makefile lib-hash/Makefile + lib-mx/Makefile lib-sys/Makefile lib-ui/Makefile - lib/Makefile imap/Makefile pop/Makefile nntp/Makefile