3 AC_CHECK_PROG(HAVE_OCAMLFIND, ocamlfind, yes, no)
4 if test $HAVE_OCAMLFIND = "yes"; then
7 AC_MSG_ERROR(could not find ocamlfind)
9 AC_CHECK_PROG(HAVE_LABLGLADECC, lablgladecc2, yes, no)
10 if test $HAVE_LABLGLADECC = "yes"; then
11 LABLGLADECC="lablgladecc2"
13 AC_MSG_ERROR(could not find lablgladecc2)
15 AC_CHECK_PROG(HAVE_CAMLP4O, camlp4o, yes, no)
16 if test $HAVE_CAMLP4O = "yes"; then
19 AC_MSG_ERROR(could not find camlp4o)
22 FINDLIB_REQUIRES="lablgtk2.glade helm-registry"
23 for r in $FINDLIB_REQUIRES
25 AC_MSG_CHECKING(for $r ocaml library)
26 if $OCAMLFIND query $r &> /dev/null; then
29 AC_MSG_ERROR(could not find $r ocaml library)
36 AC_SUBST(FINDLIB_REQUIRES)