summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-03-02 18:07:06 +0000
committerJeremy Allison <jra@samba.org>2004-03-02 18:07:06 +0000
commit5f4b6ae77a725146772f44e6b5cede2a216523ce (patch)
treece0736ac1a8a164fa8f50182653cde0ccd780605
parentdb616730198452cb0d8ae72ee5ad1b176a7e55e1 (diff)
downloadsamba-5f4b6ae77a725146772f44e6b5cede2a216523ce.tar.gz
samba-5f4b6ae77a725146772f44e6b5cede2a216523ce.tar.bz2
samba-5f4b6ae77a725146772f44e6b5cede2a216523ce.zip
Janitorial duty for tpot - --with-fhs fix.
Jeremy. (This used to be commit 64eded518b32a242880b5e85c9032bc212c3f1fb)
-rw-r--r--source3/configure.in21
1 files changed, 14 insertions, 7 deletions
diff --git a/source3/configure.in b/source3/configure.in
index c32bd8fa78..3883335169 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -14,22 +14,29 @@ AC_ENABLE_SHARED
# ones...
AC_PREFIX_DEFAULT(/usr/local/samba)
+lockdir="\${VARDIR}/locks"
+piddir="\${VARDIR}/locks"
+mandir="\${prefix}/man"
+logfilebase="\${VARDIR}"
+privatedir="\${prefix}/private"
+libdir="\${prefix}/lib"
+configdir="\${LIBDIR}"
+swatdir="\${prefix}/swat"
+
AC_ARG_WITH(fhs,
[ --with-fhs Use FHS-compliant paths (default=no)],
- configdir="${sysconfdir}/samba"
+[ case "$withval" in
+ yes)
lockdir="\${VARDIR}/lib/samba"
piddir="\${VARDIR}/run"
mandir="\${prefix}/share/man"
logfilebase="\${VARDIR}/log/samba"
privatedir="\${CONFIGDIR}/private"
libdir="\${prefix}/lib/samba"
+ configdir="${sysconfdir}/samba"
swatdir="\${DATADIR}/samba/swat",
- configdir="\${LIBDIR}"
- logfilebase="\${VARDIR}"
- lockdir="\${VARDIR}/locks"
- piddir="\${VARDIR}/locks"
- privatedir="\${prefix}/private"
- swatdir="\${prefix}/swat")
+ ;;
+ esac])
#################################################
# set private directory location