From 158915fafe286df69a68374032187ae283eb4ded Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 23 May 2008 14:55:39 +0000 Subject: Did a lot of work on the database class. --- server/configure.in | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'server/configure.in') diff --git a/server/configure.in b/server/configure.in index 8cfb673..01afcad 100644 --- a/server/configure.in +++ b/server/configure.in @@ -6,7 +6,7 @@ AM_INIT_AUTOMAKE( pracrod, 0.0.1 ) dnl ====================== dnl Compile with debug options dnl ====================== -AC_ARG_WITH(debug, [ --with-debug build with debug support]) +AC_ARG_WITH(debug, [ --with-debug build with debug support]) if test x$with_debug == xyes; then AC_MSG_WARN([*** Building with debug support!]) CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2 -fstack-protector -Wall -Werror -g -O0" @@ -36,7 +36,7 @@ dnl ====================== dnl Use efence in linking and includes dnl ====================== AC_ARG_ENABLE(efence, - [ --enable-efence enable efence - for debugging only (no)], + [ --enable-efence enable efence - for debugging only (no)], [], [ enable_efence=no]) if test "x$enable_efence" = xno; then enable_efence=no @@ -46,6 +46,20 @@ else AC_DEFINE_UNQUOTED(USE_EFENCE, , [Use the efence includes]) fi +dnl ====================== +dnl Use duma in linking and includes +dnl ====================== +AC_ARG_ENABLE(duma, + [ --enable-duma enable duma - for debugging only (no)], + [], [ enable_duma=no]) +if test "x$enable_duma" = xno; then + enable_duma=no +else + LD_EFENCE="-lduma" + AC_SUBST(LD_DUMA) + AC_DEFINE_UNQUOTED(USE_DUMA, , [Use the duma includes]) +fi + dnl ====================== dnl Check for lua dnl ====================== -- cgit v1.2.3