To help combat problems where people build external modules (asterisk-addons or other...
commit9a665e1547e79f3683b4f7ecc8947d30f632908a
authorkpfleming <kpfleming@614ede4d-c843-0410-af14-a771ab80d22e>
Fri, 16 Nov 2007 16:47:46 +0000 (16 16:47 +0000)
committerkpfleming <kpfleming@614ede4d-c843-0410-af14-a771ab80d22e>
Fri, 16 Nov 2007 16:47:46 +0000 (16 16:47 +0000)
treeea35c041ff49971003f752a43dc0d78eb12afb7b
parent9b7c3a217287ce7de8b96ccf4abae6c72f815502
To help combat problems where people build external modules (asterisk-addons or others) and then change the build options of the Asterisk build in a way that makes the incompatible without warning, this commit introduces an MD5 signature of the important build-time options and includes that signature into modules when they are built. When the loader loads one of these modules and notices the problem, it will emit a warning to console and refuse to initialize the module, as doing so could cause the system to be unstable or even crash.

If you upgrade to this version of Asterisk, you must rebuild *all* of your modules that came from other sources before trying to run this version. If you are using Digium's G.729 binary codec module, you will need v33 or newer.

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89325 614ede4d-c843-0410-af14-a771ab80d22e
build_tools/make_buildopts_h
include/asterisk/module.h
main/loader.c