libica/libica-2.1-version.patch

41 lines
1.0 KiB
Diff
Raw Normal View History

From 40d49d04da662c8ef27959fd50af51aa606e8046 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: [PATCH] use a new variable for tracking the API version
---
configure.in | 3 +++
src/Makefile.am | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/configure.in b/configure.in
index fc67245..663075f 100644
--- a/configure.in
+++ b/configure.in
@@ -3,6 +3,9 @@
AC_INIT(libica, 2.1.0, hd@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 f1873b3..5903f27 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 = -release $(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_des.c \
--
1.7.4.4