d6c48bed19
Fixes for bnc#880217 - systemd enabled OBS-URL: https://build.opensuse.org/request/show/238818 OBS-URL: https://build.opensuse.org/package/show/security/openCryptoki?expand=0&rev=17
39 lines
1.1 KiB
Diff
39 lines
1.1 KiB
Diff
From 2bca1b392214241f84065d7709681c029b43b444 Mon Sep 17 00:00:00 2001
|
|
From: Harald Freudenberger <freude@linux.vnet.ibm.com>
|
|
Date: Mon, 14 Apr 2014 11:48:56 -0500
|
|
Subject: [PATCH 3/6] Configure was checking for the ep11 lib and the m_init()
|
|
function. As this library will be dynamically loaded at
|
|
run time and there is no dependency at build time (but
|
|
build will break if ep11 lib is not available) removed
|
|
this check.
|
|
|
|
Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
|
|
---
|
|
configure.in | 9 ++-------
|
|
1 file changed, 2 insertions(+), 7 deletions(-)
|
|
|
|
diff --git a/configure.in b/configure.in
|
|
index ac41e84..1a1601c 100644
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -372,14 +372,9 @@ if test "x$with_zcrypt" != "xno"; then
|
|
])
|
|
|
|
if test "x$with_zcrypt" != "xno"; then
|
|
- AC_CHECK_LIB([ep11], [m_init],
|
|
- [with_zcrypt=yes], [
|
|
- if test "x$with_zcrypt" != "xcheck"; then
|
|
- AC_MSG_ERROR([Build with zcrypt requested but zcrypt libraries couldn't be found])
|
|
- fi
|
|
- with_zcrypt=no
|
|
- ])
|
|
+ with_zcrypt=no
|
|
fi
|
|
+
|
|
if test "x$with_zcrypt" = "xno"; then
|
|
CFLAGS="$old_cflags"
|
|
LIBS="$old_libs"
|
|
--
|
|
1.7.12.4
|
|
|