update configure.rpm for clustered Samba usage
[samba.git] / packaging / RHEL-CTDB / configure.rpm
1
2 case `uname -m` in
3      x86_64)
4         libdir=/usr/lib64/samba
5         ;;
6      *)
7         libdir=/usr/lib/samba
8         ;;
9 esac
10
11
12 CFLAGS="-Wall -g -D_GNU_SOURCE" ./configure \
13         --prefix=/usr \
14         --localstatedir=/var \
15         --with-configdir=/etc/samba \
16         --with-libdir=$libdir \
17         --with-lockdir=/var/lib/samba \
18         --with-logfilebase=/var/log/samba \
19         --with-mandir=/usr/man \
20         --with-piddir=/var/run \
21         --with-privatedir=/etc/samba \
22         --with-sambabook=/usr/share/swat/using_samba \
23         --with-swatdir=/usr/share/swat \
24         --enable-cups \
25         --with-acl-support \
26         --with-ads \
27         --with-automount \
28         --with-fhs \
29         --with-pam_smbpass \
30         --with-libsmbclient \
31         --with-libsmbsharemodes \
32         --without-smbwrapper \
33         --with-pam \
34         --with-quotas \
35         --with-shared-modules=idmap_rid,idmap_ad,idmap_tdb2 \
36         --with-syslog \
37         --with-utmp \
38         --with-cluster-support \
39         --with-ctdb=/usr/include \
40         --without-ldb \
41         --with-dnsupdate \
42         --with-aio-support \
43         $*