summaryrefslogtreecommitdiff
path: root/lib/talloc/autogen-autotools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/talloc/autogen-autotools.sh')
-rwxr-xr-xlib/talloc/autogen-autotools.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/talloc/autogen-autotools.sh b/lib/talloc/autogen-autotools.sh
new file mode 100755
index 0000000000..bf84eeee19
--- /dev/null
+++ b/lib/talloc/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
+