summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 08037e2..e92da89 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,10 +1,20 @@
-#!/bin/sh -e
+#!/bin/sh
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 --enable-maintainer-mode "$@"
+./configure "$@"