X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/de46b621869b3cec48efdb6520ec29177f267869..e33928bbf031720bab699c8acfa401b3ced7c02b:/configure.ac?ds=sidebyside diff --git a/configure.ac b/configure.ac index c003a2c7..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) @@ -21,9 +24,6 @@ AC_PROG_CXX dnl pthread AX_PTHREAD([], [AC_MSG_ERROR([pthread library required])]) -dnl check for zlib library -AX_CHECK_ZLIB - dnl Check for Geos library AX_LIB_GEOS if test "x$GEOS_VERSION" = "x"