X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=configure.ac;h=e66e6074711d7018509cb6bded37c2032fc513b9;hb=2adc2ffad5232fcd283a860a5626819982decb94;hp=e313485a3c387c20d7e3848d724d089b4d244366;hpb=fa00fb98e9c388425c63d64c1684fcda311a5ca6;p=metaproxy-moved-to-github.git diff --git a/configure.ac b/configure.ac index e313485..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.17],[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.3]) +YAZPP_INIT([threads],[1.2.3]) if test -z "$YAZPPLIB"; then AC_MSG_ERROR([YAZ++ development libraries missing]) fi @@ -53,11 +53,18 @@ 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 - src/Jamfile xml/Makefile xml/schema/Makefile xml/xslt/Makefile