[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2] Autoconf: add variable for pass arbitrary options to qemu upstream



El 06/04/2012, a las 10:01, Fantu escribió:
> Roger Pau Monne wrote
>> 
>> You should use autoconf 2.67 to update the configure script.
>> 
>> [...]
>> 
>> Why don't you use AX_ARG_DEFAULT_DISABLE or AX_ARG_DEFAULT_ENABLE?
>> 
> On notebook I have Mint 12 and Precise, on testing server Wheezy, all with
> autoconf 2.68, I'll redo on other pc with old s.o.

Don't worry about the autoconf version, just send the patch without the 
autoconf output and clearly state in the commit message that the maintainer 
should rebuild the configure script to apply the change.

> About AX_ARG_DEFAULT_DISABLE or AX_ARG_DEFAULT_ENABLE do enable/disable and
> export it, I not export but use it for bash command, I must need
> AC_ARG_ENABLE or my mistake about?

You are basically doing the same thing that this macro does, and you are 
"exporting" it using AC_SUBST, so you can write the result to the config 
Makefile (Tools.mk). Instead of saving the whole parameter line you wish to 
pass to Qemu, just save the options chosen by the user (e.g: QEMUDEBUG := y) 
and generate the appropriate options to pass to Qemu from the tools Makefile.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.