mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:43:32 +03:00
configure: add option disable --libcurl output
This commit is contained in:
parent
e71ac0c6fa
commit
2b26eb9857
8 changed files with 106 additions and 41 deletions
|
|
@ -739,8 +739,14 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
config->ftp_ssl_ccc_mode = ftpcccmethod(config, nextarg);
|
||||
break;
|
||||
case 'z': /* --libcurl */
|
||||
#ifdef CURL_DISABLE_LIBCURL_OPTION
|
||||
warnf(config,
|
||||
"--libcurl option was disabled at build-time!\n");
|
||||
return PARAM_OPTION_UNKNOWN;
|
||||
#else
|
||||
GetStr(&config->libcurl, nextarg);
|
||||
break;
|
||||
#endif
|
||||
case '#': /* --raw */
|
||||
config->raw = toggle;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue