1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb/configure.rpm
Amitay Isaacs 9bdd6814e4 ctdb-packaging: Update library versions to upstream versions
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2018-12-18 07:12:09 +01:00

21 lines
495 B
Bash
Executable File

#!/bin/sh
if gcc -dM -E - </dev/null | grep -Eq '__(x86_64|powerpc64)__' ; then
_libdir=/usr/lib64
else
_libdir=/usr/lib
fi
CFLAGS="-Wall -g -D_GNU_SOURCE" ./configure \
--builtin-libraries=replace,popt \
--bundled-libraries=!talloc,!tevent,!tdb \
--minimum-library-version=talloc:2.1.14,tdb:1.3.17,tevent:0.9.37 \
--prefix=/usr \
--includedir=/usr/include/ctdb \
--libdir=${_libdir} \
--libexecdir=/usr/libexec \
--sysconfdir=/etc \
--mandir=/usr/man \
--localstatedir=/var \
$*