12 _libarchdir=/usr${_libarch}
20 ccache -h 2>&1 > /dev/null
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"
35 CC="$CC" CFLAGS="-Wall -g -D_GNU_SOURCE -O3" ./configure -C \
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 \
45 --with-piddir=/var/run \
46 --with-privatedir=${_sysconfdir}/samba \
47 --with-sambabook=${_datadir}/swat/using_samba \
48 --with-swatdir=${_datadir}/swat \
56 --with-libsmbsharemodes \
57 --without-smbwrapper \
60 --with-shared-modules=${shared_modules} \
63 --with-cluster-support \
64 --with-ctdb=/usr/include \
68 --disable-external-libtalloc \
69 --disable-external-libtdb \