summaryrefslogtreecommitdiff
path: root/lib/replace/autogen-autotools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace/autogen-autotools.sh')
-rwxr-xr-xlib/replace/autogen-autotools.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/replace/autogen-autotools.sh b/lib/replace/autogen-autotools.sh
new file mode 100755
index 0000000000..d46a4279f3
--- /dev/null
+++ b/lib/replace/autogen-autotools.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+rm -rf autom4te.cache
+rm -f configure config.h.in
+
+autoheader || exit 1
+autoconf || exit 1
+
+rm -rf autom4te.cache
+
+echo "Now run ./configure and then make."
+exit 0
+