summaryrefslogtreecommitdiff
path: root/src/libgcrypt-config.in
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-03-05 13:57:47 +0000
committerWerner Koch <wk@gnupg.org>2004-03-05 13:57:47 +0000
commitbbd78f1be20c12b26593c62193e604e21701e2e4 (patch)
tree3466bce80775560b03796f198d7d2e4c2584f80e /src/libgcrypt-config.in
parentb2eedf2f5e685c0f6d59f41a6a2052f7a12cd13d (diff)
downloadlibgcrypt-bbd78f1be20c12b26593c62193e604e21701e2e4.tar.gz
* configure.ac (LIBGCRYPT_CONFIG_SONAME_NUMBER): New.
* libgcrypt.m4: Optionally check the SONAME number. * libgcrypt-config.in: Add option --soname-number
Diffstat (limited to 'src/libgcrypt-config.in')
-rw-r--r--src/libgcrypt-config.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/libgcrypt-config.in b/src/libgcrypt-config.in
index a6b2e98d..8792f720 100644
--- a/src/libgcrypt-config.in
+++ b/src/libgcrypt-config.in
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2002, 2003, 2004 Free Software Foundation, Inc.
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
@@ -27,6 +27,9 @@ cflags="@LIBGCRYPT_CONFIG_CFLAGS@"
cflags_pthread="@LIBGCRYPT_CONFIG_CFLAGS_PTHREAD@"
cflags_pth="@LIBGCRYPT_CONFIG_CFLAGS_PTH@"
+# SONAME info
+soname_number="@LIBGCRYPT_CONFIG_SONAME_NUMBER@"
+
# Misc information.
symmetric_ciphers="@LIBGCRYPT_CIPHERS@"
asymmetric_ciphers="@LIBGCRYPT_PUBKEY_CIPHERS@"
@@ -40,6 +43,7 @@ echo_prefix=no
echo_algorithms=no
echo_exec_prefix=no
echo_version=no
+echo_soname_number=no
# Prints usage information.
usage()
@@ -51,6 +55,7 @@ Options:
[--prefix]
[--exec-prefix]
[--version]
+ [--soname-number]
[--libs]
[--cflags]
[--algorithms]
@@ -100,6 +105,9 @@ while test $# -gt 0; do
--version)
echo_version=yes
;;
+ --soname-number)
+ echo_soname_number=yes
+ ;;
--cflags)
echo_cflags=yes
;;
@@ -184,6 +192,10 @@ if test "$echo_version" = "yes"; then
echo "$version"
fi
+if test "$echo_soname_number" = "yes"; then
+ echo "$soname_number"
+fi
+
if test "$echo_algorithms" = "yes"; then
echo "Symmetric cipher algorithms: $symmetric_ciphers"
echo "Public-key cipher algorithms: $asymmetric_ciphers"