Make OCaml configure output more consistent with other languages

This commit is contained in:
William S Fulton 2019-01-03 07:46:29 +00:00
commit 5be27fd69c

View file

@ -2040,7 +2040,7 @@ AC_SUBST(PHP)
AC_SUBST(PHPINC) AC_SUBST(PHPINC)
#---------------------------------------------------------------- #----------------------------------------------------------------
# Look for ocaml # Look for OCaml
#---------------------------------------------------------------- #----------------------------------------------------------------
AC_ARG_WITH(ocaml, AS_HELP_STRING([--without-ocaml], [Disable OCaml]), [with_ocaml="$withval"], [with_ocaml="$alllang_default"]) AC_ARG_WITH(ocaml, AS_HELP_STRING([--without-ocaml], [Disable OCaml]), [with_ocaml="$withval"], [with_ocaml="$alllang_default"])
@ -2055,31 +2055,31 @@ if test x"${with_ocaml}" = xno; then
AC_MSG_NOTICE([Disabling OCaml]) AC_MSG_NOTICE([Disabling OCaml])
OCAMLC= OCAMLC=
else else
AC_MSG_CHECKING(for Ocaml DL load generator) # OCaml DL load generator
if test -z "$OCAMLDLGEN"; then if test -z "$OCAMLDLGEN"; then
AC_CHECK_PROGS(OCAMLDLGEN, ocamldlgen) AC_CHECK_PROGS(OCAMLDLGEN, ocamldlgen)
fi fi
AC_MSG_CHECKING(for Ocaml package tool) # OCaml package tool
if test -z "$OCAMLFIND"; then if test -z "$OCAMLFIND"; then
AC_CHECK_PROGS(OCAMLFIND, ocamlfind) AC_CHECK_PROGS(OCAMLFIND, ocamlfind)
fi fi
AC_MSG_CHECKING(for Ocaml compiler) # OCaml compiler
if test -z "$OCAMLC"; then if test -z "$OCAMLC"; then
AC_CHECK_PROGS(OCAMLC, ocamlc) AC_CHECK_PROGS(OCAMLC, ocamlc)
fi fi
AC_MSG_CHECKING(for Ocaml toplevel creator) # OCaml toplevel creator
if test -z "$OCAMLMKTOP"; then if test -z "$OCAMLMKTOP"; then
AC_CHECK_PROGS(OCAMLMKTOP, ocamlmktop) AC_CHECK_PROGS(OCAMLMKTOP, ocamlmktop)
fi fi
AC_MSG_CHECKING(for Ocaml Pre-Processor-Pretty-Printer) # OCaml Pre-Processor-Pretty-Printer
if test -z "$CAMLP4"; then if test -z "$CAMLP4"; then
AC_CHECK_PROGS(CAMLP4, camlp4) AC_CHECK_PROGS(CAMLP4, camlp4)
fi fi
fi # Disabling ocaml fi
AC_SUBST(OCAMLC) AC_SUBST(OCAMLC)
AC_SUBST(OCAMLDLGEN) AC_SUBST(OCAMLDLGEN)