From 0af6ee14c1ab480e5a3d2e82f803253581a2896f Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 1 Mar 2004 01:09:13 +0000 Subject: 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) --- source3/configure.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/configure.in') 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 -- cgit