configure: add option disable --libcurl output
This commit is contained in:
committed by
Daniel Stenberg
parent
e71ac0c6fa
commit
2b26eb9857
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user