summaryrefslogtreecommitdiffstats
path: root/source/configure.in
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2007-12-13 14:23:04 +0300
committerAlexander Bokovoy <ab@samba.org>2007-12-13 14:23:04 +0300
commitb8e582c9941d2466a403e476c52026f4b4201062 (patch)
tree7d2198b34f9b2103a6dfa60ce5d2e8de89f31f4b /source/configure.in
parent45636efa39cbcc2ecf7af4dfd1ac6a90f197ba01 (diff)
downloadsamba-b8e582c9941d2466a403e476c52026f4b4201062.tar.gz
samba-b8e582c9941d2466a403e476c52026f4b4201062.tar.xz
samba-b8e582c9941d2466a403e476c52026f4b4201062.zip
Fix codepagedir to follow predefined libdir when using FHS. Fixes x86_64 build.
Diffstat (limited to 'source/configure.in')
-rw-r--r--source/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/configure.in b/source/configure.in
index 84ae6f7e507..7272ae4d9ac 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -65,10 +65,10 @@ AC_ARG_WITH(fhs,
mandir="\${prefix}/share/man"
logfilebase="\${VARDIR}/log/samba"
privatedir="\${CONFIGDIR}/private"
- libdir="\${prefix}/lib/samba"
+ test "${libdir}" || libdir="\${prefix}/lib/samba"
configdir="\${sysconfdir}/samba"
swatdir="\${DATADIR}/samba/swat"
- codepagedir="\${prefix}/lib/samba"
+ codepagedir="\${LIBDIR}"
statedir="\${VARDIR}/lib/samba"
cachedir="\${VARDIR}/lib/samba"
AC_DEFINE(FHS_COMPATIBLE, 1, [Whether to use fully FHS-compatible paths])