curl-library
[PATCH] find libssh2 with pkg-config
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 1 Sep 2009 11:01:16 +0200 (CEST)
Received on 2009-09-01
Date: Tue, 1 Sep 2009 11:01:16 +0200 (CEST)
Hi
As I just made the libssh2 installtion install a pkg-config file, I thought
I'd also contribute a little fix for curl's configure to find libssh2 using
that pkg-config approach.
I didn't test this a lot so I'm starting off by mailing it here in the hope
that someone will find it interesting and try it and tell me how it works.
1) Apply to code
2) run ./buildconf
3) run ./configure --with-libssh2 and see it detect libssh2 properly
Possibly we should make it detect libssh2 even without the explicit option,
but...
-- / daniel.haxx.se
- TEXT/x-diff attachment: configure-libssh2-pkg-config.patch