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