summaryrefslogtreecommitdiff
path: root/lib/tdb/autogen-autotools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb/autogen-autotools.sh')
-rwxr-xr-xlib/tdb/autogen-autotools.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/tdb/autogen-autotools.sh b/lib/tdb/autogen-autotools.sh
new file mode 100755
index 0000000000..bf84eeee19
--- /dev/null
+++ b/lib/tdb/autogen-autotools.sh
@@ -0,0 +1,14 @@
+#!/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
+
+echo "Now run ./configure and then make."
+exit 0
+