autogen.sh 467 B

1234567891011121314151617181920212223
  1. #!/bin/sh
  2. #
  3. # Create configure and makefile stuff...
  4. #
  5. # Git hooks should come before autoreconf.
  6. if test -d .git; then
  7. if ! test -d .git/hooks; then
  8. mkdir .git/hooks
  9. fi
  10. ln -s -f ../../pre-commit.sh .git/hooks/pre-commit
  11. ln -s -f ../../pre-push.sh .git/hooks/pre-push
  12. fi
  13. # If this is a source checkout then call autoreconf with error as well
  14. if test -d .git; then
  15. WARNINGS="all,error"
  16. else
  17. WARNINGS="all"
  18. fi
  19. autoreconf --install --force --verbose