41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
|
From 3edb86b1057f98bb70017f7998532c62e60ead12 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
|
||
|
Date: Mon, 4 Jul 2011 17:19:28 +0200
|
||
|
Subject: [libica PATCH] use a new variable for tracking the API version
|
||
|
|
||
|
---
|
||
|
configure.in | 3 +++
|
||
|
src/Makefile.am | 2 +-
|
||
|
2 files changed, 4 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/configure.in b/configure.in
|
||
|
index 241ab0d..caa17bc 100644
|
||
|
--- a/configure.in
|
||
|
+++ b/configure.in
|
||
|
@@ -3,6 +3,9 @@
|
||
|
|
||
|
AC_INIT(libica, 2.4.0, ingo.tuchscherer@linux.vnet.ibm.com)
|
||
|
|
||
|
+LIBICA_API=2.0
|
||
|
+AC_SUBST(LIBICA_API)
|
||
|
+
|
||
|
cmdline_CFLAGS="$CFLAGS"
|
||
|
|
||
|
# Compute $target
|
||
|
diff --git a/src/Makefile.am b/src/Makefile.am
|
||
|
index 98fe2e8..df4ee1b 100644
|
||
|
--- a/src/Makefile.am
|
||
|
+++ b/src/Makefile.am
|
||
|
@@ -2,7 +2,7 @@ INCLUDES = -I ./include -I ../include
|
||
|
|
||
|
lib_LTLIBRARIES = libica.la
|
||
|
|
||
|
-libica_la_LDFLAGS = -version-number 2:4:0 $(PACKAGE_VERSION) -lrt -lcrypto
|
||
|
+libica_la_LDFLAGS = -release $(LIBICA_API) -lrt -lcrypto
|
||
|
|
||
|
libica_la_SOURCES = icalinux.c ica_api.c init.c icastats_shared.c \
|
||
|
s390_rsa.c s390_crypto.c s390_common.c s390_des.c \
|
||
|
--
|
||
|
1.9.3
|
||
|
|