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

Re: [Xen-devel] [PATCH] autoconf: change AX_ARG_{DISABLE/ENABLE}_AND_EXPORT to make more sense



2012/3/15 Ian Campbell <Ian.Campbell@xxxxxxxxxx>:
> On Thu, 2012-03-15 at 11:19 +0000, Roger Pau Monnà wrote:
>> 2012/3/15 Olaf Hering <olaf@xxxxxxxxx>:
>> > On Thu, Feb 23, Roger Pau Monne wrote:
>> >
>> >> diff -r 64f5cd4aa2a2 -r 18fea25a3f0c tools/configure
>> >> --- a/tools/configure Tue Mar 13 17:30:50 2012 +0000
>> >> +++ b/tools/configure Thu Feb 23 06:45:51 2012 +0100
>> >> @@ -1371,7 +1371,7 @@ Optional Features:
>> >>  Â--disable-ocamltools  ÂDisable Ocaml tools
>> >>  Â--enable-miniterm    Enable miniterm
>> >>  Â--enable-lomount    ÂEnable lomount
>> >> - Â--disable-debug     Disable debug build of tools
>> >> + Â--disable-debug     Disable debug build of Xen and tools
>> >
>> > This was what actually confused me. I expected to see what the default
>> > is in the 'configure --help' output because I think thats what I have
>> > seen in the past from other projects. But I have to double check wether
>> > other projects really do it that way or if I just interpreted it that
>> > way.
>>
>> What we could actually do is provide both options, something like:
>>
>> --disable-debug     disable debug build of tools
>> --enable-debug     Âenable debug build of tools (default)
>>
>> What do you think about this?
>
> We should do whatever everyone else does or follow whatever guidelines
> autoconf make.
>
> http://www.delorie.com/gnu/docs/autoconf/autoconf_132.html seems to
> suggest that
>    Â--disable-deb  Âdisable debug build (default is YES)
> is the way to go.
>
>
> http://www.flameeyes.eu/autotools-mythbuster/autoconf/arguments.html
> appears to concur that you provide the help text for the option which is
> the opposite of the default (which makes sense to me). I don't know how
> authoritative that doc is though.

I've followed flameeyes guide, but I've realized that qemu provided
both options --enable-x and --disable-x. I'm going to add the (default
is X) to the help text, and I think that should be fine.

> Ian.
>
>

_______________________________________________
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®.