From bbd78f1be20c12b26593c62193e604e21701e2e4 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 5 Mar 2004 13:57:47 +0000 Subject: * configure.ac (LIBGCRYPT_CONFIG_SONAME_NUMBER): New. * libgcrypt.m4: Optionally check the SONAME number. * libgcrypt-config.in: Add option --soname-number --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 87d791c6..792d4381 100644 --- a/configure.ac +++ b/configure.ac @@ -80,6 +80,7 @@ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version of this package]) ########################## # Used by libgcrypt-config +LIBGCRYPT_CONFIG_SONAME_NUMBER=`expr $LIBGCRYPT_LT_CURRENT - $LIBGCRYPT_LT_AGE` LIBGCRYPT_CONFIG_LIBS="-lgcrypt" LIBGCRYPT_CONFIG_CFLAGS="" LIBGCRYPT_CONFIG_LIBS_PTHREAD="-lgcrypt-pthread" @@ -654,6 +655,7 @@ fi # GNUPG_FIX_HDR_VERSION([src/gcrypt.h], GCRYPT_VERSION) +AC_SUBST(LIBGCRYPT_CONFIG_SONAME_NUMBER) AC_SUBST(LIBGCRYPT_CONFIG_LIBS) AC_SUBST(LIBGCRYPT_CONFIG_CFLAGS) AC_SUBST(LIBGCRYPT_CONFIG_LIBS_PTHREAD) -- cgit v1.2.1