#! /bin/sh GLOBAL_ERROR_INDICATOR=0 check_for_application () { for PROG in "$@" do if ! which "$PROG" >/dev/null 2>&1; then cat >&2 </dev/null 2>/dev/null if test $? -eq 0 then libtoolize=libtoolize else glibtoolize --version >/dev/null 2>/dev/null if test $? -eq 0 then libtoolize=glibtoolize else cat >&2 <