aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
AgeCommit message (Collapse)AuthorFilesLines
2010-05-04Fix fallout from removing from configure script. Pointed out by philipp64 ↵qwell1-1/+1
on #asterisk-dev git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@260801 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-25Only rebuild parsers by an option in menuselecttilghman2-0/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@242966 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-14Deal with the situation where .flavor exists but .version does not.tilghman1-1/+12
Also make the script slightly more portable, in keeping with autoconf syntax. (closes issue #14737) Reported by: davidw git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@234699 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-24Remove the remaining bashisms in the Makefile/mkpkgconfigseanbright1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@220099 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-24mkpkgconfig does not need bash so make it use /bin/shmvanbaak1-1/+1
This fixes building on all systems that don't have bash at /bin/bash Reported by _ys on #asterisk-dev Tested by _ys on #asterisk-dev git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@220027 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-18git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@212913 ↵kpfleming1-1/+1
f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-16Improve support for media paths that can generate multiple frames at once.kpfleming1-2/+0
There are various media paths in Asterisk (codec translators and UDPTL, primarily) that can generate more than one frame to be generated when the application calling them expects only a single frame. This patch addresses a number of those cases, at least the primary ones to solve the known problems. In addition it removes the broken TRACE_FRAMES support, fixes a number of bugs in various frame-related API functions, and cleans up various code paths affected by these changes. https://reviewboard.asterisk.org/r/175/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@200991 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-11Fix path for .flavor and .version.lmadsen1-3/+3
(issue #14737) Reported by: davidw Patches: flavor.patch uploaded by davidw (license 780) Tested by: davidw git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@200037 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-09Add debugging mode for diagnosing file descriptor leaks.tilghman1-0/+2
(Related to issue #14625) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@187300 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-18Improve the build system to *properly* remove unnecessary symbols from the ↵kpfleming1-37/+0
runtime global namespace. Along the way, change the prefixes on some internal-only API calls to use a common prefix. With these changes, for a module to export symbols into the global namespace, it must have *both* the AST_MODFLAG_GLOBAL_SYMBOLS flag and a linker script that allows the linker to leave the symbols exposed in the module's .so file (see res_odbc.exports for an example). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@182808 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-18revert commit that included extranous changeskpfleming2-0/+39
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@182807 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-18Improve the build system to *properly* remove unnecessary symbols from the ↵kpfleming2-39/+0
runtime global namespace. Along the way, change the prefixes on some internal-only API calls to use a common prefix. With these changes, for a module to export symbols into the global namespace, it must have *both* the AST_MODFLAG_GLOBAL_SYMBOLS flag and a linker script that allows the linker to leave the symbols exposed in the module's .so file (see res_odbc.exports for an example). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@182802 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-13Use the correct branch integrated property when generating the version string.rmudgett1-69/+65
Copied the make_version file from Asterisk trunk. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@181898 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-29Lose the CAP_NET_ADMIN at every fork, instead of at startup. Otherwise, iftilghman1-0/+1
Asterisk runs as a non-root user and the administrator does a 'restart now', Asterisk loses the ability to set QOS on packets. (closes issue #14004) Reported by: nemo Patches: 20090105__bug14004.diff.txt uploaded by Corydon76 (license 14) Tested by: Corydon76 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@172438 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-25Some versions of awk (nawk, for example) don't like empty regular expressionsseanbright2-2/+2
so be slightly more verbose. (closes issue #13374) Reported by: dougm Patches: 13374.diff uploaded by seanbright (license 71) Tested by: dougm git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@139909 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14add support for Zaptel versions that contain the new transcoder interfacekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@137677 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-07change the required dependency for codec_dahdi to only be satisfied by DAHDI ↵kpfleming1-1/+1
and not Zaptel, as the new transcoder interface is only in DAHDI git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@136560 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01Disable the old, slow search for matching callno in chan_iax2 (but allow it ↵tilghman1-0/+2
to be reenabled for debugging) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@127133 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19Only process 40 arguments (20 files) at once with xargs, because some oldertilghman1-1/+1
shells may force xargs to separate on an odd boundary. (Closes issue #12883) Reported by Nik Soggia git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@123909 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12Adds DAHDI support alongside Zaptel. DAHDI usage favored, but all Zap stuff ↵jpeeler1-2/+2
should continue working. Release announcement to follow. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@122314 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Make sure that either the main speex library contains preprocess functions ↵file1-0/+1
or that speexdsp does. If both fail then speex stuff can not be built. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@115327 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-19People report bugs about Asterisk crashing with DO_CRASH enabled was getting ↵qwell2-17/+19
a little silly... Now we only show certain cflags when you run configure with --enable-dev-mode (corresponding menuselect change to follow) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@109973 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-28Compatibility fix for PPC64tilghman1-1/+10
(closes issue #12081) Reported by: jcollie Patches: asterisk-1.4.18-funcdesc.patch uploaded by jcollie (license 412) Tested by: jcollie, Corydon76 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@104868 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29updated build_tools to handle the autotag directory structure changes; ↵dhubbard1-0/+6
changes related to BE-353. Patch by Russell and reviewed by Me. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@101080 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16Add autoconf logic for speexdsp. Later versions use a separate library for ↵file1-0/+1
some things so we need to use it if present in codec_speex. (closes issue #11693) Reported by: yzg git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@98951 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10Remove pbx_kdeconsole from the tree. It hasn't worked in ages, and nobody hasrussell1-1/+0
complained. (closes issue #11706, reported by caio1982) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@97734 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,kpfleming3-50/+3
rizzo brought up some issues related to the way that the metadata required for menuselect and the rest of the build system is extracted from the source files. Since I had a few hours to kill on an airplane today, I decided to improve this situation... so now the system caches the extracted metadata and uses it to build the menuselect 'tree' as much as it can. The result of this is that when a single source file is changed, only the metadata for that file needs to be extracted again, and the rest is used from the cache files. I also reduced the number of forked processes required to do the metadata extraction; it was actually possible to do most of what we needed in the Makefiles themselves without using any shell scripts at all! On my laptop, these changes resulted in an 80% decrease in the time required for the 'menuselect.makeopts' automatic check to occur after editing a single source file. While doing this work I also cleaned up a few minor things in the Makefiles, adding a check for 'awk' to the configure script and changed all remaining places we use 'grep' or 'awk' to use the ones found by the configure script, and changed the 'prep_tarball' script to build the menuselect metadata so that tarballs of Asterisk will include it and won't require the user to wait while it is extracted after unpacking. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@93180 f38db490-d61c-443f-a65b-d21fe96a405b
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