summaryrefslogtreecommitdiff
path: root/lib/tdb/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb/autogen.sh')
-rwxr-xr-xlib/tdb/autogen.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/tdb/autogen.sh b/lib/tdb/autogen.sh
new file mode 100755
index 0000000000..88ac4cfcf7
--- /dev/null
+++ b/lib/tdb/autogen.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+rm -rf autom4te.cache
+rm -f configure config.h.in
+
+IPATHS="-I libreplace -I lib/replace -I ../libreplace -I ../replace"
+autoconf $IPATHS || exit 1
+autoheader $IPATHS || exit 1
+
+rm -rf autom4te.cache
+
+swig -O -Wall -python -keyword tdb.i # Ignore errors for now
+
+echo "Now run ./configure and then make."
+exit 0
+