From 069ef2445ddf4f8ab1392f8e559ef258b315e92d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 22 May 2018 19:18:19 +0300 Subject: Add configure option for enable/disable accepting password from command line. --- src/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Makefile.am') 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 -- cgit v1.2.3-70-g09d2