25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bootstrap 1017 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #! /bin/sh
  2. set -x
  3. rm -f aclocal.m4 configure libtool ltconfig ltmain.sh config.log
  4. rm -f autotools/compile autotools/config.guess autotools/config.sub autotools/missing autotools/mkinstalldirs autotools/depcomp autotools/install-sh
  5. # Check for automake
  6. amvers="none"
  7. if automake-1.7 --version >/dev/null 2>&1
  8. then
  9. amvers="-1.7"
  10. else
  11. if automake-1.6 --version >/dev/null 2>&1
  12. then
  13. amvers="-1.6"
  14. else
  15. if automake-1.5 --version >/dev/null 2>&1
  16. then
  17. amvers="-1.5"
  18. else
  19. if automake --version > /dev/null 2>&1
  20. then
  21. amvers=`automake --version | sed -e '1s/[^0-9]*//' -e q`
  22. if expr "$amvers" "<" "1.5" > /dev/null 2>&1
  23. then amvers="none"
  24. else amvers=""
  25. fi
  26. fi
  27. fi
  28. fi
  29. fi
  30. if test x$amvers = xnone
  31. then
  32. set +x
  33. echo "you need automake version 1.5 or later"
  34. exit 1
  35. fi
  36. aclocal${amvers} -I autotools || exit 1
  37. autoheader || exit 1
  38. automake${amvers} --add-missing --copy || exit 1
  39. autoconf || exit 1
  40. rm -f config.cache