summaryrefslogtreecommitdiff
path: root/server/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'server/configure.in')
-rw-r--r--server/configure.in13
1 files changed, 5 insertions, 8 deletions
diff --git a/server/configure.in b/server/configure.in
index 013ea9a..9aad9f4 100644
--- a/server/configure.in
+++ b/server/configure.in
@@ -50,6 +50,11 @@ AC_ARG_WITH(db,
if test x$with_db == xno; then
AC_MSG_WARN([*** Building without db support!])
AC_DEFINE_UNQUOTED(WITHOUT_DB, , [The project is configured not to use the db])
+else
+ dnl ======================
+ dnl Check for libpqxx
+ dnl ======================
+ PKG_CHECK_MODULES(PQXX, libpqxx >= 2.6.8)
fi
AC_PROG_CXX
@@ -110,19 +115,11 @@ dnl Create the XML var i config.h
dnl ======================
AC_DEFINE_UNQUOTED(XML, "$MYPREFIX/share/xml", [The path to the xml files])
-
dnl ======================
dnl Check for getopt
dnl ======================
AC_HAVE_HEADERS(getopt.h)
-
-dnl ======================
-dnl Check for libpqxx
-dnl ======================
-PKG_CHECK_MODULES(PQXX, libpqxx >= 2.6.8)
-
-
dnl ======================
dnl Check for libconfig++
dnl ======================