add configure script for pgsql server libs

This used to be in osm2pgsql but now has magically disappeared.
This commit is contained in:
Sarah Hoffmann
2015-08-29 12:04:46 +02:00
parent 8375392f39
commit 5b1eca4c48
2 changed files with 127 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ AC_PREREQ(2.61)
AM_INIT_AUTOMAKE([1.9.6 dist-bzip2 std-options check-news])
dnl Additional macro definitions are in here
m4_include([m4/ax_lib_postgresql_svr.m4])
AC_CONFIG_MACRO_DIR([osm2pgsql/m4])
dnl Generate configuration header file
@@ -45,6 +46,7 @@ if test "x$POSTGRESQL_VERSION" = "x"
then
AC_MSG_ERROR([postgresql client library not found])
fi
AX_LIB_POSTGRESQL_SVR(9.0)
if test ! -f "$POSTGRESQL_PGXS"
then
AC_MSG_ERROR([postgresql server development library not found])