www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: [libssh2] [PATCH] configure detecting OpenSSL with pkg-config

[libssh2] [PATCH] configure detecting OpenSSL with pkg-config

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 11 Nov 2006 10:48:10 +0100 (CET)


The configure script uses pkg-config wrongly and thus builds a weird CFLAGS
for the OpenSSL include path. This patch cures the problem for me and I
believe it is the better way to use pkg-config for this purpose:

diff -u -r1.26 configure.in
--- configure.in 22 Jun 2006 18:50:26 -0000 1.26
+++ configure.in 11 Nov 2006 09:46:13 -0000
@@ -85,7 +85,7 @@
    OPENSSL_LIBLINE=`$PKG_CONFIG --libs openssl`
- OPENSSL_INCLINE=`$PKG_CONFIG --variable=includedir openssl`
+ OPENSSL_INCLINE=`$PKG_CONFIG --cflags-only-I openssl`
    AC_MSG_RESULT([Using paths from pkg-config])

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
libssh2-devel mailing list
Received on 2006-11-11

the libssh2 team