Nice-to-have fix for autogen.sh
Pete Batard
pete at akeo.ie
Wed Feb 1 08:47:52 EST 2012
On 2012.02.01 13:02, Xiaofan Chen wrote:
> I hate to run
> "autogen.sh" and then
> "./configure --enable-maintainer-mode --enable-examples-build".
I believe the following should work:
./autogen.sh --disable-debug-log
Last configure option should always have precedence, so it should
disable whatever was previously enabled.
>>> Probably it is good to leave out this line and that is
>>> usually the case for other projects.
>>
>> Do you have some examples?
>
> One example is OpenOCD where it is called
> bootstrap.
> http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd;a=blob_plain;f=bootstrap;hb=HEAD
>
> It goes on to suggest the configure command but
> not run the configure itself.
>
> echo "Bootstrap complete. Quick build instructions:"
> echo "./configure --enable-maintainer-mode ...."
>
> Of course there are other projects which go and
> run configure as well (e.g.: usbutils and urjtag).
>
> It is probably a personal preference. In any case,
> I would like to have at least "--enable-debug-log"
> removed from autogen.sh.
I will have to vote otherwise.
I very much want --enable-debug-log to stay (at least until we have
toggleable logging -- after that I don't really care).
I also suspect I am a more heavy user of the libusb(x) autogen.sh than
people who recompile openocd...
Besides, once we have libusbx releases, OpenOCD should probably use
those rather than git, so the use case seems a bit limited.
Regards,
/Pete
More information about the libusbx
mailing list