X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=configure.ac;h=653acf0ad0760d5d01268c0288831cd8f025b253;hp=d32c30b67270cb2f773a913bd19f4257e933b2fb;hb=e48142e43bfeef1a44fb2f7131918b7172cd427e;hpb=a1a744d898ec8842871dca302e6ae54d9233413f diff --git a/configure.ac b/configure.ac index d32c30b..653acf0 100644 --- a/configure.ac +++ b/configure.ac @@ -68,6 +68,19 @@ else AC_DEFINE(DOT_LOCKING)dnl fi +dnl Should we use a locking directory? +AC_ARG_WITH(lockdir, + AS_HELP_STRING([--with-lockdir=dir], [Store dot-lock files in "dir"]), [ + AS_IF([test "x$with_lockdir" = xyes],[ + AC_MSG_ERROR([--with-lockdir requires an argument])]) +]) + +if test x"$with_lockdir" != x; then + LOCKDIR="$with_lockdir" + AC_DEFINE_UNQUOTED(LOCKDIR, ["$with_lockdir"], + [Directory to store dot-locking lock files.])dnl +fi + dnl ---------------------------------------------------- dnl Default location is /usr/local/mmh/{bin,etc,lib,share/man} @@ -560,7 +573,7 @@ eval "nmhsysconf=${sysconfdir}"; eval "nmhsysconf=${nmhsysconf}" eval "nmhlib=${libdir}"; eval "nmhlib=${nmhlib}" eval "nmhman=${mandir}"; eval "nmhman=${nmhman}" -echo " +cat <