diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-14 16:51:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-14 16:51:36 +0300 |
commit | da98d12637db106b87341560cc72ca6207b2d12f (patch) | |
tree | c79f1c3389f38ec878fc2dfc4729839242e2e81c /configure.ac | |
parent | 8a616021cbefff5f62b0ca55cf535130c8c1b5f0 (diff) | |
download | plus-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-x | configure.ac | 11 |
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)], |