From a0366810ba246c5a84dd5e32af4a23dc799cc7f3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Nov 2015 21:24:28 +0300 Subject: Add configure flag --enable-libxml. Supported values: --enable-libxml=libxml --enable-libxml=pugixml default is libxml --- src/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/Makefile.am') 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 -- cgit v1.2.3-70-g09d2