summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-22 19:18:19 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-22 19:18:19 +0300
commit069ef2445ddf4f8ab1392f8e559ef258b315e92d (patch)
tree0d9e19f68ff7b0cc721ed1addc080c9d10e11530 /src/Makefile.am
parent172afd4cd9e7284741904424f5e567564a218210 (diff)
downloadmanaverse-069ef2445ddf4f8ab1392f8e559ef258b315e92d.tar.gz
manaverse-069ef2445ddf4f8ab1392f8e559ef258b315e92d.tar.bz2
manaverse-069ef2445ddf4f8ab1392f8e559ef258b315e92d.tar.xz
manaverse-069ef2445ddf4f8ab1392f8e559ef258b315e92d.zip
Add configure option for enable/disable accepting password from command line.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a0a7328ce..a1d92c243 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -65,6 +65,10 @@ manaplus_CXXFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -D_LIBCPP_DEBUG=
dyecmd_CXXFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -D_LIBCPP_DEBUG=1
endif
+if ENABLE_COMMANDLINEPASSWORD
+manaplus_CXXFLAGS += -DENABLE_COMMANDLINEPASSWORD
+endif
+
if USE_X11
manaplus_CXXFLAGS += -DUSE_X11
dyecmd_CXXFLAGS += -DUSE_X11