From da98d12637db106b87341560cc72ca6207b2d12f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Sep 2014 16:51:36 +0300 Subject: Add configure and cmake option to enable/disable compilation for tmwa/evol. Tmwa/evol by default enabled. --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 9f3e21731..dfbba60cf 100755 --- a/configure.ac +++ b/configure.ac @@ -287,6 +287,17 @@ esac],[with_eathena=false]) AM_CONDITIONAL(ENABLE_EATHENA, test x$with_eathena = xtrue) +# Enable tmwA +AC_ARG_ENABLE(tmwa, +[ --enable-tmwa Turn on tmwA support], +[case "${enableval}" in + yes) with_tmwa=true ;; + no) with_tmwa=false ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-tmwa) ;; +esac],[with_tmwa=true]) + +AM_CONDITIONAL(ENABLE_TMWA, test x$with_tmwa = xtrue) + # Enable checks AC_ARG_ENABLE(checks, [ --enable-checks Turn on internal checks (can be slow)], -- cgit v1.2.3-70-g09d2