aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
AgeCommit message (Collapse)AuthorFilesLines
2007-11-20bring back compile-option checking when loading modules, only this time use ↵kpfleming1-0/+12
a string-based storage and comparison mechanism because it is easier to support on other platforms git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89461 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16Temporarily revert revision 89325, which added md5 magic for keeping track ofrussell1-3/+0
what build options were used. We agreed that we should remove this before making a 1.4 release, and then we can put it back in. Then, we can take a month or so to play around with it to get it how we want it. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89339 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16To help combat problems where people build external modules (asterisk-addons ↵kpfleming1-0/+3
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 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-02* Don't build the menuselect-tree for the tarball, as it requires running therussell1-2/+0
configure script first * Change the Makefile to note that menuselect-tree depends on the configure script. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84474 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-24In the source, keys are relative to the datadir, not varlib (which is the sametilghman1-1/+1
in most cases, but it's good to be accurate). Closes issue #10811 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83695 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14Add checking for libusb here, so nobody has to deal with conflicts in therussell1-0/+1
chan_usbradio-1.4 branch every time the configure script gets changed git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@82385 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22Fix a few build issues in Solaris (and likely others).qwell5-11/+7
Use GREP and ID variables from autoconf. Reported to me in #asterisk-dev I forgot who reported this - sorry. :( git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@80330 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22Fix a bashism (we explicitly request /bin/sh).qwell1-4/+14
Remove some oddly placed quotes I found in passing. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@80302 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-31DETECT_DEADLOCKS can't be enabled without DEBUG_THREADS or it does nothingkpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77827 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-26AST_DEVMODE was defined in trunk, but not in 1.4. When Asterisk is compiledrussell1-0/+4
under dev mode, AST_DEVMODE will get defined in buildopts.h. Change 1.4 to define it in the same way that trunk does. Also, revert the change that added this define in the Makefile The advantage to doing it this way is that buildopts.h gets installed when you install Asterisk. Then, when building any out of tree modules, or building asterisk-addons, these modules know which options the rest of Asterisk was built with. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77410 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-24Include the menuselect-tree file in tarballs to make builds from tarballs arussell1-0/+2
little bit faster git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@71371 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18To prevent 92138749238754 more reports of "I have unixodbc installed, butrussell1-0/+1
still can't build *_odbc.so!", check for ltdl directly, instead of just listing it as another library to include in the unixodbc check in the configure script. This also makes ltdl show up as a dependency in menuselect so people know what to go install. (related to issue #9989, patch by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69702 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18Change the use of "echo -e" to "printf". On systems where /bin/sh is not bash,russell1-4/+4
most of the lines in menuselect-tree were getting a "-e" at the beginning of every line. I'm surprised nobody noticed this, but I think the XML parser was being very nice and ignoring them. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69689 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22when building a version string for a developer branch, include the base ↵kpfleming1-1/+3
branch in the version string git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65541 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-16Making these documentation changes in the 1.4 branch upset various people, sorussell2-7/+1
these chanes will only be done in the trunk. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58955 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-16Add the --pdf option to the usage of rubber in prep_tarballrussell1-3/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58953 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Add configure script checking for GTK2 and some additional Makefile targetsrussell1-0/+1
to support gmenuselect git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58947 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15have prep_tarball attempt to build asterisk.pdfrussell1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58935 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Merge changes from svn/asterisk/team/russell/LaTeX_docs.russell1-1/+5
* Convert most of the doc directory into a single LaTeX formatted document so that we can generate a PDF, HTML, or other formats from this information. * Add a CLI command to dump the application documentation into LaTeX format which will only be include if the configure script is run with --enable-dev-mode. * The PDF turned out to be close to 1 MB, so it is not included. However, you can simply run "make asterisk.pdf" to generate it yourself. We may include it in release tarballs or have automatically generated ones on the web site, but that has yet to be decided. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58931 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-23build special version strings for AADK/S800i buildskpfleming1-1/+16
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56372 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21Merged revisions 55868 via svnmerge from kpfleming1-5/+14
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r55868 | kpfleming | 2007-02-21 08:03:11 -0600 (Wed, 21 Feb 2007) | 2 lines use new tag version script ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@55869 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-09fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a ↵kpfleming2-2/+2
source file git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53779 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-13when building the sample greetings for maibox 1234@default during 'make ↵kpfleming1-0/+25
samples', build a greeting for each language and file format the user selected to install with menuselect (reported by Brian Capouch on asterisk-dev) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50754 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-04add support for tracking thread-local-storage objects that exist via ↵kpfleming1-0/+2
'threadstorage' CLI commands git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49553 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-01check specifically for VLDTMF and transcoding support in the system's Zaptel ↵kpfleming1-1/+2
installation, and make only the modules that need those features dependent on them (this will allow building the other Zaptel-using parts of Asterisk against older versions of Zaptel or those on other platforms that haven't caught up yet to the Linux version) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49102 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-17need an additional argument here to make the downloads actually occurkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48548 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16simplify dependency tracking system, using the compiler's built-in method ↵kpfleming1-123/+0
for generating them, and only doing dependency tracking if developer mode is enabled via the configure script git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48525 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-12when making a release, we can always use wget and we can't run the configure ↵kpfleming1-1/+1
script to find that out... git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48427 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10grep -m is not available on BSD, so use head -1 insteadrizzo1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47444 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09Work around an issue that caused menuselect to display a bogus description forrussell1-1/+1
app_voicemail and chan_zap. These modules use some preprocessor directives to determine what it will report to Asterisk as its description. However, the way we extract this information from the source files for menuselect is not smart enough to figure this out. (issue #8326, #8328) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47391 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01Fixes for cross-compilation on mips russell1-1/+1
(issue #8058, ywalther, with some modifications) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46847 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01Add a check in the configure script to determine whether ld is GNU ld or not.russell2-0/+9
This is needed because module embedding only works for gnu ld. GNU ld is now listed as a dependency for all of the module embedding options in menuselect. (issue #8143) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46845 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-17add a project-specific script to be used during release preparationkpfleming1-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45410 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29fix a few build system bugs, and convert Makefiles to be compatible with GNU ↵kpfleming1-1/+1
make 3.80 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44055 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21add another attempt to strip non-API symbols from the final binary... script ↵kpfleming1-0/+28
will need to be extended to work on non-Linux systems git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43450 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20fix minor typo in the way version is handledqwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43396 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19Mergeing in Paul Cadach's chan_h323 changes *holds breath*mattf2-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18escape some quotesqwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43205 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07minor wording fixkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42263 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25This is a bit safer on some versions of sed.qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41026 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-24As per the comments in this file..qwell1-5/+12
The last patch was slightly wrong. This'll get it for sure. Solaris (and some others) don't have sed -r. perl -p is equivalent git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41015 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-24Okay, there are 3 reasons why I'm doing this.qwell1-5/+5
1) Solaris sed doesn't have -r, which means things like \s and \S don't work. 2) GNU sed version 4.1.2 failed on a very simple test echo "Test Test" | sed -r -e 's/\s/x/g' should have returned "TestxxxTest", but did not (however, 4.1.4 did?). 3) The CFLAGS were never set, so that entire line actually did nothing. Now it's useful again. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-22a couple Solaris tweaks, to help build properly.qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming4-30/+31
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07sort entries in this filerussell1-13/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37282 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07spaces to tabsrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37281 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07small cleanupkpfleming1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37280 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06dirty hack of a fix to deal with the fact that chan_vpb changed to chan_vpb.ccrussell1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37276 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05massive rework of configure script, and split of AST_EXT_LIB into separate ↵kpfleming1-21/+22
macros, reducing code duplication git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-30make this script work on solarisrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36336 f38db490-d61c-443f-a65b-d21fe96a405b