build: if no perl, fix to use the pre-built hugehelp, if present#18118
Closed
vszakats wants to merge 17 commits into
Closed
build: if no perl, fix to use the pre-built hugehelp, if present#18118vszakats wants to merge 17 commits into
vszakats wants to merge 17 commits into
Conversation
1 task
vszakats
marked this pull request as draft
July 31, 2025 18:45
vszakats
marked this pull request as ready for review
August 1, 2025 01:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cmake: Before this patch a missing perl disabled the curl manual.
After this patch, it automatically picks up a pre-built hugehelp,
if present (= when building from a release tarball).
Follow-up to 0035ff4 build: drop
tool_hugehelp.c.cvs, tidy up macros, dropbuildconf.bat#16081autotools: Rework behavior when perl is missing. Before this patch
it caused a hard error when docs/manual/ca-embed were enabled.
Of these, docs were enabled by default. After this patch, doc
generation is automatically skipped, with a warning. Manual generation
falls back to using a pre-built hugehelp, or a stub if that's missing.
CA-embed is automatically skipped, with a warning.
Slight difference from cmake: When built with no perl and no pre-built
hugehelp, the manual is enabled, but the content is empty; with cmake
it's disabled proper.
Follow-up to 137aecf configure: error on missing perl if docs or manual is enabled #13514
Follow-up to 5413215 configure: add --disable-docs flag #12857
Also:
--disable-docsno longer required to build without perl.Passing it also implicitly disables the curl manual, which is
undesired in these tests.
HAVE_MANUAL_TOOLSinterim variable.set()lines close to their counterparts.Follow-up to 25119fb #18104
w/o ws https://github.com/curl/curl/pull/18118/files?w=1
Tested OK in CI:
https://github.com/curl/curl/actions/runs/16671747516?pr=18118
also locally using 8 combinations (with autotools).