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
@@ -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
@@ -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
@@ -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
Fabio Fantoni writes ("[Xen-devel] Autoconf: add variable for pass arbitrary options to qemu upstream"):
tools/configure.ac line 69
Quoted 9 lines
Autoconf: add variable for pass arbitrary options to qemu upstream diff -r
4e1d091d10d8-rc86e026b8fa2tools/configure.actools/configure.ac +1
-0@@ -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])
Wouldn't this be better done with AC_ARG_ENABLE rather than some magic environment variable ?
Ian.
already done in past but change for your reply:
http://xen.1045712.n5.nabble.com/PATCH-v3-Added-optional-build-configs-for-qemu-upstream-td5544305.html
--
View this message in context: http://xen.1045712.n5.nabble.com/Autoconf-add-variable-for-pass-arbitrary-options-to-qemu-upstream-tp5580361p5615286.html
Sent from the Xen - Dev mailing list archive at Nabble.com.
Fantu writes ("Re: [Xen-devel] Autoconf: add variable for pass arbitrary options to qemu upstream"):
Quoted 2 lines
already done in past but change for your reply:
http://xen.1045712.n5.nabble.com/PATCH-v3-Added-optional-build-configs-for-qemu-upstream-td5544305.html
Your quoting of context is really deficient and makes it hard to see what you're talking about.
AFAICT this is a response to me saying:
] Wouldn't this be better done with AC_ARG_ENABLE rather than some magic ] environment variable ?
The earlier version you refer to introduced one corresponding AC_ARG_ENABLE for each upstream qemu configure script option.
I think the right thing to do is to have one single AC_ARG_ENABLE option that contains all the intended extra options for the qemu configure script.
Ian.
I posted new patch, may be okay now?
http://xen.1045712.n5.nabble.com/PATCH-v2-Autoconf-add-variable-for-pass-arbitrary-options-to-qemu-upstream-td5617799.html
--
View this message in context: http://xen.1045712.n5.nabble.com/Autoconf-add-variable-for-pass-arbitrary-options-to-qemu-upstream-tp5580361p5617989.html
Sent from the Xen - Dev mailing list archive at Nabble.com.