Skip to contentSkip to conversation

Autoconf: add variable for pass arbitrary options to qemu upstream

PATCH RESEND Superseded Fabio Fantoni 2 participants 4 messages Mar 26, 2012 – Apr 3, 2012

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 Autoconf: add variable for pass arbitrary options to qemu upstream

Autoconf: add variable for pass arbitrary options to qemu upstream

Patch attached.

# HG changeset patch
# User Fabio Fantoni
# Date 1332248229 -3600
# Node ID c86e026b8fa205f5d6345924b830e98bad91870f
# Parent 4e1d091d10d83130842170cd61f1194e5459f2aa
autoconf: add variable for pass arbitrary options to qemu upstream

config/Tools.mk.in +1 -0
diff -r 4e1d091d10d8 -r c86e026b8fa2 config/Tools.mk.in
@@ -45,3 +45,4 @@
 CONFIG_GCRYPT       := @libgcrypt@
 CONFIG_EXT2FS       := @libext2fs@
 CURSES_LIBS         := @CURSES_LIBS@
+CONFIG_QEMUU_ADD_PAR:= @QEMUU_ADD_PAR@
tools/Makefile +1 -0
diff -r 4e1d091d10d8 -r c86e026b8fa2 tools/Makefile
@@ -156,6 +156,7 @@
 		--bindir=$(LIBEXEC) \
 		--disable-kvm \
 		--python=$(PYTHON) \
+		$(CONFIG_QEMUU_ADD_PAR) \
 		$(IOEMU_CONFIGURE_CROSS); \
 	$(MAKE) install
 
tools/configure +306 -281

1,805 lines not on this page · raw message

tools/configure.ac +1 -0
diff -r 4e1d091d10d8 -r c86e026b8fa2 tools/configure.ac
@@ -66,6 +66,7 @@
 AC_ARG_VAR([XML], [Path to xml2-config tool])
 AC_ARG_VAR([BASH], [Path to bash shell])
 AC_ARG_VAR([XGETTEXT], [Path to xgetttext tool])
+AC_ARG_VAR([QEMUU_ADD_PAR], [List of qemu upstream additionals build parameters])
 
 # Checks for programs.
 AC_PROG_SED

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 1 line · Fabio Fantoni

Autoconf: add variable for pass arbitrary options to qemu upstream

This change is incomplete as it lacks option passing for qemu traditional and tools build.
I have a more complete change which I will post, hopefully later today.

Olaf

author
#2 lore raw

Olaf Hering-2 wrote

Quoted 9 lines · Fabio Fantoni
Quoted 2 lines

Autoconf: add variable for pass arbitrary options to qemu upstream

This change is incomplete as it lacks option passing for qemu traditional and tools build.
I have a more complete change which I will post, hopefully later today.

Quoted 7 lines

Olaf

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

I see your patch: [PATCH] tools/configure: add options to pass EXTRA_CLFAGS Is different from my patch which adds parameters to qemu upstream configure (for example --enable-spice --enable-usb-redir --enable-debug ecc...)

--
View this message in context: http://xen.1045712.n5.nabble.com/PATCH-RESEND-Autoconf-add-variable-for-pass-arbitrary-options-to-qemu-upstream-tp5594506p5600470.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

author
#3 lore raw
In reply to Fabio Fantoni

I tried with multiple parameters but not work:
./configure QEMUU_ADD_PAR="--enable-spice --enable-usb-redir --enable-debug"
...
configure: WARNING: unrecognized options: --enable-usb-redir

What I must do for add variable with multiple parameters in autoconf? Thanks for any reply and sorry for bad english

--
View this message in context: http://xen.1045712.n5.nabble.com/PATCH-RESEND-Autoconf-add-variable-for-pass-arbitrary-options-to-qemu-upstream-tp5594506p5615170.html
Sent from the Xen - Dev mailing list archive at Nabble.com.