3 GLOBAL_ERROR_INDICATOR=0
5 check_for_application()
9 which "$PROG" >/dev/null 2>&1
10 if test $? -ne 0; then
12 WARNING: \`$PROG' not found!
13 Please make sure that \`$PROG' is installed and is in one of the
14 directories listed in the PATH environment variable.
16 GLOBAL_ERROR_INDICATOR=1
21 check_for_application lex bison autoheader aclocal automake autoconf pkg-config
24 libtoolize --version >/dev/null 2>/dev/null
25 if test $? -eq 0; then
28 glibtoolize --version >/dev/null 2>/dev/null
29 if test $? -eq 0; then
30 libtoolize=glibtoolize
33 WARNING: Neither \`libtoolize' nor \`glibtoolize' have been found!
34 Please make sure that one of them is installed and is in one of the
35 directories listed in the PATH environment variable.
37 GLOBAL_ERROR_INDICATOR=1
41 if test "$GLOBAL_ERROR_INDICATOR" != "0"; then
49 && $libtoolize --copy --force \
50 && automake --add-missing --copy \