X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=configure.ac;h=b8c60e91fbe6d758dba89beb85ee8ffe94e67c47;hb=f4847eec70966e766584345ee136d760be483815;hp=1683ba8ddad58fd7c46fa13c24ecda5fa691e61e;hpb=3fb33dbcd9e57622aa094a83ad8283c8f306286a;p=metaproxy-moved-to-github.git diff --git a/configure.ac b/configure.ac index 1683ba8..b8c60e9 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ # Autoconf and automake setup AC_PREREQ([2.60]) -AC_INIT([metaproxy],[1.0.19],[metaproxy-help@indexdata.dk]) +AC_INIT([metaproxy],[1.1.3],[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.3]) +YAZPP_INIT([threads],[1.2.1]) 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