1
0

autogen.sh 418 B

12345678910111213141516171819202122
  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. fi
  12. # If this is a source checkout then call autoreconf with error as well
  13. if test -d .git; then
  14. WARNINGS="all,error"
  15. else
  16. WARNINGS="all"
  17. fi
  18. autoreconf --install --force --verbose