autobuild: Implement a split python2 and python2 build pattern
[samba.git] / ctdb / configure.rpm
1 #!/bin/sh
2
3 if gcc -dM -E - </dev/null | grep -Eq '__(x86_64|powerpc64)__' ; then
4         _libdir=/usr/lib64
5 else
6         _libdir=/usr/lib
7 fi
8
9 CFLAGS="-Wall -g -D_GNU_SOURCE" ./configure \
10         --builtin-libraries=replace,popt \
11         --bundled-libraries=!talloc,!tevent,!tdb \
12         --minimum-library-version=talloc:2.0.8,tdb:1.2.11,tevent:0.9.16 \
13         --prefix=/usr \
14         --libdir=${_libdir} \
15         --sysconfdir=/etc \
16         --mandir=/usr/man \
17         --localstatedir=/var \
18         $*