diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-29 21:24:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-19 22:27:17 +0300 |
commit | a0366810ba246c5a84dd5e32af4a23dc799cc7f3 (patch) | |
tree | 51e76d12db31477b62e3ed82368ceee6c4ec5796 /src/Makefile.am | |
parent | 858d471f921c75d3963acff3dd3022b47c96f5dd (diff) | |
download | mv-a0366810ba246c5a84dd5e32af4a23dc799cc7f3.tar.gz mv-a0366810ba246c5a84dd5e32af4a23dc799cc7f3.tar.bz2 mv-a0366810ba246c5a84dd5e32af4a23dc799cc7f3.tar.xz mv-a0366810ba246c5a84dd5e32af4a23dc799cc7f3.zip |
Add configure flag --enable-libxml.
Supported values:
--enable-libxml=libxml
--enable-libxml=pugixml
default is libxml
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index a710feab7..88b8b768c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -13,6 +13,13 @@ manaplus_CXXFLAGS = -DPKG_DATADIR=\""$(pkgdatadir)/"\" \ -DLOCALEDIR=\""$(localedir)"\" \ -Wall +if ENABLE_PUGIXML +manaplus_CXXFLAGS += -DENABLE_PUGIXML +endif +if ENABLE_LIBXML +manaplus_CXXFLAGS += -DENABLE_LIBXML +endif + if ENABLE_PORTABLE dyecmd_CXXFLAGS += -DENABLE_PORTABLE manaplus_CXXFLAGS += -DENABLE_PORTABLE |