Nice-to-have fix for autogen.sh

Segher Boessenkool segher at kernel.crashing.org
Wed Feb 1 09:23:39 EST 2012


>>> Actually I also do not like to have the configure line
>>> in autogen.sh.
>>
>> Me neither. Any other opinions?
>
> Really?
>
> That's how all of the autogen.sh I know behave,

I asked Xiaofan for example projects that do not do it, so can
you give some examples of those that do?

> o autogen.sh is only used by maintainers - official distributions  
> would have a configure (and Makefile) ready to use, so no need for  
> autogen.

That is not an argument for either way.

> o maintainers have a fairly good idea of the options they want to  
> have by default during development (--enable-maintainer-mode,  
> debugging on, etc.) so they might as well enable them while  
> accepting extra configure options through the use of $*.

I don't know about you, but I do not usually want any of the options
that are enabled by default (except for maintainer mode some of the
time).

Btw, $* is wrong (should be "$@").

> o if you're going to be rebuilding a lot from a clean tree, it  
> saves time not to have to invoke 2 autogen and then configure.

If you're building a lot, you probably should run some ./build
anyway ;-)


Let's go with the principle of least surprise, so do what most
projects do (or the most authoritative ones).


Segher




More information about the libusbx mailing list