2 # This file is in the public domain.
3 echo "Removing folder 'libltdl'..."
6 # This is more portable than `which' but comes with
7 # the caveat of not(?) properly working on busybox's ash:
10 command -v "$1" >/dev/null 2>&1
14 if existence uncrustify; then
15 echo "Installing uncrustify hook and configuration"
16 # Install uncrustify format symlink (if possible)
17 ln -s contrib/uncrustify.cfg uncrustify.cfg 2> /dev/null
18 # Install pre-commit hook (if possible)
19 ln -s ../../contrib/uncrustify_precommit .git/hooks/pre-commit 2> /dev/null
21 echo "Uncrustify not detected, hook not installed. Please install uncrustify if you plan on doing development"
24 echo "checking for libtoolize / libtool... "
27 if existence libtool || existence libtoolize || existence glibtoolize || existence slibtool; then
31 echo "*** No libtoolize (libtool) or libtool found, please install it ***" >&2;