Displaying 2 results from an estimated 2 matches for "54ad355cd".
2017 Nov 14
2
[PATCH v2] daemon: Use a configure-time test to find the best OCaml
v1 was here:
https://www.redhat.com/archives/libguestfs/2017-November/msg00068.html
v1 -> v2:
- Use a configure-time test.
Rich.
2017 Nov 14
0
[PATCH v2] daemon: Use a configure-time test to find the best OCaml runtime.
...++ b/daemon/Makefile.am
@@ -328,10 +328,8 @@ OCAMLFLAGS = $(OCAML_FLAGS) $(OCAML_WARN_ERROR)
if !HAVE_OCAMLOPT
OBJECTS = $(BOBJECTS)
-CAMLRUN = camlrun
else
OBJECTS = $(XOBJECTS)
-CAMLRUN = asmrun
endif
OCAML_LIBS = \
-lmlpcre \
diff --git a/m4/guestfs-ocaml.m4 b/m4/guestfs-ocaml.m4
index 54ad355cd..3f78d1fb3 100644
--- a/m4/guestfs-ocaml.m4
+++ b/m4/guestfs-ocaml.m4
@@ -85,6 +85,32 @@ if test "x$enable_daemon" = "xyes"; then
if test "x$OCAML_PKG_hivex" = "xno"; then
AC_MSG_ERROR([the OCaml module 'hivex' is required])
fi
+
+...