bootstrap 662 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. # This file is in the public domain.
  3. echo "Removing folder 'libltdl'..."
  4. rm -rf libltdl
  5. # Install clang format symlink (if possible)
  6. ln -s contrib/conf/editors/clang-format .clang-format 2> /dev/null
  7. echo "checking for libtoolize / libtool... "
  8. # This is more portable than `which' but comes with
  9. # the caveat of not(?) properly working on busybox's ash:
  10. existence()
  11. {
  12. command -v "$1" >/dev/null 2>&1
  13. }
  14. if existence libtool || existence libtoolize || existence glibtoolize || existence slibtool; then
  15. autoreconf -if
  16. . "bin/pogen.sh"
  17. else
  18. echo "*** No libtoolize (libtool) or libtool found, please install it ***" >&2;
  19. exit 1
  20. fi