-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)
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])