diff --git a/configure.ac b/configure.ac
index e56a55a..9593063 100644
|
a
|
b
|
dnl----
|
| 144 | 144 | dnl |
| 145 | 145 | AC_PROG_MKDIR_P |
| 146 | 146 | AC_PROG_INSTALL |
| | 147 | AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes) |
| | 148 | AS_IF([test "x$HAVE_PKG_CONFIG" = "x"], |
| | 149 | [AC_MSG_ERROR([you need pkg-config])]) |
| 147 | 150 | |
| 148 | 151 | # Check for a supported database program |
| 149 | | AC_PATH_PROG([SQLITE], [sqlite3]) |
| 150 | | AC_PATH_PROG([POSTGRES], [postgres]) |
| 151 | | AS_IF([test "x$SQLITE" = x -a "x$POSTGRES" = "x"], |
| 152 | | [AC_MSG_ERROR([SQLite or PostgreSQL is required])]) |
| | 152 | PKG_CHECK_EXISTS([sqlite3], HAVE_SQLITE3="yes") |
| | 153 | PKG_CHECK_EXISTS([pq], HAVE_PQ="yes") |
| 153 | 154 | |
| | 155 | AS_IF([test "x$HAVE_SQLITE3" = "x" -a "x$HAVE_PQ" = "x"], |
| | 156 | [AC_MSG_ERROR([SQLite or PostgreSQL is required])]) |
| 154 | 157 | |
| 155 | 158 | dnl--PC_PYTHON_SITE_PACKAGE_DIR--------------------------------------- |
| 156 | 159 | dnl This uses PYTHON_SITE_DIR to construct a directory for this |