Conversation
- Change --enable-debug help text to say it is for developing curl.
- Warn when --enable-debug is used.
This change copies the help text and warning from cmake ENABLE_DEBUG.
Also, it shortens the "for debugging curl itself" to just say "for
debugging curl".
Now it looks like this:
--enable-debug Enable curl debug features (for developing
curl)
--disable-debug Disable curl debug features
Ref: curl#22481 (comment)
Reported-by: Viktor Szakats
Closes #xxxx
|
Thanks. A slightly related issue is that with autotools, this option also serves |
Traditionally, configure options are not used for simply adding CFLAGS options. You can just |
|
I wonder if it'd be better to rename this to |
That probably would break several deployed build pipelines in the world. |
For now both options could work with the |
Agreed, renaming an option is certainly possible, if there is a strong reason to do |
|
I think enable testing is a downgrade. It's been called debugging since the dawn of time. Why is that wrong now? |
The compilers have no debug configuration do they? They have -g, the debug symbols option. Is that really so commonly confused? |
Not the OP, but I've been personally confused by the semantics of |
|
We have literally billions of build combinations with both setups. Most build combinations are not tested. With either configure method. |
Right, but what we consider "important" ones, are. I find great value in |
|
I think a name change is unwarranted. The option needed clarification and this PR addresses that so I'm going to land it. |
Change --enable-debug help text to say it is for developing curl.
Warn when --enable-debug is used.
This change copies the help text and warning from cmake ENABLE_DEBUG. Also, it shortens the "for debugging curl itself" to just say "for debugging curl".
Now it looks like this:
Ref: #22481 (comment)
Reported-by: Viktor Szakats
Closes #xxxx