summaryrefslogtreecommitdiff
path: root/packaging/RHEL-CTDB/configure.rpm
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/RHEL-CTDB/configure.rpm')
-rwxr-xr-xpackaging/RHEL-CTDB/configure.rpm68
1 files changed, 0 insertions, 68 deletions
diff --git a/packaging/RHEL-CTDB/configure.rpm b/packaging/RHEL-CTDB/configure.rpm
deleted file mode 100755
index 0409f50c65f..00000000000
--- a/packaging/RHEL-CTDB/configure.rpm
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-
-case `uname -m` in
- x86_64)
- _libarch="/lib64"
- ;;
- *)
- _libarch="/lib"
- ;;
-esac
-
-_libarchdir=/usr${_libarch}
-
-_prefix=/usr
-_sysconfdir=/etc
-_mandir=/usr/man
-_datadir=/usr/share
-
-# check for ccache
-ccache -h 2>&1 > /dev/null
-if [ $? -eq 0 ]; then
- CC="ccache gcc"
-else
- CC="gcc"
-fi
-
-shared_modules="idmap_rid,idmap_ad,idmap_tdb2,idmap_rfc2307"
-
-if test "x$BUILD_GPFS" != "xno"; then
- shared_modules="${shared_modules},vfs_gpfs,vfs_tsmsm"
-fi
-
-./autogen.sh
-
-CC="$CC" CFLAGS="-Wall -g -D_GNU_SOURCE -O3" ./configure -C \
- --prefix=${_prefix} \
- --localstatedir=/var \
- --with-configdir=${_sysconfdir}/samba \
- --libdir=${_libarchdir} \
- --with-modulesdir=${_libarchdir}/samba \
- --with-pammodulesdir=${_libarch}/security \
- --with-lockdir=/var/lib/samba \
- --with-logfilebase=/var/log/samba \
- --mandir=${_mandir} \
- --with-piddir=/var/run \
- --with-privatedir=${_sysconfdir}/samba \
- --disable-cups \
- --with-acl-support \
- --with-ads \
- --with-automount \
- --enable-fhs \
- --with-libsmbclient \
- --without-smbwrapper \
- --with-pam \
- --with-quotas \
- --with-shared-modules=${shared_modules} \
- --with-syslog \
- --with-utmp \
- --with-cluster-support \
- --with-ctdb=/usr/include \
- --without-ldb \
- --without-dnsupdate \
- --disable-external-libtalloc \
- --disable-external-libtdb \
- $*
-
-make showlayout
-