summaryrefslogtreecommitdiff
path: root/cpp/examples/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/examples/Makefile.am')
-rw-r--r--cpp/examples/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/examples/Makefile.am b/cpp/examples/Makefile.am
index 8de2137178..5415cae1a9 100644
--- a/cpp/examples/Makefile.am
+++ b/cpp/examples/Makefile.am
@@ -2,6 +2,9 @@ SUBDIRS = direct fanout pub-sub request-response
if HAVE_XML
SUBDIRS += xml-exchange
endif
+if !HAVE_XML
+ exclude_examples_regexp="xml" # Exclude XML examples.
+endif
MAKEDIST=.libs/Makefile
SUBMAKE=' for d in $(SUBDIRS) ; do $$(MAKE) -C $$$$d $$@ ; done'