From: Adam Dickmeiss Date: Wed, 13 May 2009 07:21:41 +0000 (+0200) Subject: yaz-config -V shows version + SHA1 (Bug #2829) X-Git-Tag: v3.0.45.rhel53~1 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=d3bfd05c8ad9e4f9b6f58a9510778079eab446fc;hp=cf6e35300ec51e0bad1424aba7e83225fd168f8b yaz-config -V shows version + SHA1 (Bug #2829) --- diff --git a/yaz-config.in b/yaz-config.in index 117806a..e04767b 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() { @@ -50,6 +51,10 @@ while test $# -gt 0; do echo $yazprefix exit 0 ;; + -V) + echo "$YAZVERSION $VERSION_SHA1" + exit 0 + ;; --version) echo $YAZVERSION exit 0