-AC_ARG_WITH(term-parser,
- AS_HELP_STRING([--with-term-parser=(cscTex|cscTextual|new)],
- [choose term parser (default is new)]),
- [TERM_PARSER=$withval], [TERM_PARSER=new])
-if test $TERM_PARSER = "cscTex"; then
- CHOSEN_TERM_PARSER="include CSCTexDisambiguatingParser"
-else
- if test $TERM_PARSER = "cscTextual"; then
- CHOSEN_TERM_PARSER="include CSCTextualDisambiguatingParser"
+OCAMLFIND_COMMANDS=""
+AC_CHECK_PROG(HAVE_OCAMLC_OPT, ocamlc.opt, yes, no)
+if test $HAVE_OCAMLC_OPT = "yes"; then
+ if test "$OCAMLFIND_COMMANDS" = ""; then
+ OCAMLFIND_COMMANDS="ocamlc=ocamlc.opt"