cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: NSS and configure and pkg-config

From: Guenter <lists_at_gknw.net>
Date: Tue, 01 Sep 2009 02:51:40 +0200

Hi,
Guenter schrieb:
> will tomorrow give it a try with gnutls - but for NSS it looks already
> great!
configured with:
export PKG_CONFIG_PATH=/usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig
./configure --host=i686-pc-mingw32 \
--with-random=notused --with-zlib --enable-sspi --enable-ipv6
--disable-shared --without-ssl --with-gnutls

from config.log:
configure:26300: checking for pkg-config
configure:26319: found /usr/bin/pkg-config
configure:26332: result: /usr/bin/pkg-config
configure:26342: checking for gnutls options with pkg-config
configure:26350: result: found
configure:26404: checking for gnutls_check_version in -lgnutls
configure:26436: i686-pc-mingw32-gcc -o conftest.exe -g0 -O2
-Wno-system-headers -I/usr/i686-pc-mingw32/sys-root/mingw/include
-lgcrypt -lgpg-error -L/usr/i686-pc-mingw32/sys-root/mingw/lib
conftest.c -lgnutls -lssh2 -lwldap32 -lws2_32 -lz -lgnutls >&5
configure:26443: $? = 0
configure:26464: result: yes
configure:26488: detected GnuTLS version 2.8.1
configure:26495: Added /usr/i686-pc-mingw32/sys-root/mingw/lib to
LD_LIBRARY_PATH

and finally the binary:
wine curl.exe -V
curl 7.19.7-CVS (i686-pc-mingw32) libcurl/7.19.7-CVS GnuTLS/2.8.1
zlib/1.2.3 libidn/1.9 libssh2/1.0
Protocols: tftp ftp telnet dict ldap http file https ftps scp sftp
Features: IDN Largefile NTLM SSL SSPI libz

so works fine for gnutls too!
All we need now is a libssh2.pc file - seems we currently dont have
such, but would be useful since one needs to know if libssh2 is build
against either openssl, or libgcrypt ...

greetz, Gün.
Received on 2009-09-01