X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=autogen.sh;h=bf53b2770f96bdca0a8349ec3247845a8c093e24;hb=e31af7aa817eccaa504e81d5244585012344daf6;hp=76561338d46a8b2f66d38aa00591035d25666ed9;hpb=d8155bf51bf6484a94e734601526bf211053a5e1;p=platform%2Fupstream%2Fdbus.git diff --git a/autogen.sh b/autogen.sh index 7656133..bf53b27 100755 --- a/autogen.sh +++ b/autogen.sh @@ -13,6 +13,12 @@ FILE=dbus-1.pc.in DIE=0 +if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then + echo "Activating pre-commit hook." + cp -av .git/hooks/pre-commit.sample .git/hooks/pre-commit + chmod -c +x .git/hooks/pre-commit +fi + (autoconf --version) < /dev/null > /dev/null 2>&1 || { echo echo "You must have autoconf installed to compile $PROJECT."