build: No longer check for ocamldep -one-line and -all options

These were added to ocamldep in Jan 2012, over 10 years ago.  They
were not present in RHEL 6, but we don't care about that now.

(cherry picked from virt-v2v commit f6108bbd661d3e922d07b47f00daa901ab846e59)
This commit is contained in:
Richard W.M. Jones
2022-04-28 15:33:31 +01:00
parent 0956e8e0c5
commit 0a2d43988f
2 changed files with 1 additions and 21 deletions

View File

@@ -77,26 +77,6 @@ if test "x$OCAMLC" != "xno"; then
fi
AC_SUBST([OCAML_RUNTIME_VARIANT_PIC_OPTION])
dnl Check if ocamldep has options -all and -one-line (not present in RHEL 6).
AC_MSG_CHECKING([if ocamldep has the -all option])
if ocamldep -all >&AS_MESSAGE_LOG_FD 2>&1; then
AC_MSG_RESULT([yes])
OCAMLDEP_ALL="-all"
else
AC_MSG_RESULT([no])
OCAMLDEP_ALL=""
fi
AC_SUBST([OCAMLDEP_ALL])
AC_MSG_CHECKING([if ocamldep has the -one-line option])
if ocamldep -one-line >&AS_MESSAGE_LOG_FD 2>&1; then
AC_MSG_RESULT([yes])
OCAMLDEP_ONE_LINE="-one-line"
else
AC_MSG_RESULT([no])
OCAMLDEP_ONE_LINE=""
fi
AC_SUBST([OCAMLDEP_ONE_LINE])
have_Hivex_OPEN_UNSAFE=no
if test "x$enable_daemon" = "xyes"; then
OCAML_PKG_hivex=no