bootstrap 774 B

12345678910111213141516171819202122232425262728
  1. #!/bin/sh
  2. echo "Please make sure that you use automake 1.11 or later"
  3. echo "Warnings about underquoted definitions are harmless"
  4. if [ `uname -s` = Darwin ]; then
  5. echo "On OSX, install latest libtool, as the OS provided glibtoolize will not work"
  6. fi
  7. echo "Running aclocal"
  8. aclocal -I m4 --install || exit 1
  9. echo "Running libtoolize"
  10. libtoolize --copy --automake --install || exit 1
  11. echo "Running autoheader"
  12. autoheader || exit 1
  13. echo "Running automake"
  14. automake --foreign --add-missing --copy || exit 1
  15. echo "Running autoconf"
  16. autoconf || exit 1
  17. echo "Running bootstrap in ou directory"
  18. (cd ou && ./bootstrap)
  19. if [ -d libccd ]; then
  20. echo "Running bootstrap in libccd directory"
  21. (cd libccd && ./bootstrap)
  22. fi;
  23. echo "Now you are ready to run ./configure"