asterisk/build_tools
Kevin P. Fleming 9ee8a74461 Remove "asterisk/version.h" in favor of "asterisk/ast_version.h".
A long time ago, in a land far far away, we added "asterisk/ast_version.h",
which provides the ast_get_version() and ast_get_version_num() functions. These
were added so that modules that needed the version information for the Asterisk
instance they were loaded in could actually get it (as opposed the version that
they were compiled against). We changed everything in the tree to use the
new mechanism (although later main/test.c was added using the old method).
However, the old mechanism was never removed, and as a result, new code is
still trying to use it.

This commit removes asterisk/version.h and replaces it with a header that
will generate a compile-time error if you try to use it (the error message
tells you which header you should use instead). It also removes the Makefile
and build_tools bits that generated the file, and it updates main/test.c to
use the 'proper' method of getting the Asterisk version information.

This is an API change and thus is being committed for trunk only, but it's
a fairly minor one and definitely improves the situation for out-of-tree
modules.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-01-25 21:31:28 +00:00
..
cflags-devmode.xml Merged revisions 338228 via svnmerge from 2011-09-28 20:55:42 +00:00
cflags.xml Merged revisions 338228 via svnmerge from 2011-09-28 20:55:42 +00:00
embed_modules.xml Change the internal name of the menuselect options that are used to control 2011-10-14 21:37:51 +00:00
get_documentation remove empty awk pattern (//) 2009-10-28 20:50:52 +00:00
get_makeopts Merged revisions 139909 via svnmerge from 2008-08-25 21:32:10 +00:00
get_moduleinfo Merged revisions 139909 via svnmerge from 2008-08-25 21:32:10 +00:00
make_build_h Merged revisions 260801 via svnmerge from 2010-05-04 15:49:57 +00:00
make_buildopts_h Fix a few build problems on Solaris (and check for an md5 utility in 2008-11-19 00:27:45 +00:00
make_defaults_h Add ASTSBINDIR to the list of configurable paths 2011-12-07 20:15:29 +00:00
make_linker_eo_script give embedded modules a helping hand by backing up and restoring their global variables when they are loaded and unloaded 2007-02-22 02:36:00 +00:00
make_linker_version_script Ensure that linker version scripts (used for symbol export control) always exist. 2010-04-08 16:35:10 +00:00
make_sample_voicemail Merged revisions 299907 via svnmerge from 2010-12-29 18:24:19 +00:00
make_version Whitespace chages. 2009-03-12 01:33:04 +00:00
make_version_c Merged revisions 234699 via svnmerge from 2009-12-14 21:13:18 +00:00
menuselect-deps.in Merged revisions 298960 via svnmerge from 2010-12-18 00:08:13 +00:00
mkpkgconfig Merged revisions 333203 via svnmerge from 2011-08-25 15:30:46 +00:00
prep_tarball Fix boo-boo in prep_tarball script. 2011-11-08 13:23:27 +00:00
sha1sum-sh Add an sha1sum-workalike for platforms which don't have it (like Mac OS X) 2010-05-18 22:49:13 +00:00