bootstrap 895 B

1234567891011121314151617181920212223242526272829
  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. which glibtoolize >/dev/null 2>&1 &&! which libtoolize >/dev/null 2>&1 &&LIBTOOLIZE=glibtoolize ||LIBTOOLIZE=libtoolize
  11. $LIBTOOLIZE --copy --automake --install || exit 1
  12. echo "Running autoheader"
  13. autoheader || exit 1
  14. echo "Running automake"
  15. automake --foreign --add-missing --copy || exit 1
  16. echo "Running autoconf"
  17. autoconf || exit 1
  18. echo "Running bootstrap in ou directory"
  19. (cd ou && ./bootstrap)
  20. if [ -d libccd ]; then
  21. echo "Running bootstrap in libccd directory"
  22. (cd libccd && ./bootstrap)
  23. fi;
  24. echo "Now you are ready to run ./configure"