diff options
author | Volker Lendecke <vl@samba.org> | 2011-01-06 12:33:44 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-01-07 14:14:19 +0100 |
commit | 3e0915f2712a966f14ac0f7bc9fb24b6ed95d284 (patch) | |
tree | 3617783023e1b06d29b6b0dde8cac2d99a2f6938 /source3/m4 | |
parent | 2672101cc4fa406ed89647b3d541556e548c10bf (diff) | |
download | samba-3e0915f2712a966f14ac0f7bc9fb24b6ed95d284.tar.gz samba-3e0915f2712a966f14ac0f7bc9fb24b6ed95d284.tar.bz2 samba-3e0915f2712a966f14ac0f7bc9fb24b6ed95d284.zip |
s3: Make nmbd socket dir configurable
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan 7 14:14:19 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/m4')
-rw-r--r-- | source3/m4/check_path.m4 | 18 |
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) |