diff options
Diffstat (limited to 'src/gpgme-config.in')
-rw-r--r-- | src/gpgme-config.in | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/gpgme-config.in b/src/gpgme-config.in index a4d152e1..56b98f88 100644 --- a/src/gpgme-config.in +++ b/src/gpgme-config.in @@ -9,8 +9,11 @@ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -prefix=@prefix@ -exec_prefix=@exec_prefix@ +prefix="@prefix@" +exec_prefix="@exec_prefix@" +version="@PACKAGE_VERSION@" +api_version="@GPGME_CONFIG_API_VERSION@" +my_host="@GPGME_CONFIG_HOST@" # Make sure that no weird locale setting messes up our sed regexps etc. LC_COLLATE=C @@ -96,15 +99,15 @@ while test $# -gt 0; do with_glib=yes ;; --version) - echo "@VERSION@" + echo "$version" exit 0 ;; --api-version) - echo "@GPGME_CONFIG_API_VERSION@" + echo "$api_version" exit 0 ;; --host) - echo "@GPGME_CONFIG_HOST@" + echo "$my_host" exit 0 ;; --cflags) |