summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/autogen.sh
blob: 921ef04d82e481f4d2f2881f221cf7c6aee33820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

rm -rf autom4te.cache
rm -f configure config.h.in

IPATHS="-I libreplace -I lib/replace -I ../libreplace -I ../replace"
IPATHS="$IPATHS -I lib/talloc -I talloc -I ../talloc"
IPATHS="$IPATHS -I lib/tdb -I tdb -I ../tdb"
IPATHS="$IPATHS -I lib/popt -I popt -I ../popt"

# Always keep this listed last, so the built-in versions of tdb and talloc
# get used if available.
IPATHS="$IPATHS -I ./external"

autoheader $IPATHS || exit 1
autoconf $IPATHS || exit 1

rm -rf autom4te.cache

swig -python ldb.i # Ignore errors, for now

echo "Now run ./configure and then make."
exit 0