Ocaml configure changes

Remove use of peculiar ':' default for OCAML in AC_CHECK_PROGS.
Further refinement of issue #458.
This commit is contained in:
William S Fulton 2015-07-30 23:32:54 +01:00
commit a3f0921c57

View file

@ -1881,27 +1881,27 @@ if test x"${with_ocaml}" = xno -o x"${with_alllang}" = xno ; then
else
AC_MSG_CHECKING(for Ocaml DL load generator)
if test -z "$OCAMLDLGEN"; then
AC_CHECK_PROGS(OCAMLDLGEN, ocamldlgen, :)
AC_CHECK_PROGS(OCAMLDLGEN, ocamldlgen)
fi
AC_MSG_CHECKING(for Ocaml package tool)
if test -z "$OCAMLFIND"; then
AC_CHECK_PROGS(OCAMLFIND, ocamlfind, :)
AC_CHECK_PROGS(OCAMLFIND, ocamlfind)
fi
AC_MSG_CHECKING(for Ocaml compiler)
if test -z "$OCAMLC"; then
AC_CHECK_PROGS(OCAMLC, ocamlc, )
AC_CHECK_PROGS(OCAMLC, ocamlc)
fi
AC_MSG_CHECKING(for Ocaml toplevel creator)
if test -z "$OCAMLMKTOP"; then
AC_CHECK_PROGS(OCAMLMKTOP, ocamlmktop, :)
AC_CHECK_PROGS(OCAMLMKTOP, ocamlmktop)
fi
AC_MSG_CHECKING(for Ocaml Pre-Processor-Pretty-Printer)
if test -z "$CAMLP4"; then
AC_CHECK_PROGS(CAMLP4, camlp4, :)
AC_CHECK_PROGS(CAMLP4, camlp4)
fi
fi # Disabling ocaml