On Thu, Aug 11, 2011 at 9:43 AM, Colin Walters walters@verbum.org wrote:
I'll work on a patch - I guess the RPM approach is more overrides rather than detecting things, so I'll go with adding an option.
Actually looking at this more, while waf does support the GNU autoconf options by loading gnu_dirs.py (and Samba does this), it actually doesn't support --disable-dependency-tracking. That bit lives in buildtools/wafsamba/wscript.
So I think it makes sense to patch samba's wscript to also support --disable-silent-rules for now.
It may make sense to also have an automake_compat.py in upstream waf which does something with the configure options shipped with Automake (which are currently dependency-tracking, maintainer-mode, multilib, and silent-rules)...and while we're in here an option to ignore unknown options =) I filed http://code.google.com/p/waf/issues/detail?id=1023