autogen.sh 732 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/bin/sh
  2. # Usage: sh -x ./autogen.sh
  3. set -e
  4. [ -f GUILE-VERSION ] || {
  5. echo "autogen.sh: run this command only at the top of guile-core."
  6. exit 1
  7. }
  8. ######################################################################
  9. ### announce build tool versions
  10. echo ""
  11. autoconf --version
  12. echo ""
  13. automake --version
  14. echo ""
  15. # Typical MacOS X installations rename 'libtoolize' to 'glibtoolize', so
  16. # adjust to that.
  17. if test "`uname -s`" = "Darwin"; then
  18. glibtoolize --version
  19. else
  20. libtoolize --version
  21. fi
  22. echo ""
  23. ${M4:-m4} --version
  24. echo ""
  25. flex --version
  26. echo ""
  27. ######################################################################
  28. ### update infrastructure
  29. autoreconf -i --force --verbose
  30. echo "Now run configure and make."