~ubuntu-branches/ubuntu/precise/libgcrypt11/precise-security

« back to all changes in this revision

Viewing changes to .pc/12_lessdeps_libgcrypt-config.diff/src/libgcrypt-config.in

Tags: 1.5.0-1
* Merge multi-arch changes (1.4.6-6 and 1.4.6-7), drop libtool la file.
* Drop CFLAGS += -Wall again, it has become unnecessary.
* New upstream version.
* Bump shlibs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
 
# Copyright (C) 1999, 2002, 2003, 2004 Free Software Foundation, Inc.
 
2
# Copyright (C) 1999, 2002, 2003, 2004, 2011 Free Software Foundation, Inc.
3
3
#
4
4
# This file is free software; as a special exception the author gives
5
5
# unlimited permission to copy and/or distribute it, with or without
27
27
# API info
28
28
api_version="@LIBGCRYPT_CONFIG_API_VERSION@"
29
29
 
 
30
# Configured for host
 
31
my_host="@LIBGCRYPT_CONFIG_HOST@"
 
32
 
30
33
# Misc information.
31
34
symmetric_ciphers="@LIBGCRYPT_CIPHERS@"
32
35
asymmetric_ciphers="@LIBGCRYPT_PUBKEY_CIPHERS@"
40
43
echo_exec_prefix=no
41
44
echo_version=no
42
45
echo_api_version=no
 
46
echo_host=no
43
47
 
44
48
# Prints usage information.
45
49
usage()
54
58
        [--libs]
55
59
        [--cflags]
56
60
        [--algorithms]
 
61
        [--host]
57
62
EOF
58
63
    exit $1
59
64
}
106
111
        --algorithms)
107
112
            echo_algorithms=yes
108
113
            ;;
 
114
        --host)
 
115
            echo_host=yes
 
116
            ;;
109
117
        *)
110
118
            usage 1 1>&2
111
119
            ;;
170
178
    echo "$api_version"
171
179
fi
172
180
 
 
181
if test "$echo_host" = "yes"; then
 
182
    echo "$my_host"
 
183
fi
 
184
 
173
185
if test "$echo_algorithms" = "yes"; then
174
186
    echo "Symmetric cipher algorithms: $symmetric_ciphers"
175
187
    echo "Public-key cipher algorithms: $asymmetric_ciphers"