summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2015-05-02 03:15:15 -0400
committerCorey Farrell <git@cfware.com>2015-05-02 03:15:15 -0400
commit63196a825673a06f84df90314e48be5aa3f67d06 (patch)
treef62b5e518f86b60847192a208325fba85689a42b
parentec0f80b6e8d5f6952bdf48e8f19a024ebc64840e (diff)
res_pjsip_dlg_options: Fix MODULEINFO section.
Removed the extra space before "MODULEINFO" in res_pjsip_dlg_options. This extra space prevented any of the dependencies from being seen by menuselect, so building with default options would fail if PJSIP was not installed. This also makes the tool that extracts information for menuselect tolerant of multiple spaces in the future. ASTERISK-25033 #close Reported by: Peter Whisker Change-Id: Iccd54846f70c4a7a50cb5bf70b7bb5cb4bab3698
-rw-r--r--build_tools/get_moduleinfo2
-rw-r--r--res/res_pjsip_dlg_options.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/build_tools/get_moduleinfo b/build_tools/get_moduleinfo
index 4dbb2942f..e4e72bbc4 100644
--- a/build_tools/get_moduleinfo
+++ b/build_tools/get_moduleinfo
@@ -1,4 +1,4 @@
-/\/\*\*\* MODULEINFO/ {printit=1; next}
+/\/\*\*\* +MODULEINFO/ {printit=1; next}
/<support_level>/ {if (gotsupportlevel) { next }; gotsupportlevel=1}
/\*\*\*\// {printit=0}
/.*/ {if (printit) print}
diff --git a/res/res_pjsip_dlg_options.c b/res/res_pjsip_dlg_options.c
index 54c9f860f..564c51fbf 100644
--- a/res/res_pjsip_dlg_options.c
+++ b/res/res_pjsip_dlg_options.c
@@ -16,7 +16,7 @@
* at the top of the source tree.
*/
-/*** MODULEINFO
+/*** MODULEINFO
<depend>pjproject</depend>
<depend>res_pjsip</depend>
<depend>res_pjsip_session</depend>