Commit 364702a9 authored by Pino Toscano's avatar Pino Toscano

build: sync OCaml macros from libguestfs

Less old version, and work better with newer versions of autoconf.
Adapt to it:
- use the different variable names set by AC_CHECK_OCAML_PKG
- remove the comment about using ocamlfind, as it is what the new macros
  do already
Signed-off-by: Pino Toscano's avatarPino Toscano <>
parent b5484810
......@@ -82,11 +82,10 @@ if test "x$OCAMLFIND" = "x"; then
AC_MSG_ERROR([OCaml findlib is required])
dnl Use ocamlfind to find the required packages ...
dnl Check for required OCaml packages.
if test "x$pkg_unix" != "xyes"; then
if test "x$OCAML_PKG_unix" = "xno"; then
AC_MSG_ERROR([Cannot find required OCaml package 'unix'])
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment