winbindd: only use the domain name from lookup sids if the domain matches
[Samba.git] / packaging / RHEL-CTDB / configure.rpm
bloba2d35ea01d617d6cbe027375baabc4ccb6e6dca3
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 shared_modules="idmap_rid,idmap_ad,idmap_tdb2,idmap_rfc2307"
29 if test "x$BUILD_GPFS" != "xno"; then
30         shared_modules="${shared_modules},vfs_gpfs,vfs_tsmsm"
33 ./autogen.sh
35 CC="$CC" CFLAGS="-Wall -g -D_GNU_SOURCE -O3" ./configure -C \
36         --prefix=${_prefix} \
37         --localstatedir=/var \
38         --with-configdir=${_sysconfdir}/samba \
39         --libdir=${_libarchdir} \
40         --with-modulesdir=${_libarchdir}/samba \
41         --with-pammodulesdir=${_libarch}/security \
42         --with-lockdir=/var/lib/samba \
43         --with-logfilebase=/var/log/samba \
44         --mandir=${_mandir} \
45         --with-piddir=/var/run \
46         --with-privatedir=${_sysconfdir}/samba \
47         --with-sambabook=${_datadir}/swat/using_samba \
48         --with-swatdir=${_datadir}/swat \
49         --disable-cups \
50         --with-acl-support \
51         --with-ads \
52         --with-automount \
53         --enable-fhs \
54         --with-libsmbclient \
55         --without-smbwrapper \
56         --with-pam \
57         --with-quotas \
58         --with-shared-modules=${shared_modules} \
59         --with-syslog \
60         --with-utmp \
61         --with-cluster-support \
62         --with-ctdb=/usr/include \
63         --without-ldb \
64         --without-dnsupdate \
65         --disable-external-libtalloc \
66         --disable-external-libtdb \
67         $*
69 make showlayout