summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2017-10-31 06:37:19 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2017-10-31 06:37:19 -0500
commitcfca0022c7c869b278af11517a2c57a8b4d8ff87 (patch)
tree37f801b6ed1d23352e3633af459f4645fa27e606 /include
parent4c4622ef6410180f5468f6b499c4a2914cc4106e (diff)
parentddcf98c0d378feca24936d2bf9aa7dd9f24f87ff (diff)
Merge "Build System: Fix --disable-xmldoc option." into 15
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/autoconfig.h.in3
-rw-r--r--include/asterisk/xml.h5
2 files changed, 3 insertions, 5 deletions
diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in
index f85ad8d07..5865c0ad9 100644
--- a/include/asterisk/autoconfig.h.in
+++ b/include/asterisk/autoconfig.h.in
@@ -9,6 +9,9 @@
/* Define to 1 if internal poll should be used. */
#undef AST_POLL_COMPAT
+/* Define to enable XML documentation. */
+#undef AST_XML_DOCS
+
/* Define to 1 if your system's implementation of mutexes supports comparison
of a mutex to its initializer. */
#undef CAN_COMPARE_MUTEX_TO_INIT_VALUE
diff --git a/include/asterisk/xml.h b/include/asterisk/xml.h
index 063e8c0b3..ab7b630a2 100644
--- a/include/asterisk/xml.h
+++ b/include/asterisk/xml.h
@@ -246,10 +246,5 @@ struct ast_xml_node *ast_xml_xpath_get_first_result(struct ast_xml_xpath_results
*/
struct ast_xml_xpath_results *ast_xml_query(struct ast_xml_doc *doc, const char *xpath_str);
-/* Features using ast_xml_ */
-#ifdef HAVE_LIBXML2
-#define AST_XML_DOCS
-#endif
-
#endif /* _ASTERISK_XML_H */