aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2004-05-21 19:49:38 +0000
committerMarcus Brinkmann <[email protected]>2004-05-21 19:49:38 +0000
commitce8d1aed0855b92b14be1a6d9469ba46fda6d6a8 (patch)
tree9ac9e5ef9ee2a0598fac12cb43e855efb5bb7aa8 /configure.ac
parent2004-05-21 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-ce8d1aed0855b92b14be1a6d9469ba46fda6d6a8.tar.gz
gpgme-ce8d1aed0855b92b14be1a6d9469ba46fda6d6a8.zip
2004-05-21 Marcus Brinkmann <[email protected]>
* configure.ac (GPGME_CONFIG_API_VERSION): New variable, substitute it. gpgme/ 2004-05-21 Marcus Brinkmann <[email protected]> * gpgme-config.in (Options): Support --api-version.
Diffstat (limited to '')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2f887249..141e2305 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,10 @@ LIBGPGME_LT_CURRENT=13
# ABI break. [Note to self: Remove this comment with the next regular break.]
LIBGPGME_LT_AGE=2
LIBGPGME_LT_REVISION=2
+
+# If the API is changed in an incompatible way: increment the next counter.
+GPGME_CONFIG_API_VERSION=1
+
NEED_GPG_VERSION=1.2.2
NEED_GPGSM_VERSION=1.9.6
##############################################
@@ -309,6 +313,7 @@ GNUPG_FIX_HDR_VERSION(gpgme/gpgme.h, GPGME_VERSION)
# Substitution used for gpgme-config
GPGME_CONFIG_LIBS="-lgpgme"
GPGME_CONFIG_CFLAGS=""
+AC_SUBST(GPGME_CONFIG_API_VERSION)
AC_SUBST(GPGME_CONFIG_LIBS)
AC_SUBST(GPGME_CONFIG_CFLAGS)