summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2012-04-17 11:18:25 +0200
committerStef Walter <stef@thewalter.net>2012-04-17 11:20:05 +0200
commit5c8db740a178e417b7afc4bf8acf5e9f475c4e82 (patch)
treea8f37fa2cb5173a020fd3803354a0e90c3a14e95 /autogen.sh
parent2cd970c7719e9e9e4af685d3f8b6e6b4bdcc8929 (diff)
Release 0.4HEADmaster
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..1d0902a
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+set -e
+
+# Some boiler plate to get git setup as expected
+if test -d .git; then
+ if test -f .git/hooks/pre-commit.sample && \
+ test ! -f .git/hooks/pre-commit; then
+ cp -pv .git/hooks/pre-commit.sample .git/hooks/pre-commit
+ fi
+fi
+
+set -x
+
+aclocal
+autoheader
+automake -a
+autoconf
+./configure "$@"