Displaying 4 results from an estimated 4 matches for "27630d2bc".
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.
...recompile with -fPIC
This commit use a configure-time test to find the best OCaml runtime.
---
daemon/Makefile.am | 2 --
m4/guestfs-ocaml.m4 | 26 ++++++++++++++++++++++++++
2 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index af3184d3e..27630d2bc 100644
--- a/daemon/Makefile.am
+++ 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-oca...
2017 Nov 23
0
[PATCH 1/1] Switch from YAJL to Jansson
....*)
epel[0]="--run-command"
epel[1]="yum install -y --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
+ pkgs="$pkgs,jansson-devel"
;;
esac
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 27630d2bc..cc8154c88 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -201,7 +201,7 @@ guestfsd_LDADD = \
camldaemon.o \
$(ACL_LIBS) \
$(CAP_LIBS) \
- $(YAJL_LIBS) \
+ $(JANSSON_LIBS) \
$(SELINUX_LIBS) \
$(AUGEAS_LIBS) \
$(HIVEX_LIBS) \
@@ -239,7 +239,7 @@ guestfsd_CFLAGS = \
$(AUGEA...
2017 Nov 23
4
[PATCH 0/1] RFC: switch from YAJL to Jansson
Hi,
recently, there was a discussion in the development list of libvirt on
switching to a different JSON library than YAJL [1]. Since we use YAJL,
and the points there IMHO apply to libguestfs as well, I decided to give
a try in switching to Jansson [2].
The result IMHO is nice, with the additional APIs of Jansson that
simplify some of our code. Unlike with YAJL, I did not set a minimum