curl源码编译.

编程

下载 地址

https://curl.haxx.se/download.html

查看编译选项:

./configure --help

  Host setup:       x86_64-pc-linux-gnu

Install prefix: /opt/bin/curl770

Compiler: gcc

CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers -pthread

CPPFLAGS:

LDFLAGS:

LIBS: -lidn2 -lssl -lcrypto -lssl -lcrypto -lldap -llber -lz

 curl version:     7.70.0

SSL: enabled (OpenSSL)

SSH: no (--with-{libssh,libssh2})

zlib: enabled

brotli: no (--with-brotli)

GSS-API: no (--with-gssapi)

TLS-SRP: enabled

resolver: POSIX threaded

IPv6: enabled

Unix sockets: enabled

IDN: enabled (libidn2)

Build libcurl: Shared=yes, Static=yes

Built-in manual: enabled

--libcurl option: enabled (--disable-libcurl-option)

Verbose errors: enabled (--disable-verbose)

Code coverage: disabled

SSPI: no (--enable-sspi)

ca cert bundle: /etc/ssl/certs/ca-certificates.crt

ca cert path: no

ca fallback: no

LDAP: enabled (OpenLDAP)

LDAPS: enabled

RTSP: enabled

RTMP: no (--with-librtmp)

Metalink: no (--with-libmetalink)

PSL: no (libpsl not found)

Alt-svc: no (--enable-alt-svc)

HTTP2: disabled (--with-nghttp2)

HTTP3: disabled (--with-ngtcp2, --with-quiche)

ESNI: no (--enable-esni)

Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP

Features: SSL IPv6 UnixSockets libz AsynchDNS IDN NTLM NTLM_WB TLS-SRP HTTPS-proxy

以上是 curl源码编译. 的全部内容, 来源链接: utcz.com/z/517679.html

回到顶部