From: Christophe de Dinechin <dinechin@xxxxxxxxxx> Signed-off-by: Christophe de Dinechin <dinechin@xxxxxxxxxx> --- configure.ac | 8 ++++++++ spice-common | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 62acafc..caa289a 100644 --- a/configure.ac +++ b/configure.ac @@ -565,6 +565,14 @@ else SPICE_WARNING([No D-Bus support, desktop integration and USB redirection may not work properly]) fi +AC_ARG_ENABLE([alignment-checks], + AS_HELP_STRING([--enable-alignment-checks], + [Enable runtime checks for cast alignment @<:@default=no@:>@]), + [], + enable_alignment_checks="no") +AS_IF([test "x$enable_alignment_checks" = "xyes"], + [AC_DEFINE([SPICE_DEBUG_ALIGNMENT], 1, [Enable runtime checks for cast alignment])]) + SPICE_CHECK_LZ4 dnl =========================================================================== diff --git a/spice-common b/spice-common index 692d303..eaefe2d 160000 --- a/spice-common +++ b/spice-common @@ -1 +1 @@ -Subproject commit 692d303c8b1e2da7a47da713ad499f57ed5e6b5e +Subproject commit eaefe2d69f8f3a8ebaa29aeec59a759c42f60517 -- 2.11.0 (Apple Git-81) _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel