How to make INSTALLS_DEPENDS?

Joerg Sonnenberger joerg at britannica.bec.de
Tue Apr 5 00:13:14 PDT 2005


On Tue, Apr 05, 2005 at 11:17:10AM +0900, YONETANI Tomokazu wrote:
> What's affected in make command is at the tail of the function
> MainParseArgs(). When it sees a flag in the "rest of the arguments",
> it sets optind to 0 and re-enter the getopt() loop. After that commit,
> setting optind to 0 is no different than setting it to 1 because getopt()
> sets it to 1 anyway.

Good goddess, WTF ?! That's the most stupid abuse of getopt I've ever seen.
I'll think about a correct fix for this.

Joerg





More information about the Users mailing list