diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,13 @@ #!/bin/sh -ex +# 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 -ex aclocal @@ -7,5 +15,5 @@ autoheader libtoolize --force automake -a autoconf -./configure --enable-maintainer-mode "$@" +./configure "$@" |