"Christopher G. Lewis" <[EMAIL PROTECTED]> writes:

> For some reason, a change that was made in log.c between 1.8 and 1.9
> has broken the ability to do a build without debug enabled.
> Basically, in config.h if you change ENABLE_DEBUG to 0, wget will no
> longer build.

That's not how it works, you're supposed to not #define ENABLE_DEBUG
in the first place (or #undef it), not #define it to 0.  If you
configure Wget with --disable-debug, this is done for you
automatically.

As far as I know, setting ENABLE_DEBUG to 0 has never been supported.
For me, setting ENABLE_DEBUG to 0 still builds, but you get a Wget
that has debugging support anyway.

> I'm wondering if it makes sense to even have the ability to create a
> non-debug build at this point.

It makes sense now as much as it did before -- there are people who
prefer their executables small, and since we have a macro for debug
prints anyway, the option comes with no additional price.

Reply via email to