X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz-config.in;h=57886b6d34cafe29b6d8142d2aaad477f07c0d9d;hp=117806ae7c08b8a8c3ca5b8bafbb440e844de712;hb=8a980f7051e22ca1e4fac0395ed7f8647cd9eda3;hpb=ecc54f133ed87dee5854f87c771eaa75c2ab8fc7 diff --git a/yaz-config.in b/yaz-config.in index 117806a..57886b6 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -18,6 +18,7 @@ ICU_CPPFLAGS="@ICU_CPPFLAGS@" SSL_LIBS="@SSL_LIBS@" LIBS="@LIBS@" YAZVERSION=@VERSION@ +VERSION_SHA1=@VERSION_SHA1@ usage() { @@ -30,6 +31,7 @@ Options: [--lalibs] [--cflags] [--comp] + [-V] Libraries: threads icu server EOF @@ -50,6 +52,10 @@ while test $# -gt 0; do echo $yazprefix exit 0 ;; + -V) + echo "$YAZVERSION $VERSION_SHA1" + exit 0 + ;; --version) echo $YAZVERSION exit 0