mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:23:33 +03:00
configure: if no perl, disable unity and shell completion, related tidy ups
Also: - GHA/linux, macos: test `install` with autotools too. - GHA/linux, macos: enable fish and zsh completion in an autotools job. - scripts: drop dynamic perl checks redundant after this patch. - scripts: drop two interim variables. - autotools: make `build-certs` target check perl first. - autotools: replace `$(PERL)` with `@PERL@` to match the pattern used in most automake scripts. For consistency. This makes `PERL` be defined at configure-time, as opposed to make-time, for these cases now. Closes #18141
This commit is contained in:
parent
c27a2db54f
commit
1644a49ab8
8 changed files with 45 additions and 36 deletions
|
|
@ -152,9 +152,9 @@ $(HUGE): $(ASCIIPAGE) $(MKHELP)
|
|||
echo '/* !checksrc! disable LONGLINE all */' >> $(HUGE); \
|
||||
echo '#include "tool_setup.h"' >> $(HUGE); \
|
||||
echo '#ifndef HAVE_LIBZ' >> $(HUGE); \
|
||||
$(PERL) $(MKHELP) < $(ASCIIPAGE) >> $(HUGE); \
|
||||
@PERL@ $(MKHELP) < $(ASCIIPAGE) >> $(HUGE); \
|
||||
echo '#else' >> $(HUGE); \
|
||||
$(PERL) $(MKHELP) -c < $(ASCIIPAGE) >> $(HUGE); \
|
||||
@PERL@ $(MKHELP) -c < $(ASCIIPAGE) >> $(HUGE); \
|
||||
echo '#endif /* HAVE_LIBZ */' >> $(HUGE) )
|
||||
else # HAVE_LIBZ
|
||||
# This generates the tool_hugehelp.c file uncompressed only
|
||||
|
|
@ -162,7 +162,7 @@ $(HUGE): $(ASCIIPAGE) $(MKHELP)
|
|||
$(HUGECMD)( \
|
||||
echo '/* !checksrc! disable COPYRIGHT all */' > $(HUGE); \
|
||||
echo '#include "tool_setup.h"' >> $(HUGE); \
|
||||
$(PERL) $(MKHELP) < $(ASCIIPAGE) >> $(HUGE) )
|
||||
@PERL@ $(MKHELP) < $(ASCIIPAGE) >> $(HUGE) )
|
||||
endif
|
||||
else # PERL
|
||||
$(HUGE):
|
||||
|
|
@ -196,7 +196,7 @@ if CURL_CA_EMBED_SET
|
|||
curl_CPPFLAGS += -DCURL_CA_EMBED
|
||||
MK_FILE_EMBED = $(top_srcdir)/src/mk-file-embed.pl
|
||||
$(CA_EMBED_CSOURCE): $(MK_FILE_EMBED) $(CURL_CA_EMBED)
|
||||
$(PERL) $(MK_FILE_EMBED) --var curl_ca_embed < $(CURL_CA_EMBED) > $(CA_EMBED_CSOURCE)
|
||||
@PERL@ $(MK_FILE_EMBED) --var curl_ca_embed < $(CURL_CA_EMBED) > $(CA_EMBED_CSOURCE)
|
||||
else
|
||||
$(CA_EMBED_CSOURCE):
|
||||
echo '/* !checksrc! disable COPYRIGHT all */' > $(CA_EMBED_CSOURCE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue