75960402053b6865dfc545f07527aa42b6c334eb
[jra/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 CFLAGS="-Wall -g -D_GNU_SOURCE" ./configure \
12         --prefix=/usr \
13         --localstatedir=/var \
14         --with-configdir=/etc/samba \
15         --with-libdir=$libdir \
16         --with-lockdir=/var/lib/samba \
17         --with-logfilebase=/var/log/samba \
18         --with-mandir=/usr/man \
19         --with-piddir=/var/run \
20         --with-privatedir=/etc/samba \
21         --with-sambabook=/usr/share/swat/using_samba \
22         --with-swatdir=/usr/share/swat \
23         --disable-cups \
24         --with-acl-support \
25         --with-ads \
26         --with-automount \
27         --with-fhs \
28         --with-pam_smbpass \
29         --with-libsmbclient \
30         --with-libsmbsharemodes \
31         --without-smbwrapper \
32         --with-pam \
33         --with-quotas \
34         --with-shared-modules=idmap_rid,idmap_ad,idmap_tdb2 \
35         --with-syslog \
36         --with-utmp \
37         --with-cluster-support \
38         --with-ctdb=/usr/include \
39         --without-ldb \
40         --without-dnsupdate \
41         --with-aio-support \
42         $*