25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

50 satır
1.2 KiB

  1. #! /bin/sh
  2. ## bootstrap file for libcaca -- Sam Hocevar <sam@zoy.org>
  3. ## $Id$
  4. set -x
  5. set -e
  6. # Get a sane environment, just in case
  7. LANG=C
  8. export LANG
  9. CYGWIN=binmode
  10. export CYGWIN
  11. # Check for automake
  12. amvers="no"
  13. if automake-1.8 --version >/dev/null 2>&1; then
  14. amvers="-1.8"
  15. elif automake-1.7 --version >/dev/null 2>&1; then
  16. amvers="-1.7"
  17. elif automake-1.6 --version >/dev/null 2>&1; then
  18. amvers="-1.6"
  19. elif automake-1.5 --version >/dev/null 2>&1; then
  20. amvers="-1.5"
  21. elif automake --version > /dev/null 2>&1; then
  22. amvers="`automake --version | sed -e '1s/[^0-9]*//' -e q`"
  23. if expr "$amvers" "<" "1.5" > /dev/null 2>&1; then
  24. amvers="no"
  25. else
  26. amvers=""
  27. fi
  28. fi
  29. if test "$amvers" = "no"; then
  30. set +x
  31. echo "$0: you need automake version 1.5 or later"
  32. exit 1
  33. fi
  34. # Remove old cruft
  35. rm -f aclocal.m4 configure config.guess config.log config.sub config.cache config.h.in config.h compile ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh INSTALL
  36. rm -Rf autom4te.cache
  37. (cd autotools && rm -f config.guess config.sub missing mkinstalldirs compile ltmain.sh depcomp install-sh)
  38. aclocal${amvers}
  39. autoconf
  40. autoheader
  41. automake${amvers} --add-missing --copy