[Libguestfs] [PATCH 01/27] build: Make OCaml compiler required for all builds.

Pino Toscano ptoscano at redhat.com
Tue Jul 18 16:13:11 UTC 2017


On Friday, 14 July 2017 15:39:09 CEST Richard W.M. Jones wrote:
> +dnl Check for <caml/unixsupport.h> header.
> +old_CPPFLAGS="$CPPFLAGS"
> +CPPFLAGS="$CPPFLAGS -I`$OCAMLC -where`"
> +AC_CHECK_HEADERS([caml/unixsupport.h],[],[],[#include <caml/mlvalues.h>])
> +CPPFLAGS="$old_CPPFLAGS"

The minimum version of OCaml is 3.11, and it seems to have this header
already; since at least patch #2 uses it unconditionally, I'd add a
patch after this to drop its search, and all the HAVE_CAML_UNIXSUPPORT_H
blocks all around.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170718/4da0ea3a/attachment.sig>


More information about the Libguestfs mailing list