search for: have_bytes_compat_ml

Displaying 5 results from an estimated 5 matches for "have_bytes_compat_ml".

2019 Dec 12
1
[common PATCH] build: stop shipping files generated by configure
...ile.am +++ b/mlstdutils/Makefile.am @@ -19,9 +19,12 @@ include $(top_srcdir)/subdir-rules.mk EXTRA_DIST = \ $(SOURCES_MLI) \ - $(SOURCES_ML) \ + $(filter-out $(CONFIGURE_GENERATED_ML),$(SOURCES_ML)) \ std_utils_tests.ml +CONFIGURE_GENERATED_ML = \ + guestfs_config.ml + SOURCES_MLI = if HAVE_BYTES_COMPAT_ML @@ -41,7 +44,7 @@ SOURCES_ML += bytes.ml endif SOURCES_ML += \ - guestfs_config.ml \ + $(CONFIGURE_GENERATED_ML) \ stringMap.ml \ stringSet.ml \ std_utils.ml -- 2.23.0
2018 Feb 06
1
[PATCH v2] daemon: build also without Hivex.OPEN_UNSAFE (RHBZ#1493048)
...fi + dnl Check which OCaml runtime to link the daemon again. dnl We can't use AC_CHECK_LIB here unfortunately because dnl the other symbols are resolved by OCaml itself. @@ -182,6 +195,12 @@ AC_SUBST([OCAML_BYTES_COMPAT_CMO]) AC_SUBST([OCAML_BYTES_COMPAT_ML]) AM_CONDITIONAL([HAVE_BYTES_COMPAT_ML], [test "x$OCAML_BYTES_COMPAT_ML" != "x"]) +AS_IF([test "x$have_Hivex_OPEN_UNSAFE" = "xno"],[ + HIVEX_OPEN_UNSAFE_FLAG="None" +],[ + HIVEX_OPEN_UNSAFE_FLAG="Some Hivex.OPEN_UNSAFE" +]) +AC_SUBST([HIVEX_OPEN_UNSAFE_FLAG])...
2018 Jan 30
3
[PATCH] daemon: build also without Hivex.OPEN_UNSAFE (RHBZ#1493048)
...fi + dnl Check which OCaml runtime to link the daemon again. dnl We can't use AC_CHECK_LIB here unfortunately because dnl the other symbols are resolved by OCaml itself. @@ -182,6 +195,12 @@ AC_SUBST([OCAML_BYTES_COMPAT_CMO]) AC_SUBST([OCAML_BYTES_COMPAT_ML]) AM_CONDITIONAL([HAVE_BYTES_COMPAT_ML], [test "x$OCAML_BYTES_COMPAT_ML" != "x"]) +AS_IF([test "x$have_Hivex_OPEN_UNSAFE" = "xno"],[ + HIVEX_OPEN_UNSAFE_FLAG="" +],[ + HIVEX_OPEN_UNSAFE_FLAG=" Hivex.OPEN_UNSAFE " +]) +AC_SUBST([HIVEX_OPEN_UNSAFE_FLAG]) dnl Fla...
2017 Jul 24
1
[PATCH] common/mlstdutils: Fix parallel builds of bytes.ml.
...insertions(+), 2 deletions(-) diff --git a/common/mlstdutils/Makefile.am b/common/mlstdutils/Makefile.am index 968a03d..e569154 100644 --- a/common/mlstdutils/Makefile.am +++ b/common/mlstdutils/Makefile.am @@ -27,9 +27,14 @@ SOURCES_MLI = \ stringMap.mli \ stringSet.mli -SOURCES_ML = \ +if HAVE_BYTES_COMPAT_ML +SOURCES_ML = bytes.ml +else +SOURCES_ML = +endif + +SOURCES_ML += \ guestfs_config.ml \ - $(OCAML_BYTES_COMPAT_ML) \ libdir.ml \ stringMap.ml \ stringSet.ml \ diff --git a/m4/guestfs_ocaml.m4 b/m4/guestfs_ocaml.m4 index a7334cd..d0f3349 100644 --- a/m4/guestfs_ocaml.m4 +++ b/m4/guestfs_oca...
2017 Oct 04
11
[PATCH 0/9] build: Require OCaml >= 4.02.
Per my previous email: https://www.redhat.com/archives/libguestfs/2017-September/msg00203.html I'd like to talk about requiring a more modern version of the OCaml compiler. These commits show some of the code changes which would be possible with OCaml >= 3.12 [which it turns out we already require by accident] and also with OCaml >= 4.02. The latter is my favoured option. Rich.