diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
commit | 4f5791ebd03eaec1c7da0865a383175b05102712 (patch) | |
tree | 8ce7b00f7a76baa386372422adebbe64510812d4 /ctdb/configure.rpm | |
parent | Initial commit. (diff) | |
download | samba-4f5791ebd03eaec1c7da0865a383175b05102712.tar.xz samba-4f5791ebd03eaec1c7da0865a383175b05102712.zip |
Adding upstream version 2:4.17.12+dfsg.upstream/2%4.17.12+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | ctdb/configure.rpm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ctdb/configure.rpm b/ctdb/configure.rpm new file mode 100755 index 0000000..e8ec3b2 --- /dev/null +++ b/ctdb/configure.rpm @@ -0,0 +1,20 @@ +#!/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 \ + $* |