summaryrefslogtreecommitdiff
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
commit733425f312729bf4c26bfcea866f310bc9b6b5be (patch)
treeebff477392adeeceb9485cea3a8a4b3f95e020ee
parente25383400af26f10baff4d2b21db63f528ffbaeb (diff)
downloadsamba-733425f312729bf4c26bfcea866f310bc9b6b5be.tar.gz
samba-733425f312729bf4c26bfcea866f310bc9b6b5be.tar.bz2
samba-733425f312729bf4c26bfcea866f310bc9b6b5be.zip
Fix codepagedir to follow predefined libdir when using FHS. Fixes x86_64 build.
(This used to be commit b8e582c9941d2466a403e476c52026f4b4201062)
-rw-r--r--source3/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 84ae6f7e50..7272ae4d9a 100644
--- a/source3/configure.in
+++ b/source3/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])