summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-10-31 00:54:09 +0000
committerStef Walter <stef@memberwebs.com>2009-10-31 00:55:53 +0000
commitaef40c10e9c2620943c196a4d07ecce2795c1c95 (patch)
tree406fbeb7064b11c0823c434a66ef44db792dea4b /autogen.sh
parent119813d32b29eb2dc3a2ddcb344f6f39b5455548 (diff)
Build changes for better working with git.
* Automatically generated ChangeLog. * Proper NEWS file * Enable whitespace hooks in git if available.
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 "$@"