]> git.openstreetmap.org Git - nominatim.git/blobdiff - configure.ac
change scale in munin slowest response graph
[nominatim.git] / configure.ac
index c003a2c71e1116ec5a26213c3c149dc1ea7891a7..cc77d333ae4cb32b53f04b4cfe3f2f91e5ca0f00 100644 (file)
@@ -1,4 +1,7 @@
-AC_INIT(Nominatim,1.9.9)
+AC_INIT(Nominatim,2.4)
+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" 
@@ -40,7 +40,7 @@ fi
 
 
 dnl Check for PostgresSQL client library
-AX_LIB_POSTGRESQL(8.4)
+AX_LIB_POSTGRESQL(9.0)
 if test "x$POSTGRESQL_VERSION" = "x"
 then
     AC_MSG_ERROR([postgresql client library not found])