aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBlaymoira <none@none>2008-12-31 15:15:49 +0100
committerBlaymoira <none@none>2008-12-31 15:15:49 +0100
commita6619b4120355db0980e43c74c4e5aba354c615b (patch)
treed1d45b2214ec6847fe6df8bd7c251564a1570025 /configure.ac
parent6f0b9fe9444653455f336554aa1edb262a1e91b6 (diff)
*Added configurable options for large cells - by XTZGZoReX
--HG-- branch : trunk
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4a830706ddb..21275cafdcb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -216,6 +216,22 @@ AC_ARG_ENABLE(ra,
])
AC_MSG_RESULT($TRINITYD_ENABLE_RA)
+# Enable large cells?
+AC_MSG_CHECKING(whether we use large cells)
+TRINITYD_ENABLE_LC=no
+AC_ARG_ENABLE(lc,
+[ --enable-lc Enable large cells (more CPU usage)],
+[
+ if test "$enableval" = "yes" ; then
+ CFLAGS="-DLARGE_CELL $CFLAGS"
+ CXXFLAGS="-DLARGE_CELL $CXXFLAGS"
+ TRINITYD_ENABLE_LC=yes
+ elif test "$withval" != "no" ; then
+ AC_MSG_ERROR(Please choose yes or no)
+ fi
+])
+AC_MSG_RESULT($TRINITYD_ENABLE_LC)
+
## Check for required header files.
AC_HEADER_STDC
AC_HEADER_DIRENT