-HAVE_LIBTOOLIZE=false
-
-for LIBTOOLIZE in libtoolize libtoolize15 glibtoolize; do
- if ${LIBTOOLIZE} --version > /dev/null 2>&1; then
- LIBTOOLIZE_VERSION=`${LIBTOOLIZE} --version | sed 's/^.*[^0-9.]\([0-9]\{1,\}\.[0-9.]\{1,\}\).*/\1/'`
-# echo ${LIBTOOLIZE_VERSION}
- case ${LIBTOOLIZE_VERSION} in
- 1.5* )
- HAVE_LIBTOOLIZE=true
- break;
- ;;
- esac
- fi
-done
-
-if test ${HAVE_LIBTOOLIZE} = false; then
- echo "No proper libtoolize was found."
- echo "You must have libtool 1.5 installed."
- exit 1
-fi