Nice-to-have fix for autogen.sh
Xiaofan Chen
xiaofanc at gmail.com
Wed Feb 1 08:02:05 EST 2012
On Wed, Feb 1, 2012 at 6:58 PM, Segher Boessenkool
>> Actually I also do not like to have the configure line
>> in autogen.sh.
>
> Me neither. Any other opinions?
>
>> ./configure --enable-maintainer-mode --enable-debug-log \
>> --enable-examples-build $*
>>
>> The line is not nice for release build since it enables verbose
>> debug log,
>
> Release builds should use the distributed ./configure, not
> autogen.sh .
My bad, I should have said "non-debug" build. Since that
is usually what I (and many others) use, I hate to run
"autogen.sh" and then
"./configure --enable-maintainer-mode --enable-examples-build".
>> it also does not work for cross-build.
> How so?
My bad again. I forgot that you can pass the
options to autogen.sh as well.
>> 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.
--
Xiaofan
More information about the libusbx
mailing list