summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index fec57ee1f3..9fffe7c3c6 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -16,6 +16,8 @@ AC_PREFIX_DEFAULT(/usr/local/samba)
AC_ARG_WITH(fhs,
[ --with-fhs Use FHS-compliant paths (default=no)],
+[ case "$withval" in
+ yes)
configdir="${sysconfdir}/samba"
lockdir="\${VARDIR}/lib/samba"
piddir="\${VARDIR}/run"
@@ -29,7 +31,9 @@ AC_ARG_WITH(fhs,
lockdir="\${VARDIR}/locks"
piddir="\${VARDIR}/locks"
privatedir="\${prefix}/private"
- swatdir="\${prefix}/swat")
+ swatdir="\${prefix}/swat"
+ ;;
+ esac])
#################################################
# set private directory location