]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_pjsip_dlg_options: Fix MODULEINFO section. 34/334/1
authorCorey Farrell <git@cfware.com>
Sat, 2 May 2015 07:15:15 +0000 (03:15 -0400)
committerCorey Farrell <git@cfware.com>
Sat, 2 May 2015 07:15:15 +0000 (03:15 -0400)
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

build_tools/get_moduleinfo
res/res_pjsip_dlg_options.c

index 4dbb2942fb021be4a541bc54149470a9fdc38295..e4e72bbc42e7434c53aa1c0e355fbb525520159c 100644 (file)
@@ -1,4 +1,4 @@
-/\/\*\*\* MODULEINFO/ {printit=1; next}
+/\/\*\*\* +MODULEINFO/ {printit=1; next}
 /<support_level>/ {if (gotsupportlevel) { next }; gotsupportlevel=1}
 /\*\*\*\// {printit=0}
 /.*/ {if (printit) print}
index 54c9f860fe9e71f6b7054717891b0bbd5a743ee5..564c51fbf484791d8fabd4f7346b33047e34347a 100644 (file)
@@ -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>