You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
575B

  1. #!/bin/sh
  2. # Run this to generate all the initial makefiles, etc.
  3. if which libtoolize > /dev/null; then
  4. echo "Found libtoolize"
  5. libtoolize -c
  6. elif which glibtoolize > /dev/null; then
  7. echo "Found glibtoolize"
  8. glibtoolize -c
  9. else
  10. echo "Failed to find libtoolize or glibtoolize, please ensure it is installed and accessible via your PATH env variable"
  11. exit 1
  12. fi;
  13. autoreconf -fv --install || exit 1
  14. if which cargo > /dev/null; then
  15. if [ -f rust/Cargo.lock ] ; then
  16. rm -f rust/Cargo.lock
  17. fi
  18. fi;
  19. echo "You can now run \"./configure\" and then \"make\"."