diff options
author | Tim Potter <tpot@samba.org> | 2004-03-01 01:09:13 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2004-03-01 01:09:13 +0000 |
commit | 0af6ee14c1ab480e5a3d2e82f803253581a2896f (patch) | |
tree | 250cefc65b42b2cd9c41aeb038705557295b80c5 /source3 | |
parent | 0d45ad1b0d55546c6a4afcb002acefefc2e2feb0 (diff) | |
download | samba-0af6ee14c1ab480e5a3d2e82f803253581a2896f.tar.gz samba-0af6ee14c1ab480e5a3d2e82f803253581a2896f.tar.bz2 samba-0af6ee14c1ab480e5a3d2e82f803253581a2896f.zip |
Fix bugzilla #1144 where running configure --with-fhs=anything would
turn on fhs compliant paths. Spotted by Timur Bakeyev.
(This used to be commit e0382635a5490e1a6b6388dc98e6ce318e197808)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 6 |
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 |