summaryrefslogtreecommitdiff
path: root/source4/build/m4/check_path.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-29 15:51:24 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-29 15:51:24 +0200
commitb302d3273a3b9e6acc1ff90bbca02fbe2ceb1160 (patch)
tree5201509b5f932788feeeee2ec6acface46581d34 /source4/build/m4/check_path.m4
parent1e7dc5675280d567db1b6a243d48c5617dba5872 (diff)
parent617ef56aa3378c384026b72871af5a7253b8df33 (diff)
downloadsamba-b302d3273a3b9e6acc1ff90bbca02fbe2ceb1160.tar.gz
samba-b302d3273a3b9e6acc1ff90bbca02fbe2ceb1160.tar.bz2
samba-b302d3273a3b9e6acc1ff90bbca02fbe2ceb1160.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs
(This used to be commit 3947327f8c4ca530d99bc5ac3d1f6f54727f477a)
Diffstat (limited to 'source4/build/m4/check_path.m4')
-rw-r--r--source4/build/m4/check_path.m419
1 files changed, 19 insertions, 0 deletions
diff --git a/source4/build/m4/check_path.m4 b/source4/build/m4/check_path.m4
index 08a858ebb2..c0b81f1a8d 100644
--- a/source4/build/m4/check_path.m4
+++ b/source4/build/m4/check_path.m4
@@ -20,6 +20,7 @@ piddir="${localstatedir}/run"
privatedir="\${prefix}/private"
modulesdir="\${prefix}/modules"
winbindd_socket_dir="${localstatedir}/run/winbind_pipe"
+ntp_signd_socket_dir="${localstatedir}/run/ntp_signd"
AC_ARG_WITH(fhs,
[ --with-fhs Use FHS-compliant paths (default=no)],
@@ -31,6 +32,7 @@ AC_ARG_WITH(fhs,
modulesdir="${libdir}/samba"
datadir="${datadir}/samba"
includedir="${includedir}/samba-4.0"
+ ntp_signd_socket_dir="${localstatedir}/run/samba/ntp_signd"
winbindd_socket_dir="${localstatedir}/run/samba/winbind_pipe"
)
@@ -67,6 +69,22 @@ AC_ARG_WITH(winbindd-socket-dir,
esac])
#################################################
+# set where the NTP signing deamon socket should be put
+AC_ARG_WITH(ntp-signd-socket-dir,
+[ --with-ntp-signd-socket-dir=DIR Where to put the NTP signing deamon socket ($ac_default_prefix/run/ntp_signd)],
+[ case "$withval" in
+ yes|no)
+ #
+ # Just in case anybody calls it without argument
+ #
+ AC_MSG_WARN([--with-ntp-signd-socketdir called without argument - will use default])
+ ;;
+ * )
+ ntp_signd_socket_dir="$withval"
+ ;;
+ esac])
+
+#################################################
# set lock directory location
AC_ARG_WITH(lockdir,
[ --with-lockdir=DIR Where to put lock files ($ac_default_prefix/var/locks)],
@@ -122,6 +140,7 @@ AC_SUBST(privatedir)
AC_SUBST(bindir)
AC_SUBST(sbindir)
AC_SUBST(winbindd_socket_dir)
+AC_SUBST(ntp_signd_socket_dir)
AC_SUBST(modulesdir)
#################################################