From 652ef1da0370a758c5f41293f377fb5507fd5999 Mon Sep 17 00:00:00 2001 From: Hilko Bengen Date: Tue, 10 Mar 2020 17:23:15 +0100 Subject: [PATCH] Check for caml_alloc_initialized_string existence even if --disable-ocaml Gbp-Pq: Name Check-for-caml_alloc_initialized_string-existence-even-if.patch --- m4/guestfs-ocaml.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/m4/guestfs-ocaml.m4 b/m4/guestfs-ocaml.m4 index 1023baeb..60990691 100644 --- a/m4/guestfs-ocaml.m4 +++ b/m4/guestfs-ocaml.m4 @@ -161,8 +161,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 -- 2.30.2