diff options
Diffstat (limited to 'packaging/RHEL-CTDB/configure.rpm')
-rwxr-xr-x | packaging/RHEL-CTDB/configure.rpm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/packaging/RHEL-CTDB/configure.rpm b/packaging/RHEL-CTDB/configure.rpm new file mode 100755 index 0000000000..7596040205 --- /dev/null +++ b/packaging/RHEL-CTDB/configure.rpm @@ -0,0 +1,42 @@ + +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=$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 \ + --disable-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 \ + --without-dnsupdate \ + --with-aio-support \ + $* |