summaryrefslogtreecommitdiff
path: root/source3/m4/check_path.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source3/m4/check_path.m4')
-rw-r--r--source3/m4/check_path.m418
1 files changed, 18 insertions, 0 deletions
diff --git a/source3/m4/check_path.m4 b/source3/m4/check_path.m4
index 3683802964..f04e6f89c0 100644
--- a/source3/m4/check_path.m4
+++ b/source3/m4/check_path.m4
@@ -19,6 +19,7 @@ rootsbindir="\${SBINDIR}"
lockdir="\${VARDIR}/locks"
piddir="\${VARDIR}/locks"
ncalrpcdir="\${VARDIR}/ncalrpc"
+nmbdsocketdir="${lockdir}/.nmbd"
test "${mandir}" || mandir="\${prefix}/man"
logfilebase="\${VARDIR}"
privatedir="\${prefix}/private"
@@ -166,6 +167,22 @@ AC_ARG_WITH(ncalrpcdir,
esac])
#################################################
+# set nmbd socket directory location
+AC_ARG_WITH(nmbdsocketdir,
+[AS_HELP_STRING([--with-nmbdsocketdir=DIR], [Where to put the nmbd socket directory (${lockdir}/.nmbd)])],
+[ case "$withval" in
+ yes|no)
+ #
+ # Just in case anybody calls it without argument
+ #
+ AC_MSG_WARN([--with-nmbdsocketdir called without argument - will use default])
+ ;;
+ * )
+ nmbdsocketdir="$withval"
+ ;;
+ esac])
+
+#################################################
# set SWAT directory location
AC_ARG_WITH(swatdir,
[AS_HELP_STRING([--with-swatdir=DIR], [Where to put SWAT files ($ac_default_prefix/swat)])],
@@ -298,6 +315,7 @@ AC_ARG_WITH(codepagedir,
AC_SUBST(configdir)
AC_SUBST(lockdir)
AC_SUBST(piddir)
+AC_SUBST(nmbdsocketdir)
AC_SUBST(ncalrpcdir)
AC_SUBST(logfilebase)
AC_SUBST(privatedir)