* configure.ac (GPGME_CONFIG_API_VERSION): New variable,
substitute it.
gpgme/
2004-05-21 Marcus Brinkmann <marcus@g10code.de>
* gpgme-config.in (Options): Support --api-version.
+2004-05-21 Marcus Brinkmann <marcus@g10code.de>
+
+ * configure.ac (GPGME_CONFIG_API_VERSION): New variable,
+ substitute it.
+
2004-04-29 Marcus Brinkmann <marcus@g10code.de>
Released 0.4.7.
# 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
##############################################
# 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)
2004-05-21 Marcus Brinkmann <marcus@g10code.de>
+ * gpgme-config.in (Options): Support --api-version.
+
* libgpgme.vers: List all gpgme symbols under version GPGME_1.0.
* decrypt.c (_gpgme_decrypt_status_handler): Fix last change.
[--prefix]
[--exec-prefix]
[--version]
+ [--api-version]
[--libs]
[--cflags]
EOF
echo "@VERSION@"
exit 0
;;
+ --api-version)
+ echo "@GPGME_CONFIG_API_VERSION@"
+ exit 0
+ ;;
--cflags)
if test "x$includedir" != "x/usr/include" -a "x$includedir" != "x/include"; then
output="$output -I$includedir"