From e388de9cf524977c36b523e31ad9d75816207ff5 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 29 Jul 2008 12:52:50 +0000 Subject: Added configure option to remove pentominos support. --- server/configure.in | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'server/configure.in') diff --git a/server/configure.in b/server/configure.in index 624df8e..79a14e1 100644 --- a/server/configure.in +++ b/server/configure.in @@ -6,12 +6,27 @@ 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 (default=no)], + [with_debug=yes], + [with_debug=no]) 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" fi +dnl ====================== +dnl Compile without pentominos support +dnl ====================== +AC_ARG_WITH(pentominos, + [ --with-pentominos build without pentominos support (default=yes)], + [], + [with_pentominos=yes]) +if test x$with_pentominos == xno; then + AC_MSG_WARN([*** Building without pentominos support!]) + CXXFLAGS="$CXXFLAGS -DWITHOUT_PENTOMINOS" +fi + AC_PROG_CXX AC_PROG_LIBTOOL -- cgit v1.2.3