summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-14 16:51:36 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-14 16:51:36 +0300
commitda98d12637db106b87341560cc72ca6207b2d12f (patch)
treec79f1c3389f38ec878fc2dfc4729839242e2e81c /configure.ac
parent8a616021cbefff5f62b0ca55cf535130c8c1b5f0 (diff)
downloadplus-da98d12637db106b87341560cc72ca6207b2d12f.tar.gz
plus-da98d12637db106b87341560cc72ca6207b2d12f.tar.bz2
plus-da98d12637db106b87341560cc72ca6207b2d12f.tar.xz
plus-da98d12637db106b87341560cc72ca6207b2d12f.zip
Add configure and cmake option to enable/disable compilation for tmwa/evol.
Tmwa/evol by default enabled.
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac11
1 files changed, 11 insertions, 0 deletions
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)],