aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
AgeCommit message (Collapse)AuthorFilesLines
2008-01-17Add several busy detection related defines to menuselect.qwell1-0/+11
Allow better busy detect debugging (with BUSYDETECT_DEBUG). Remove very old BUSYDETECT and BUSY_DETECT_MARTIN defines. (closes issue #11107) Patches: busydetect_enhancement.patch uploaded by agx (license 298) busydetect-r94975.diff uploaded by sergee (license 138) Additional changes/cleanup by me. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98998 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16Merged revisions 98951 via svnmerge from file1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r98951 | file | 2008-01-15 21:13:27 -0400 (Tue, 15 Jan 2008) | 4 lines Add autoconf logic for speexdsp. Later versions use a separate library for 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/trunk@98952 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-13Add configure script check for JACK.russell1-12/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98605 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-13Remove KDE configure script check that isn't usedrussell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98604 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10Merged revisions 97734 via svnmerge from russell1-1/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r97734 | russell | 2008-01-10 10:10:09 -0600 (Thu, 10 Jan 2008) | 4 lines Remove pbx_kdeconsole from the tree. It hasn't worked in ages, and nobody has complained. (closes issue #11706, reported by caio1982) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97745 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07Build the HTML version of the doc files for tarballs, as wellrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96886 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05Now that the version.h file was getting properly regenerated every time the svnrussell2-17/+33
revision changed, every module that used the version was getting rebuilt after every svn update. This severly annoyed me pretty quickly, so I have improved the situation. Now, instead of generating version.h, main/version.c is generated. version.c includes the version information, as well as a couple of API calls for modules to retrieve the version. So now, only version.c will get rebuilt, and the main asterisk binary relinked, which is must faster than rebuilding http.c, manager.c, asterisk.c, relinking the asterisk binary, chan_sip.c, func_version.c, res_agi ... The only minor change in behavior here is that the version information reported by chan_sip, for example, is the version of the Asterisk core, and not necessarily the Asterisk version that the chan_sip module came from. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96717 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02go back to including libresample in the main Asterisk binary, but this time ↵kpfleming1-1/+2
including a small hack to ensure that it does get linked in (and also modify the strip_nonapi script to leave the resample_<foo> symbols alone) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95816 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-01implement "configure" checks for libiconv, and add therizzo1-0/+1
iconv dependency for func_iconv. This fixes some build issues on CYGWIN and FreeBSD and probably other platforms where libiconv is not there by default git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95624 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-31Add configure script checking for portaudio.russell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95383 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26Allow more spans than 32. Also, rearrange compiler flags so the most oftentilghman1-18/+20
used flags appear closer to the top. Reported by: tzafrir Patch by: tzafrir,tilghman (Closes issue #11528) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94818 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-20closes issue #11287; thanks to snuffy for this fix, which will surely make ↵murf1-0/+3
all solaris owners shout praises to his name. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94319 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-18Rename the macros in defaults.h - they are not meant to berizzo1-17/+19
globally visible. Document the fact that DEFAULT_TMP_DIR cannot be overridden from the default configuration (this needs to be fixed, as you could have a totally different spooldir configured at runtime, and yet DEFAULT_TMP_DIR keeps the compile-time default). Remove two unused entries for sounds and images. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93581 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17make the configure script detect that it is running on a Windows platform, ↵kpfleming1-0/+1
and report that information so that menuselect can use it (all information that is used to decide whether to build modules or not must be fed to menuselect so the user knows what will be built and why... don't make module build decisions in the makefiles, please) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93211 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17Merged revisions 93180 via svnmerge from kpfleming4-58/+11
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r93180 | kpfleming | 2007-12-16 22:44:51 -0800 (Sun, 16 Dec 2007) | 23 lines In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html, 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/trunk@93184 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-10simplify/cleanup the scriptsrizzo2-45/+26
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92122 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20move internal function declarations to include/asterisk/_private.hrizzo1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89465 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20switch compile-time option checking to string storage mode in this branch tookpfleming1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89463 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-18Add OSX into the logic that uses md5 instead of md5sum.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89399 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17actually let this compile, oops :(russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89360 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17Use the fix suggested by Tilghman on the -dev to make cutting up the BUILDSUMrussell1-1/+1
friendly to non-bash shells. I think this should work for BSD/mingw as well, but did not yet remove the switch statement. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89359 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17this script is run on the build system, not on the host.rizzo1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89353 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16both md5sum and variable substitutions such as ${BUILDSUM:0:8}rizzo1-2/+11
are not available in FreeBSD. For the time being, put in a workaround so we can build the system, and wait for the result of the discussion on whether we can store the md5 as a string rather than 4 ints (if so, we won't need more complex tricks with awk or sed for splitting the md5). 1.4 will be fixed when we decide the issue. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89328 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16Merged revisions 89325 via svnmerge from kpfleming1-0/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89325 | kpfleming | 2007-11-16 10:47:46 -0600 (Fri, 16 Nov 2007) | 4 lines 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/trunk@89326 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02Add pbx_lua as a method of doing extensionstilghman1-0/+1
Reported by: mnicholson Patch by: mnicholson Closes issue #11140 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88250 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-02Merged revisions 84474 via svnmerge from russell1-2/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r84474 | russell | 2007-10-02 15:06:07 -0500 (Tue, 02 Oct 2007) | 5 lines * Don't build the menuselect-tree for the tarball, as it requires running the 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/trunk@84475 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-24Merged revisions 83695 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r83695 | tilghman | 2007-09-24 12:22:08 -0500 (Mon, 24 Sep 2007) | 4 lines In the source, keys are relative to the datadir, not varlib (which is the same in most cases, but it's good to be accurate). Closes issue #10811 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83696 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14Merged revisions 82385 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82385 | russell | 2007-09-14 10:50:49 -0500 (Fri, 14 Sep 2007) | 3 lines Add checking for libusb here, so nobody has to deal with conflicts in the chan_usbradio-1.4 branch every time the configure script gets changed ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82386 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22Merged revisions 80330 via svnmerge from qwell5-12/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r80330 | qwell | 2007-08-22 13:53:18 -0500 (Wed, 22 Aug 2007) | 7 lines Fix a few build issues in Solaris (and likely others). 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/trunk@80331 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22Merged revisions 80302 via svnmerge from qwell1-4/+14
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r80302 | qwell | 2007-08-22 13:06:00 -0500 (Wed, 22 Aug 2007) | 3 lines Fix a bashism (we explicitly request /bin/sh). Remove some oddly placed quotes I found in passing. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80303 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-20This change set fixes bug 8126 in trunk. It is implemented via compile time ↵murf1-0/+13
options, activated via the menuselect stuff, which defaults to the old way. non-zero sample data added. Translate tables expressed in microseconds instead of milliseconds, with 5-digit data now instead of 3, giving 2 more digits of precision. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80113 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-31Merged revisions 77827 via svnmerge from kpfleming1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r77827 | kpfleming | 2007-07-31 10:53:42 -0500 (Tue, 31 Jul 2007) | 2 lines DETECT_DEADLOCKS can't be enabled without DEBUG_THREADS or it does nothing ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77828 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24Add the flag to trigger an intentional crash on mutex errorstilghman1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76925 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02* Move LaTeX docs into a tex/ subdirectory of the doc/ dirrussell1-1/+3
* Add a Makefile in doc/tex/ for generating PDF and HTML * Add a README.txt file to doc/tex/ to document which tools are used and what web sites to visit for getting them. * Update build_tools/prep_tarball to put the proper Asterisk version string in the automatically generated PDF for release tarballs git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72982 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-24Merged revisions 71371 via svnmerge from russell1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r71371 | russell | 2007-06-24 15:16:32 -0500 (Sun, 24 Jun 2007) | 3 lines Include the menuselect-tree file in tarballs to make builds from tarballs a little bit faster ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71372 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Nothing to see here.qwell1-3/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71024 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21when we are building modules that other modules depend on, create ↵kpfleming1-0/+5
preprocessor defines (in buildopts.h) marking that those modules were built git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70794 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18Merged revisions 69702 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r69702 | russell | 2007-06-18 11:35:02 -0500 (Mon, 18 Jun 2007) | 6 lines To prevent 92138749238754 more reports of "I have unixodbc installed, but 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/trunk@69703 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18Merged revisions 69689 via svnmerge from russell1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r69689 | russell | 2007-06-18 11:15:12 -0500 (Mon, 18 Jun 2007) | 5 lines Change the use of "echo -e" to "printf". On systems where /bin/sh is not bash, 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/trunk@69691 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24use the OpenSSL AES implementation if it's available (unless configured not to)kpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66071 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22Merged revisions 65541 via svnmerge from kpfleming1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r65541 | kpfleming | 2007-05-22 16:25:41 -0400 (Tue, 22 May 2007) | 2 lines when building a version string for a developer branch, include the base branch in the version string ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65542 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-16Merged revisions 58953 via svnmerge from russell1-3/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r58953 | russell | 2007-03-15 20:12:40 -0500 (Thu, 15 Mar 2007) | 2 lines Add the --pdf option to the usage of rubber in prep_tarball ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58954 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Merged revisions 58947 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r58947 | russell | 2007-03-15 18:53:26 -0500 (Thu, 15 Mar 2007) | 3 lines Add configure script checking for GTK2 and some additional Makefile targets to support gmenuselect ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58948 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Merged revisions 58935 via svnmerge from russell1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r58935 | russell | 2007-03-15 17:35:52 -0500 (Thu, 15 Mar 2007) | 2 lines have prep_tarball attempt to build asterisk.pdf ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58936 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Merged revisions 58931 via svnmerge from russell1-1/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r58931 | russell | 2007-03-15 17:25:12 -0500 (Thu, 15 Mar 2007) | 13 lines Merge changes from svn/asterisk/team/russell/LaTeX_docs. * 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/trunk@58932 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-13Merge changes from team/russell/sqlite:russell1-0/+1
* Add new module, cdr_sqlite3_custom which allows logging custom CDRs into a SQLite3 database. (issue #7149, alerios) * Add new module, res_config_sqlite, which adds realtime database configuration support for SQLite version 2. I decided that this was ok since we didn't have any realtime support for version 3. If someone ports this to version 3, then version 2 support can be removed or marked deprecated. (issue #7790, rbarun_proformatique) * Mark cdr_sqlite as deprecated in favor of cdr_sqlite3_custom. Also, note that there were other modules on the bug tracker that did not make the cut because they provided some duplicated functionality. Those are: * cdr_sqlite3 (issue #6754, moy) * cdr_sqlite3 (issue #8694, bsd) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58866 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-11Add CLI command "marko show birthday" to show "birthday information"qwell1-0/+3
for Mark Spencers upcoming 30th birthday. To enable, run `make menuselect` and select the option MARKO_BDAY under Compiler Flags. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58742 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-23Merged revisions 56372 via svnmerge from kpfleming1-1/+16
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r56372 | kpfleming | 2007-02-23 12:59:09 -0600 (Fri, 23 Feb 2007) | 2 lines build special version strings for AADK/S800i builds ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56373 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-22give embedded modules a helping hand by backing up and restoring their ↵kpfleming1-0/+27
global variables when they are loaded and unloaded git-svn-id: http://svn.digium.com/svn/asterisk/trunk@56092 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21Merged revisions 55869 via svnmerge from kpfleming1-5/+14
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r55869 | kpfleming | 2007-02-21 08:06:47 -0600 (Wed, 21 Feb 2007) | 10 lines Merged revisions 55868 via svnmerge from 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/trunk@55870 f38db490-d61c-443f-a65b-d21fe96a405b