[xmlsec] better openssl 1.0.x detection
- From: Aleksey Sanin <aleksey src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xmlsec] better openssl 1.0.x detection
- Date: Sun, 24 Mar 2013 21:13:54 +0000 (UTC)
commit 7580d408bb6c098bd71991d7172c89c0727560cd
Author: Aleksey Sanin <aleksey aleksey com>
Date: Sun Mar 24 14:13:04 2013 -0700
better openssl 1.0.x detection
configure.in | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.in b/configure.in
index 5e4855f..07e1da4 100644
--- a/configure.in
+++ b/configure.in
@@ -372,6 +372,12 @@ elif test "z$with_openssl" != "z" ; then
OPENSSL_FOUND="yes"
elif test "z$PKGCONFIG_FOUND" = "zyes" ; then
if test "z$OPENSSL_VERSION" = "z" ; then
+ PKG_CHECK_MODULES(OPENSSL, openssl >= 1.0.0,
+ [OPENSSL_VERSION="1.0.0"],
+ [OPENSSL_VERSION=""])
+ fi
+
+ if test "z$OPENSSL_VERSION" = "z" ; then
PKG_CHECK_MODULES(OPENSSL, openssl >= 0.9.8,
[OPENSSL_VERSION="0.9.8"],
[OPENSSL_VERSION=""])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]