aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBlaymoira <none@none>2008-12-31 16:14:42 +0100
committerBlaymoira <none@none>2008-12-31 16:14:42 +0100
commite94249cd456826c53a3915dc825634938fa2da3e (patch)
treee9644c7882faf8615843239382f5032aff4b76e6 /configure.ac
parent2a4ef556e4552209950fe1faf0b18e74842f4d9d (diff)
*Changed default settings
*Make configurable the short world sleep time on Linux - 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 21275cafdcb..691a9d0533d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -232,6 +232,22 @@ AC_ARG_ENABLE(lc,
])
AC_MSG_RESULT($TRINITYD_ENABLE_LC)
+# Enable short world sleep?
+AC_MSG_CHECKING(whether we use short world sleep)
+TRINITYD_ENABLE_SS=no
+AC_ARG_ENABLE(ss,
+[ --enable-ss Enable short world sleep],
+[
+ if test "$enableval" = "yes" ; then
+ CFLAGS="-DSHORT_SLEEP $CFLAGS"
+ CXXFLAGS="-DSHORT_SLEEP $CXXFLAGS"
+ TRINITYD_ENABLE_SS=yes
+ elif test "$withval" != "no" ; then
+ AC_MSG_ERROR(Please choose yes or no)
+ fi
+])
+AC_MSG_RESULT($TRINITYD_ENABLE_SS)
+
## Check for required header files.
AC_HEADER_STDC
AC_HEADER_DIRENT