summaryrefslogtreecommitdiff
path: root/main/config_options.c
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2017-03-30 10:51:14 -0400
committerCorey Farrell <git@cfware.com>2017-10-25 11:26:22 -0400
commit5553adb8ba602582203e4004a8c5e3c8e72a7f0a (patch)
treeead489a22a67bc7041884d2123f72f99af55ec23 /main/config_options.c
parent8b719a3e48a7dd95a9f5e80a2bcdde822f26bdb4 (diff)
Build System: Fix --disable-xmldoc option.
The configure option to disable XML documentation does not currently work. This patch makes it effective, but also causes an ABI change by removing the ast_xmldoc_* symbols. Disabling xmldoc also prevents docs from being automatically generated, but they can still be manually generated with 'make doc/core-en_US.xml'. ASTERISK-26639 Change-Id: Ifac562340c09f80c83e0203de098fcac93bf8c44
Diffstat (limited to 'main/config_options.c')
-rw-r--r--main/config_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config_options.c b/main/config_options.c
index 8eacbda35..3c0959ea3 100644
--- a/main/config_options.c
+++ b/main/config_options.c
@@ -80,7 +80,6 @@ struct aco_option {
#ifdef AST_XML_DOCS
static struct ao2_container *xmldocs;
-#endif /* AST_XML_DOCS */
/*! \brief Value of the aco_option_type enum as strings */
static char *aco_option_type_string[] = {
@@ -98,6 +97,7 @@ static char *aco_option_type_string[] = {
"Unsigned Integer", /* OPT_UINT_T, */
"Boolean", /* OPT_YESNO_T, */
};
+#endif /* AST_XML_DOCS */
void *aco_pending_config(struct aco_info *info)
{