X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=configure.in;h=64fcd4fda3d08820f6093e7f033901c50df91d8f;hb=b227669eb3338ad951c81e7efea1c76026b9f661;hp=55e139331393bac1d4e5151b60663660f98af367;hpb=a395a8839181b9895fdd0cafdb40be35675ced48;p=mmh diff --git a/configure.in b/configure.in index 55e1393..64fcd4f 100644 --- a/configure.in +++ b/configure.in @@ -153,6 +153,17 @@ else AC_DEFINE(DOT_LOCKING)dnl fi +dnl Should we use a locking directory? +AC_ARG_ENABLE([lockdir], [ + AS_HELP_STRING([--enable-lockdir=dir], [Store dot-lock files in "dir"])], [ + AS_IF([test "x$enableval" = xyes],[ + AC_MSG_ERROR([--enable-lockdir requires an argument])]) + AS_IF([test "x$LOCKTYPE" != xdot],[ + AC_MSG_ERROR([Can only use --enable-lockdir with dot locking])]) + AC_DEFINE_UNQUOTED([LOCKDIR], ["$enableval"], + [Directory to store dot-locking lock files]) +]) + dnl What method of posting should post use? AC_ARG_WITH(mts, AS_HELP_STRING([--with-mts=@<:@smtp|sendmail@:>@],