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.46.2-4+rpi1~1^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fc5dedf3b2aa7223e90a62ac28b9fdab60bcba60;p=libguestfs.git Check for caml_alloc_initialized_string existence even if --disable-ocaml Gbp-Pq: Name Check-for-caml_alloc_initialized_string-existence-even-if.patch --- diff --git a/m4/guestfs-ocaml.m4 b/m4/guestfs-ocaml.m4 index 9823c40b..ee978453 100644 --- a/m4/guestfs-ocaml.m4 +++ b/m4/guestfs-ocaml.m4 @@ -181,8 +181,7 @@ AM_CONDITIONAL([HAVE_OCAML_GETTEXT], [test "x$OCAML_PKG_gettext" != "xno" && test "x$OCAML_GETTEXT" != "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