From 98b90925d863531c3a6c75de15fb686b1fb1891f Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 4 Aug 2008 10:31:45 +0000 Subject: Made server able to run (compile-time) without postgres and the uploadserver. Fixed problems in the exclusion of pentominos support. Fixed bug in db query field iteration. --- server/configure.in | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'server/configure.in') diff --git a/server/configure.in b/server/configure.in index 79a14e1..9d6b803 100644 --- a/server/configure.in +++ b/server/configure.in @@ -19,7 +19,7 @@ dnl ====================== dnl Compile without pentominos support dnl ====================== AC_ARG_WITH(pentominos, - [ --with-pentominos build without pentominos support (default=yes)], + [ --with-pentominos build with pentominos support (default=yes)], [], [with_pentominos=yes]) if test x$with_pentominos == xno; then @@ -27,6 +27,30 @@ if test x$with_pentominos == xno; then CXXFLAGS="$CXXFLAGS -DWITHOUT_PENTOMINOS" fi +dnl ====================== +dnl Compile without uploadserver support +dnl ====================== +AC_ARG_WITH(uploadserver, + [ --with-uploadserver build with uploadserver support (default=yes)], + [], + [with_uploadserver=yes]) +if test x$with_uploadserver == xno; then + AC_MSG_WARN([*** Building without uploadserver support!]) + CXXFLAGS="$CXXFLAGS -DWITHOUT_UPLOADSERVER" +fi + +dnl ====================== +dnl Compile without db support +dnl ====================== +AC_ARG_WITH(db, + [ --with-db build with db support (default=yes)], + [], + [with_db=yes]) +if test x$with_db == xno; then + AC_MSG_WARN([*** Building without db support!]) + CXXFLAGS="$CXXFLAGS -DWITHOUT_DB" +fi + AC_PROG_CXX AC_PROG_LIBTOOL -- cgit v1.2.3