X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=configure.ac;h=e66e6074711d7018509cb6bded37c2032fc513b9;hb=2adc2ffad5232fcd283a860a5626819982decb94;hp=1b0c736387fe0bb3172f4f0bfcc2a3c35627d8da;hpb=2193e252681c473b67dc0627284e9a2b9497960b;p=metaproxy-moved-to-github.git diff --git a/configure.ac b/configure.ac index 1b0c736..e66e607 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ # Autoconf and automake setup AC_PREREQ([2.60]) -AC_INIT([metaproxy],[1.0.22],[metaproxy-help@indexdata.dk]) +AC_INIT([metaproxy],[1.2.0],[metaproxy-help@indexdata.dk]) AC_CONFIG_HEADERS([src/config.hpp]) @@ -36,7 +36,7 @@ AC_CHECK_LIB([m],[main]) AC_CHECK_FUNCS([localtime_r]) ## YAZPP checks -YAZPP_INIT([threads],[1.1.4]) +YAZPP_INIT([threads],[1.2.3]) if test -z "$YAZPPLIB"; then AC_MSG_ERROR([YAZ++ development libraries missing]) fi @@ -53,9 +53,17 @@ fi AC_CHECK_HEADERS([sys/select.h sys/socket.h]) +if test -d ${srcdir}/.git; then + SHA1=`git show --pretty=format:%H|head -1` +else + SHA1=`head -1 ${srcdir}/ChangeLog|awk '{print $2}'` +fi +AC_DEFINE_UNQUOTED([VERSION_SHA1], "$SHA1", [SHA-1 from Git]) + AC_CONFIG_FILES([ Doxyfile Makefile + include/Makefile include/metaproxy/Makefile src/Makefile xml/Makefile xml/schema/Makefile