Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
2a6ea6d7
Commit
2a6ea6d7
authored
20 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
David Shaw added --protocols, and thus the --feature no longer mentions what
protocols that are disabled.
parent
f5e0ff21
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
curl-config.in
+29
-21
29 additions, 21 deletions
curl-config.in
with
29 additions
and
21 deletions
curl-config.in
+
29
−
21
View file @
2a6ea6d7
...
...
@@ -19,7 +19,8 @@ Available values for OPTION include:
--ca ca bundle install path
--cc compiler
--cflags pre-processor and compiler flags
--feature newline separated list of enabled features
--features newline separated list of enabled features
--protocols newline separated list of enabled protocols
--help display this help and exit
--libs library linking information
--prefix curl install prefix
...
...
@@ -56,7 +57,7 @@ while test $# -gt 0; do
echo
"
$prefix
"
;;
--feature
)
--feature
|
--features
)
if
test
"@USE_SSLEAY@"
=
"1"
;
then
echo
"SSL"
fi
...
...
@@ -69,32 +70,40 @@ while test $# -gt 0; do
if
test
"@HAVE_LIBZ@"
=
"1"
;
then
echo
"libz"
fi
if
test
"@
CURL_DISABLE_HTTP
@"
=
"1"
;
then
echo
"
HTTP-disabled
"
if
test
"@
HAVE_ARES
@"
=
"1"
;
then
echo
"
AsynchDNS
"
fi
if
test
"@CURL_DISABLE_FTP@"
=
"1"
;
then
echo
"FTP-disabled"
;;
--protocols
)
if
test
"@CURL_DISABLE_HTTP@"
!=
"1"
;
then
echo
"HTTP"
if
test
"@USE_SSLEAY@"
=
"1"
;
then
echo
"HTTPS"
fi
fi
if
test
"@CURL_DISABLE_GOPHER@"
=
"1"
;
then
echo
"GOPHER-disabled"
if
test
"@CURL_DISABLE_FTP@"
!=
"1"
;
then
echo
"FTP"
if
test
"@USE_SSLEAY@"
=
"1"
;
then
echo
"FTPS"
fi
fi
if
test
"@CURL_DISABLE_
FILE
@"
=
"1"
;
then
echo
"
FILE-disabled
"
if
test
"@CURL_DISABLE_
GOPHER
@"
!
=
"1"
;
then
echo
"
GOPHER
"
fi
if
test
"@CURL_DISABLE_
TELNET
@"
=
"1"
;
then
echo
"
TELNET-disabled
"
if
test
"@CURL_DISABLE_
FILE
@"
!
=
"1"
;
then
echo
"
FILE
"
fi
if
test
"@CURL_DISABLE_
LDAP
@"
=
"1"
;
then
echo
"
LDAP-disabled
"
if
test
"@CURL_DISABLE_
TELNET
@"
!
=
"1"
;
then
echo
"
TELNET
"
fi
if
test
"@CURL_DISABLE_
DICT
@"
=
"1"
;
then
echo
"
DICT-disabled
"
if
test
"@CURL_DISABLE_
LDAP
@"
!
=
"1"
;
then
echo
"
LDAP
"
fi
if
test
"@
HAVE_ARES
@"
=
"1"
;
then
echo
"
AsynchDNS
"
if
test
"@
CURL_DISABLE_DICT
@"
!
=
"1"
;
then
echo
"
DICT
"
fi
;;
--version
)
echo
libcurl @VERSION@
exit
0
...
...
@@ -123,8 +132,7 @@ while test $# -gt 0; do
*
)
echo
"unknown option:
$1
"
usage
exit
1
usage 1
;;
esac
shift
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment