summaryrefslogtreecommitdiff
path: root/packaging/RHEL-CTDB/configure.rpm
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-04-21 18:39:56 +0200
committerMichael Adam <obnox@samba.org>2008-08-13 11:54:01 +0200
commit8c156679af6c7ff859c078743afd598810b396cd (patch)
tree1d5e4bc3a14e6b426cf526930ccd4b2f8f005ef9 /packaging/RHEL-CTDB/configure.rpm
parent5a3642d5aa725b0a54e6e303e1afdbfefdb81de7 (diff)
downloadsamba-8c156679af6c7ff859c078743afd598810b396cd.tar.gz
samba-8c156679af6c7ff859c078743afd598810b396cd.tar.bz2
samba-8c156679af6c7ff859c078743afd598810b396cd.zip
update configure.rpm for clustered Samba usage
(This used to be commit 87c9f7717fc8171644c244fe697cace2968b8f8a)
Diffstat (limited to 'packaging/RHEL-CTDB/configure.rpm')
-rwxr-xr-x[-rw-r--r--]packaging/RHEL-CTDB/configure.rpm71
1 files changed, 40 insertions, 31 deletions
diff --git a/packaging/RHEL-CTDB/configure.rpm b/packaging/RHEL-CTDB/configure.rpm
index e1a58ddb3b..a0bcf56654 100644..100755
--- a/packaging/RHEL-CTDB/configure.rpm
+++ b/packaging/RHEL-CTDB/configure.rpm
@@ -1,34 +1,43 @@
+case `uname -m` in
+ x86_64)
+ libdir=/usr/lib64/samba
+ ;;
+ *)
+ libdir=/usr/lib/samba
+ ;;
+esac
+
+
CFLAGS="-Wall -g -D_GNU_SOURCE" ./configure \
- --prefix=/usr \
- --localstatedir=/var \
- --with-configdir=/etc/samba \
- --with-libdir=/usr/lib/samba \
- --with-lockdir=/var/lib/samba \
- --with-logfilebase=/var/log/samba \
- --with-mandir=/usr/man \
- --with-piddir=/var/run \
- --with-privatedir=/etc/samba \
- --with-sambabook=/usr/share/swat/using_samba \
- --with-swatdir=/usr/share/swat \
- --enable-cups \
- --with-acl-support \
- --with-ads \
- --with-automount \
- --with-fhs \
- --with-pam_smbpass \
- --with-libsmbclient \
- --with-libsmbsharemodes \
- --without-smbwrapper \
- --with-pam \
- --with-quotas \
- --with-shared-modules=idmap_rid,idmap_ad \
- --with-smbmount \
- --with-syslog \
- --with-utmp \
- --with-cluster-support \
- --with-ctdb=/usr/include \
- --without-ldb \
- --with-dnsupdate \
- --with-aio-support \
+ --prefix=/usr \
+ --localstatedir=/var \
+ --with-configdir=/etc/samba \
+ --with-libdir=$libdir \
+ --with-lockdir=/var/lib/samba \
+ --with-logfilebase=/var/log/samba \
+ --with-mandir=/usr/man \
+ --with-piddir=/var/run \
+ --with-privatedir=/etc/samba \
+ --with-sambabook=/usr/share/swat/using_samba \
+ --with-swatdir=/usr/share/swat \
+ --enable-cups \
+ --with-acl-support \
+ --with-ads \
+ --with-automount \
+ --with-fhs \
+ --with-pam_smbpass \
+ --with-libsmbclient \
+ --with-libsmbsharemodes \
+ --without-smbwrapper \
+ --with-pam \
+ --with-quotas \
+ --with-shared-modules=idmap_rid,idmap_ad,idmap_tdb2 \
+ --with-syslog \
+ --with-utmp \
+ --with-cluster-support \
+ --with-ctdb=/usr/include \
+ --without-ldb \
+ --with-dnsupdate \
+ --with-aio-support \
$*