Add the attribute "type" to each "<use>" for menuselect.

This matters only when autoconf fails to detect that weak linking is supported.
External optional dependencies will become optional in both cases, as they are
removed at compile time when not detected.  However, runtime-optional modules
are made mandatory when weak linking is not found.  This change affects only
the external optional dependencies; previously, they were incorrectly required
when weak linking support was not detected.

Patches:
	20110702__issue18062__asterisk_trunk.diff.txt by tilghman (License #5003)

Tested by: iasgoscouk


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@326411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2011-07-05 22:08:29 +00:00
parent 48e78804e2
commit d104b4e701
14 changed files with 19 additions and 19 deletions

View File

@@ -23,7 +23,7 @@
*/
/*** MODULEINFO
<use>crypto</use>
<use type="external">crypto</use>
***/
#include "asterisk.h"

View File

@@ -33,7 +33,7 @@
/*** MODULEINFO
<depend>speex</depend>
<depend>speex_preprocess</depend>
<use>speexdsp</use>
<use type="external">speexdsp</use>
***/
#include "asterisk.h"