Add missing module dependencies to various res_sip* modules
authorMatthew Jordan <mjordan@digium.com>
Fri, 26 Apr 2013 21:52:06 +0000 (21:52 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 26 Apr 2013 21:52:06 +0000 (21:52 +0000)
This patch updates the various res_sip modules with their proper menuselect
options and proper dependencies, such that Asterisk still has a snowball's
chance in hell of compiling without pjproject.

Much thanks to snuffy(-home|-work) for making everyone's life
easier with this patch.

Review: https://reviewboard.asterisk.org/r/2472/

(closes issue ASTERISK-21669)
Reported by: snuffy
patches:
  xml-depends.diff uploaded by snuffy (license 5024)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@386686 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 files changed:
res/res_sip_acl.c
res/res_sip_dtmf_info.c
res/res_sip_endpoint_identifier_constant.c
res/res_sip_endpoint_identifier_ip.c
res/res_sip_endpoint_identifier_user.c
res/res_sip_logger.c
res/res_sip_mwi.c
res/res_sip_nat.c
res/res_sip_outbound_authenticator_digest.c
res/res_sip_outbound_registration.c
res/res_sip_pubsub.c
res/res_sip_registrar.c
res/res_sip_rfc3326.c

index 405c3c1..07e4d76 100644 (file)
@@ -18,6 +18,7 @@
 
 /*** MODULEINFO
        <depend>pjproject</depend>
+       <depend>res_sip</depend>
        <support_level>core</support_level>
  ***/
 
index 453e57d..c8b03d5 100644 (file)
@@ -18,6 +18,8 @@
 
 /*** MODULEINFO
        <depend>pjproject</depend>
+       <depend>res_sip</depend>
+       <depend>res_sip_session</depend>
        <support_level>core</support_level>
  ***/
 
index e519a9e..212cca2 100644 (file)
@@ -20,6 +20,7 @@
 
 /*** MODULEINFO
        <depend>pjproject</depend>
+       <depend>res_sip</depend>
        <defaultenabled>no</defaultenabled>
        <support_level>core</support_level>
  ***/
index 49c70b5..e3630ad 100644 (file)
@@ -18,6 +18,7 @@
 
 /*** MODULEINFO
        <depend>pjproject</depend>
+       <depend>res_sip</depend>
        <support_level>core</support_level>
  ***/
 
index cd1f76b..86d3d3b 100644 (file)
@@ -18,6 +18,7 @@
 
 /*** MODULEINFO
        <depend>pjproject</depend>
+       <depend>res_sip</depend>
        <support_level>core</support_level>
  ***/
 
index da17198..663572e 100644 (file)
@@ -18,6 +18,7 @@
 
 /*** MODULEINFO
        <depend>pjproject</depend>
+       <depend>res_sip</depend>
        <support_level>core</support_level>
  ***/
 
index 7d62816..588662f 100644 (file)
  * at the top of the source tree.
  */
 
+/*** MODULEINFO
+       <depend>pjproject</depend>
+       <depend>res_sip</depend>
+       <support_level>core</support_level>
+ ***/
+
 #include "asterisk.h"
 
 #include <pjsip.h>
index 6c924af..02c60a1 100644 (file)
@@ -17,6 +17,8 @@
  */
 
 /*** MODULEINFO
+       <depend>pjproject</depend>
+       <depend>res_sip</depend>
        <support_level>core</support_level>
  ***/
 
index 180c05e..d4ce7d6 100644 (file)
  * at the top of the source tree.
  */
 
+/*** MODULEINFO
+       <depend>pjproject</depend>
+       <depend>res_sip</depend>
+       <support_level>core</support_level>
+ ***/
+
 #include "asterisk.h"
 
 #include <pjsip.h>
index 8f1108d..2ef92cd 100644 (file)
@@ -17,6 +17,8 @@
  */
 
 /*** MODULEINFO
+       <depend>pjproject</depend>
+       <depend>res_sip</depend>
        <support_level>core</support_level>
  ***/
 
index 2983d56..c8a76a6 100644 (file)
  * \brief Opaque structure representing an RFC 3265 SIP subscription
  */
 
+/*** MODULEINFO
+       <depend>pjproject</depend>
+       <depend>res_sip</depend>
+       <support_level>core</support_level>
+ ***/
+
 #include "asterisk.h"
 
 #include <pjsip.h>
index e5a2e88..0cc5821 100644 (file)
@@ -17,6 +17,8 @@
  */
 
 /*** MODULEINFO
+       <depend>pjproject</depend>
+       <depend>res_sip</depend>
        <support_level>core</support_level>
  ***/
 
index 1c9ec61..f6bb853 100644 (file)
@@ -18,6 +18,8 @@
 
 /*** MODULEINFO
        <depend>pjproject</depend>
+       <depend>res_sip</depend>
+       <depend>res_sip_session</depend>
        <support_level>core</support_level>
  ***/