Autoconf: add variable for pass arbitrary options to qemu upstream
PATCH v3 1/1 Autoconf: add variable for pass arbitrary options to qemu upstream
# HG changeset patch
# User Fabio Fantoni
# Date 1334149338 -7200
# Node ID b3fcddfb22f269f725d2b81a6c0737bd38a7dd32
# Parent 02996f14cf9af9e3acddabd1a2fa566223dcd44a
autoconf: add variable for pass arbitrary options to qemu upstream v3
README mer apr 11 15:02:18 2012 +0200 renamed from README mer apr 11 14:26:12 2012 +0200 +5 -0
@@ -67,6 +67,11 @@ * Development install of Ocaml (e.g. ocaml-nox and ocaml-findlib). Required to build ocaml components which includes the alternative ocaml xenstored. + * Dev of spice protocol (e.g. libspice-protocol-dev >=0.10) + * Dev of spice server (e.g. libspice-server-dev >=0.10) + Required to build Spice for qemu upstream if enabled with configure + * Dev of usb redirection (e.g. libusbredir-dev). Required to build usb + redirection for qemu upstream if enabled with configure Second, you need to acquire a suitable kernel for use in domain 0. If possible you should use a kernel provided by your OS distributor. If
config/Tools.mk.in mer apr 11 15:02:18 2012 +0200 renamed from config/Tools.mk.in mer apr 11 14:26:12 2012 +0200 +1 -0
@@ -48,3 +48,4 @@ CONFIG_GCRYPT := @libgcrypt@ CONFIG_EXT2FS := @libext2fs@ CURSES_LIBS := @CURSES_LIBS@ +CONFIG_QEMUU_ADD_PAR:= @qemuu_add_par@
tools/Makefile mer apr 11 15:02:18 2012 +0200 renamed from tools/Makefile mer apr 11 14:26:12 2012 +0200 +1 -0
@@ -157,6 +157,7 @@ --datadir=$(SHAREDIR)/qemu-xen \ --disable-kvm \ --python=$(PYTHON) \ + $(CONFIG_QEMUU_ADD_PAR) \ $(IOEMU_CONFIGURE_CROSS); \ $(MAKE) install
tools/configure mer apr 11 15:02:18 2012 +0200 renamed from tools/configure mer apr 11 14:26:12 2012 +0200 +4 -0
@@ -649,6 +649,7 @@ APPEND_INCLUDES PREPEND_LIB PREPEND_INCLUDES +qemuu_add_par debug lomount miniterm
@@ -726,6 +727,9 @@ enable_miniterm enable_lomount enable_debug +enable_qemuu_spice +enable_qemuu_usbredir +enable_qemuu_debug ' ac_precious_vars='build_alias host_alias
@@ -1384,6 +1388,9 @@ --enable-miniterm Enable miniterm (default is DISABLED) --enable-lomount Enable lomount (default is DISABLED) --disable-debug Disable debug build of tools (default is
ENABLED)
+ --enable-qemuu-spice Enable Spice build on qemu upstream + --enable-qemuu-usbredir Enable usb redirection build on qemu upstream + --enable-qemuu-debug Enable debug build on qemu upstream
Some influential environment variables:
CC C compiler command
@@ -4133,6 +4140,22 @@
debug=$ax_cv_debug
+# Check whether --enable-qemuu-spice was given.
+if test "${enable_qemuu_spice+set}" = set; then :
+ enableval=$enable_qemuu_spice; qemuu_add_par+=" --enable-spice" +fi
+
+# Check whether --enable-qemuu-usbredir was given.
+if test "${enable_qemuu_usbredir+set}" = set; then :
+ enableval=$enable_qemuu_usbredir; qemuu_add_par+=" --enable-usb-redir" +fi
+
+# Check whether --enable-qemuu-debug was given.
+if test "${enable_qemuu_debug+set}" = set; then :
+ enableval=$enable_qemuu_debug; qemuu_add_par+=" --enable-debug" +fi
+
+
tools/configure.ac mer apr 11 15:02:18 2012 +0200 renamed from tools/configure.ac mer apr 11 14:26:12 2012 +0200 +10 -0
@@ -44,6 +44,16 @@ AX_ARG_DEFAULT_DISABLE([miniterm], [Enable miniterm]) AX_ARG_DEFAULT_DISABLE([lomount], [Enable lomount]) AX_ARG_DEFAULT_ENABLE([debug], [Disable debug build of tools]) +AC_ARG_ENABLE([qemuu-spice], +[ --enable-qemuu-spice Enable Spice build on qemu upstream], +[qemuu_add_par+=" --enable-spice"]) +AC_ARG_ENABLE([qemuu-usbredir], +[ --enable-qemuu-usbredir Enable usb redirection build on qemu upstream], +[qemuu_add_par+=" --enable-usb-redir"]) +AC_ARG_ENABLE([qemuu-debug], +[ --enable-qemuu-debug Enable debug build on qemu upstream], +[qemuu_add_par+=" --enable-debug"]) +AC_SUBST(qemuu_add_par) AC_ARG_VAR([PREPEND_INCLUDES], [List of include folders to prepend to CFLAGS (without -I)])
# HG changeset patch
# User Fabio Fantoni
# Date 1334149338 -7200
# Node ID b3fcddfb22f269f725d2b81a6c0737bd38a7dd32
# Parent 02996f14cf9af9e3acddabd1a2fa566223dcd44a
autoconf: add variable for pass arbitrary options to qemu upstream v3
README +5 -0
@@ -67,6 +67,11 @@ * Development install of Ocaml (e.g. ocaml-nox and ocaml-findlib). Required to build ocaml components which includes the alternative ocaml xenstored. + * Dev of spice protocol (e.g. libspice-protocol-dev >=0.10) + * Dev of spice server (e.g. libspice-server-dev >=0.10) + Required to build Spice for qemu upstream if enabled with configure + * Dev of usb redirection (e.g. libusbredir-dev). Required to build usb + redirection for qemu upstream if enabled with configure Second, you need to acquire a suitable kernel for use in domain 0. If possible you should use a kernel provided by your OS distributor. If
config/Tools.mk.in +1 -0
@@ -48,3 +48,4 @@ CONFIG_GCRYPT := @libgcrypt@ CONFIG_EXT2FS := @libext2fs@ CURSES_LIBS := @CURSES_LIBS@ +CONFIG_QEMUU_ADD_PAR:= @qemuu_add_par@
tools/Makefile +1 -0
@@ -157,6 +157,7 @@ --datadir=$(SHAREDIR)/qemu-xen \ --disable-kvm \ --python=$(PYTHON) \ + $(CONFIG_QEMUU_ADD_PAR) \ $(IOEMU_CONFIGURE_CROSS); \ $(MAKE) install
tools/configure +23 -0
@@ -649,6 +649,7 @@ APPEND_INCLUDES PREPEND_LIB PREPEND_INCLUDES +qemuu_add_par debug lomount miniterm
@@ -726,6 +727,9 @@ enable_miniterm enable_lomount enable_debug +enable_qemuu_spice +enable_qemuu_usbredir +enable_qemuu_debug ' ac_precious_vars='build_alias host_alias
@@ -1384,6 +1388,9 @@ --enable-miniterm Enable miniterm (default is DISABLED) --enable-lomount Enable lomount (default is DISABLED) --disable-debug Disable debug build of tools (default is ENABLED) + --enable-qemuu-spice Enable Spice build on qemu upstream + --enable-qemuu-usbredir Enable usb redirection build on qemu upstream + --enable-qemuu-debug Enable debug build on qemu upstream Some influential environment variables: CC C compiler command
@@ -4133,6 +4140,22 @@ debug=$ax_cv_debug +# Check whether --enable-qemuu-spice was given. +if test "${enable_qemuu_spice+set}" = set; then : + enableval=$enable_qemuu_spice; qemuu_add_par+=" --enable-spice" +fi + +# Check whether --enable-qemuu-usbredir was given. +if test "${enable_qemuu_usbredir+set}" = set; then : + enableval=$enable_qemuu_usbredir; qemuu_add_par+=" --enable-usb-redir" +fi + +# Check whether --enable-qemuu-debug was given. +if test "${enable_qemuu_debug+set}" = set; then : + enableval=$enable_qemuu_debug; qemuu_add_par+=" --enable-debug" +fi + +
tools/configure.ac +10 -0
@@ -44,6 +44,16 @@ AX_ARG_DEFAULT_DISABLE([miniterm], [Enable miniterm]) AX_ARG_DEFAULT_DISABLE([lomount], [Enable lomount]) AX_ARG_DEFAULT_ENABLE([debug], [Disable debug build of tools]) +AC_ARG_ENABLE([qemuu-spice], +[ --enable-qemuu-spice Enable Spice build on qemu upstream], +[qemuu_add_par+=" --enable-spice"]) +AC_ARG_ENABLE([qemuu-usbredir], +[ --enable-qemuu-usbredir Enable usb redirection build on qemu upstream], +[qemuu_add_par+=" --enable-usb-redir"]) +AC_ARG_ENABLE([qemuu-debug], +[ --enable-qemuu-debug Enable debug build on qemu upstream], +[qemuu_add_par+=" --enable-debug"]) +AC_SUBST(qemuu_add_par) AC_ARG_VAR([PREPEND_INCLUDES], [List of include folders to prepend to CFLAGS (without -I)])
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel