X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/80750c0a54fb0a376deb3c0aeaa0b3db55daa5cb..e591269fd8c357b922f2809d21f726a2469788b3:/configure.ac?ds=sidebyside diff --git a/configure.ac b/configure.ac index 38e7c7a1..a92bbeeb 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,7 @@ -AC_INIT(Nominatim,1.9.9) +AC_INIT(Nominatim,2.2) +if git rev-parse HEAD 2>/dev/null >/dev/null; then + AC_SUBST([PACKAGE_VERSION], [$PACKAGE_VERSION-git-`git rev-parse --short HEAD`]) +fi dnl Required autoconf version AC_PREREQ(2.61)