4 test -z "$srcdir" && srcdir=.
9 # install pre-commit hook
10 SRC_PRE_COMMIT=hooks/pre-commit.hook
11 GIT_PRE_COMMIT=.git/hooks/pre-commit
13 if [ ! \( -x $GIT_PRE_COMMIT -a -L $GIT_PRE_COMMIT \) ]; then
15 ln -s ../../$SRC_PRE_COMMIT $GIT_PRE_COMMIT
18 autoreconf -v --install || exit 1
19 cd $ORIGDIR || exit $?
21 if test -z "$NOCONFIGURE"; then
22 "$srcdir"/configure "$@"