summaryrefslogtreecommitdiff
path: root/ldb/autogen.sh
blob: 52fc8b63e289196019cda377dfc26c5c17cc17bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

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

IPATHS="-I libreplace -I lib/replace -I ../libreplace -I ../replace -I ../../../lib/replace"
IPATHS="$IPATHS -I ./external"

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

rm -rf autom4te.cache

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

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