s4:dsdb/extended_dn_in: Fix DNs and filter expressions in extended match ops
[obnox/samba/samba-obnox.git] / ctdb / configure.rpm
index 4c82ecfc8a2fc40d310c59fc2fcf1e3263fc12d4..ff7eace28153238c49b4b4e27162a9a94a554584 100755 (executable)
@@ -1,6 +1,17 @@
+#!/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,samba-debug,socket-blocking,tdb-wrap \
+       --bundled-libraries=!talloc,!tevent,!tdb \
+       --minimum-library-version=talloc:2.0.8,tdb:1.2.11,tevent:0.9.16 \
        --prefix=/usr \
+       --libdir=${_libdir} \
        --sysconfdir=/etc \
        --mandir=/usr/man \
        --localstatedir=/var \