X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz-config.in;h=e04767b8edcdd6d34e2c341861331f6825b59eda;hp=ad78247e630d87ef48fd7dd50591869c1b6621b9;hb=70db3b5fb3e8310c587dd8ba95866f1cadf69608;hpb=83178ddb2e40a3c9dbde8b7b3e6cf5e8918da990 diff --git a/yaz-config.in b/yaz-config.in index ad78247..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 @@ -133,7 +138,7 @@ else if test "$yazprefix" != "/usr"; then YAZLIB="-L$yazprefix/lib" fi - YAZLIB="$YAZLIB $lyaz $LIBS" + YAZLIB="$YAZLIB $lyaz ${SSL_LIBS} $LIBS" YAZLALIB=$YAZLIB if test "$yazprefix" != "/usr"; then YAZINC="-I$yazprefix/include $YAZINC"