mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:33:33 +03:00
configure: add --disable-docs flag
Building man pages from curldown sources now requires perl. Add a --disable-docs flag to configure to enable building and installing without documentation where perl is not available or man pages are not required. This is selected automatically (with a warning) when perl is not found by configure. Fixes #12832 Closes #12857
This commit is contained in:
parent
a84ad94dd6
commit
541321507e
3 changed files with 41 additions and 0 deletions
|
|
@ -45,7 +45,9 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \
|
|||
|
||||
bin_PROGRAMS = curl
|
||||
|
||||
if BUILD_DOCS
|
||||
SUBDIRS = ../docs
|
||||
endif
|
||||
|
||||
if USE_CPPFLAG_CURL_STATICLIB
|
||||
AM_CPPFLAGS += -DCURL_STATICLIB
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue