必要そうなライブラリを mingw-get でインストールする 以下のものはソースからインストールする yaml openssl fbopenssl curl
./configure --enable-static --disable-shared CFLAGS=-DYAML_DECLARE_STATIC make make install
sh ./config no-shared make make test make install_sw
make pushd test/makespnego make ./test.pl popd pushd test/parsespnego make ./test.pl popd
./configure --disable-shared --enable-FEATURE=yes --with-PACKAGE=yes --with-zlib=/usr/lib --with-ssl=/usr/local/ssl --with-gssapi --with-spnego=/usr/local/lib --enable-ipv6↓以下のようなオプションでコンパイルするよ!って表示されます.
curl version: 7.33.0
Host setup: i686-pc-mingw32
Install prefix: /usr/local
Compiler: gcc
SSL support: enabled (OpenSSL)
SSH support: no (--with-libssh2)
zlib support: enabled
GSSAPI support: no (--with-gssapi)
SPNEGO support: enabled
TLS-SRP support: enabled
resolver: default (--enable-ares / --enable-threaded-resolver)
ipv6 support: enabled
IDN support: no (--with-{libidn,winidn})
Build libcurl: Shared=no, Static=yes
Built-in manual: no (--enable-manual)
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
SSPI support: no (--enable-sspi)
ca cert bundle: no
ca cert path: no
LDAP support: enabled (winldap)
LDAPS support: enabled
RTSP support: enabled
RTMP support: no (--with-librtmp)
metalink support: no (--with-libmetalink)
HTTP2 support: disabled (--with-nghttp2)
Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS P
OP3 POP3S RTSP SMTP SMTPS TELNET TFTPmake make install