bootstrap 527 B

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