From: Hilko Bengen Date: Tue, 10 Mar 2020 16:23:15 +0000 (+0100) Subject: Check for caml_alloc_initialized_string existence even if --disable-ocaml X-Git-Tag: archive/raspbian/1%1.44.0-1+rpi1~2^2^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5ff71966467a6496686a348827fa7396e94cc49b;p=libguestfs.git Check for caml_alloc_initialized_string existence even if --disable-ocaml Gbp-Pq: Name 0016-Check-for-caml_alloc_initialized_string-existence-ev.patch --- diff --git a/m4/guestfs-ocaml.m4 b/m4/guestfs-ocaml.m4 index 18f95c22..bf07799a 100644 --- a/m4/guestfs-ocaml.m4 +++ b/m4/guestfs-ocaml.m4 @@ -214,8 +214,7 @@ AM_CONDITIONAL([HAVE_BYTES_COMPAT_ML], [test "x$have_Bytes_module" = "xno"]) dnl Check if OCaml has caml_alloc_initialized_string (added 2017). -AS_IF([test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno" && \ - test "x$enable_ocaml" = "xyes"],[ +AS_IF([test "x$OCAMLC" != "xno" && test "x$OCAMLFIND" != "xno"],[ AC_MSG_CHECKING([for caml_alloc_initialized_string]) cat >conftest.c <<'EOF' #include