Search for location of waf script
[Samba.git] / ctdb / configure.rpm
blobe8ec3b24459c93f8f021a173069f6909a57ccc8b
1 #!/bin/sh
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
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.1.14,tdb:1.3.17,tevent:0.9.37 \
13         --prefix=/usr \
14         --includedir=/usr/include/ctdb \
15         --libdir=${_libdir} \
16         --libexecdir=/usr/libexec \
17         --sysconfdir=/etc \
18         --mandir=/usr/man \
19         --localstatedir=/var \
20         $*