selftest: Add a test for smbclient --machine-pass without secrets.tdb
[Samba.git] / packaging / RHEL-CTDB / configure.rpm
blob5e2b88e778b68bb5f96e1a0ef5ce52d481a58cce
1 #!/bin/sh
3 case `uname -m` in
4         x86_64)
5                 _libarch=lib64
6                 ;;
7         *)
8                 _libarch=lib
9                 ;;
10 esac
12 _libarchdir=/usr/${_libarch}
14 _prefix=/usr
15 _sysconfdir=/etc
16 _mandir=/usr/man
17 _datadir=/usr/share
19 # check for ccache
20 ccache -h 2>&1 > /dev/null
21 if [ $? -eq 0 ]; then
22         CC="ccache gcc"
23 else
24         CC="gcc"
27 ./autogen.sh
29 CC="$CC" CFLAGS="-Wall -g -D_GNU_SOURCE -O3" ./configure -C \
30         --prefix=${_prefix} \
31         --localstatedir=/var \
32         --with-configdir=${_sysconfdir}/samba \
33         --libdir=${_libarchdir} \
34         --with-modulesdir=${_libarchdir}/samba \
35         --with-pammodulesdir=/${_libarch}/security \
36         --with-lockdir=/var/lib/samba \
37         --with-logfilebase=/var/log/samba \
38         --mandir=${_mandir} \
39         --with-piddir=/var/run \
40         --with-privatedir=${_sysconfdir}/samba \
41         --with-sambabook=${_datadir}/swat/using_samba \
42         --with-swatdir=${_datadir}/swat \
43         --disable-cups \
44         --with-acl-support \
45         --with-ads \
46         --with-automount \
47         --with-fhs \
48         --with-pam_smbpass \
49         --with-libsmbclient \
50         --with-libsmbsharemodes \
51         --without-smbwrapper \
52         --with-pam \
53         --with-quotas \
54         --with-shared-modules=idmap_rid,idmap_ad,idmap_tdb2,vfs_gpfs,vfs_tsmsm \
55         --with-syslog \
56         --with-utmp \
57         --with-cluster-support \
58         --with-ctdb=/usr/include \
59         --without-ldb \
60         --without-dnsupdate \
61         --with-aio-support \
62         --disable-merged-build \
63         --disable-smbtorture4 \
64         --disable-external-libtalloc \
65         --disable-external-libtdb \
66         $*
68 make showlayout