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
29 glibtoolize --version >/dev/null 2>/dev/null
32 libtoolize=glibtoolize
35 WARNING: Neither \`libtoolize' nor \`glibtoolize' have been found!
36 Please make sure that one of them is installed and is in one of the
37 directories listed in the PATH environment variable.
39 GLOBAL_ERROR_INDICATOR=1
43 if test "$GLOBAL_ERROR_INDICATOR" != "0"
52 && $libtoolize --copy --force \
53 && automake --add-missing --copy \