Commit Graph

371 Commits

Author SHA1 Message Date
Russell Bryant 0a280a1abc resolve a couple of compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-28 23:04:36 +00:00
Matt O'Gorman a19602869b oops no parens
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 22:40:01 +00:00
Matt O'Gorman 43aefe9116 fix bytesize to 5.3kb for g723 codec and add support for multimode of tc400p
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 22:01:43 +00:00
Russell Bryant f89ccdc0f3 Merged revisions 46847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46847 | russell | 2006-11-01 17:51:21 -0500 (Wed, 01 Nov 2006) | 3 lines

Fixes for cross-compilation on mips 
(issue #8058, ywalther, with some modifications)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:54:15 +00:00
Joshua Colp 4c2cfeeaed Merged revisions 45079 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45079 | file | 2006-10-13 14:42:49 -0400 (Fri, 13 Oct 2006) | 2 lines

And file said... let the compiler warnings STOP!

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13 18:45:44 +00:00
Luigi Rizzo 8d6d166b14 merge compile fixes from 44080:
- with AST_DEVMODE, building codecs/lpc10 fails because of lots
  of warnings, and the configure step in editline fails as well.
  Fix this by removing the -Werror in these steps.

- on FreeBSD (but probably on other platforms as well), the final   
  link of asterisk fails because AST_LIBS was not exported to the
  subdirs Makefiles. Add a proper fix in the top-level Makefile
  (a possible alternative way is to add "export AST_LIBS" near
  the beginning of the file).
  With this fix, i believe that some of the platform-specific
  conditionals in main/Makefile are redundant (because they should
  be already dealt with in the top level Makefile) but i don't
  have a platform to check.




git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-30 16:37:21 +00:00
Kevin P. Fleming e92c34cc38 Merged revisions 44055 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r44055 | kpfleming | 2006-09-29 17:47:40 -0500 (Fri, 29 Sep 2006) | 2 lines

fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 22:48:43 +00:00
Kevin P. Fleming 89050169c8 Merged revisions 43996-43997,44008,44011-44012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r43996 | kpfleming | 2006-09-29 11:47:05 -0500 (Fri, 29 Sep 2006) | 2 lines

another cross-compile fix

........
r43997 | kpfleming | 2006-09-29 11:52:27 -0500 (Fri, 29 Sep 2006) | 2 lines

support --without-curl in configure script

........
r44008 | kpfleming | 2006-09-29 13:25:49 -0500 (Fri, 29 Sep 2006) | 2 lines

don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead

........
r44011 | kpfleming | 2006-09-29 13:40:17 -0500 (Fri, 29 Sep 2006) | 2 lines

missed one conversion to ASTCFLAGS

........
r44012 | kpfleming | 2006-09-29 13:49:07 -0500 (Fri, 29 Sep 2006) | 2 lines

yet another place where we were not using the correct CFLAGS by default

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 18:54:21 +00:00
Jason Parker 8699205857 be a little more consistent with our variable usage
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 14:16:12 +00:00
Kevin P. Fleming c63fe750bb minor performance improvement
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-08 21:33:32 +00:00
Mark Spencer 35e7066c52 Fix transcoding performance issue
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-30 03:20:54 +00:00
Kevin P. Fleming d12f54f90b GNU make already knows how to quietly ignore non-existent files in 'include' directives
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26 23:58:47 +00:00
Russell Bryant 9df34a3d40 fix codec_gsm build for powerpc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 19:07:01 +00:00
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
- 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: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:11:39 +00:00
Russell Bryant c1bd5cfe39 fix setting the CFLAGS for building codec libs so that they are built with
astmm support and astmm doesn't get really upset and complain that it is being
asked to free memory that was never allocated


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-26 23:12:47 +00:00
Steve Murphy 1bb760f347 Added a small fix to exclude the AMD optimized assembly file from being included in the compile.
I don't particular like the approach, which basically tries to exclude the file based on
NOT being in a list of arches. This, IMHO, is backwards, it should be a list of AMD arches 
instead. "Better to light a candle, than to curse the darkness", is apropo here. But since I don't
have an exhaustive list of what those arches could be, I leave as-is for now.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-24 20:58:27 +00:00
Kevin P. Fleming 000ba592b2 more Makefile cleanup and consistency stuff
don't reuse LIBS variable from top-level Makefile (oops)
build Asterisk binary after subdirs (preparing for embedded modules)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15 19:59:35 +00:00
Kevin P. Fleming ea1d0c4b33 G726-32 changes:
split support for G726-32 into RFC3551 and AAL2 packing orders, since both are in use
change "G726-32" to be RFC3551 packing order, in spite of devices that use AAL2 order with this MIME type
add ability to directly transcode between packing orders


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 22:42:13 +00:00
Kevin P. Fleming 300755732c remove skeleton support for G.723.1 codec since we will never ship the rest of what is needed anyway :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-09 14:32:08 +00:00
Russell Bryant 4517f3447d pointer signedness warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 16:11:39 +00:00
Russell Bryant ebbca8319b eliminate warning about unused variable that occurs in some cases
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 16:07:17 +00:00
Russell Bryant 8f4ad8f577 pointer signedness warnings elimination
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 16:03:56 +00:00
Kevin P. Fleming 4f826452cf make the build output less noisy (optional, can be controlled by the NOISY_BUILD variable in the top-level Makefile)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 23:18:45 +00:00
Kevin P. Fleming 748431f7b6 move rules file to prepare for generic rules file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 21:04:28 +00:00
Kevin P. Fleming 72c9c5def1 allow codec_gsm to be built using internal GSM library again (oops!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 21:28:30 +00:00
Kevin P. Fleming dbf099cdb8 update dependency information to match new names for dependencies
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 20:12:29 +00:00
Kevin P. Fleming f761d2f6f0 prepare Asterisk for new zaptel.h/tonezone.h installation locations
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 16:44:41 +00:00
Kevin P. Fleming 98a465fc09 move FreeTDS version check into configure script
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 07:50:01 +00:00
Kevin P. Fleming a579371f43 use new (separate) dependencies file from menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-25 08:50:14 +00:00
Kevin P. Fleming 51453628a0 clean up some damage from today's commit
convert codecs Makefile to new style


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 23:12:22 +00:00
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 19:43:31 +00:00
Kevin P. Fleming df0ba5ff8b search for Zaptel and libtonezone separately in the configure script
various other minor fixes


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 08:45:49 +00:00
Kevin P. Fleming b8518110da add support for Zaptel transcoders
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 16:33:17 +00:00
Russell Bryant 48ae9f0d4f - convert the 'uninstall' target to use separate targets to process each
subdirectory instead of a for loop
- remove the FORCE target from the main Makefile and add the couple places
  I used it to the .PHONY target.  .PHONY does the same thing and is a built-in
  more efficient way of doing it.
- add a bunch more targets to .PHONY ...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 15:38:13 +00:00
Russell Bryant 55e8a60363 - specify that 'depend' is a .PHONY target
- use separate targets instead of a for loop for doing 'make depend' for
  each sub directory


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 15:08:08 +00:00
Russell Bryant 9db0520ff9 - specify that 'all' is a .PHONY target
- add a copyright header to the build_tools Makefile
- remove 'depend' from the 'all' target in agi/ and utils/ since it is handled
  by the main Makefile already


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 14:09:18 +00:00
Russell Bryant c399a06450 add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
since they are targets that do not have resulting files and are never listed
as prerequisites to real targets.  Using .PHONY in this manner improves make
performance by never having to check for resulting files.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 11:27:03 +00:00
Russell Bryant 9f2a6516cf don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
is valid in some cases, such as "make clean".


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 00:14:16 +00:00
Russell Bryant b6147a21b9 remove "depend" from the "all" targets in sub Makefiles. The main Makefile
already calls "make depend" for each of the subdirectories


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 16:54:00 +00:00
Kevin P. Fleming 3e41331bf3 get rid of some more compiler warnings (thanks tholo for making me fix the lpc10 stuff... that had been a problem for far too long)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 23:13:52 +00:00
Kevin P. Fleming b31b0be819 various minor portability fixes (mostly from tholo for OpenBSD)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 20:26:25 +00:00
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Russell Bryant 503f99e2e8 remove the need to have to re-run make after a default menuselect.makeopts
file is generated.  This allows a fresh checkout of asterisk to be built
and installed with the standard "./configure && make && make install".


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 16:03:31 +00:00
Kevin P. Fleming e856010714 use module names, not file names, in menuselect
work around XML parsing bug in menuselect for default sounds package


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 20:46:27 +00:00
Kevin P. Fleming 9afb0e1cd2 Merged revisions 30874 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30874 | kpfleming | 2006-05-30 14:18:30 -0500 (Tue, 30 May 2006) | 2 lines

check the proper variable...

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 19:20:20 +00:00
Kevin P. Fleming 96016e9206 Merged revisions 30802 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30802 | kpfleming | 2006-05-30 11:07:16 -0500 (Tue, 30 May 2006) | 2 lines

another S/390 build fix

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 16:08:38 +00:00
Kevin P. Fleming 35fa97d1d5 use the proper method for adding a new entry
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 19:26:26 +00:00
Kevin P. Fleming df814221c1 Merged revisions 30296 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30296 | kpfleming | 2006-05-25 12:39:33 -0500 (Thu, 25 May 2006) | 2 lines

don't try to use -march=s390 when building on S/390 systems (reported via asterisk-users mailing list)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 17:39:46 +00:00
Russell Bryant 74cb39729b further codec module optimization based on codec_alaw changes by rizzo
(issue #7190, Mithraen)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 22:57:03 +00:00
Luigi Rizzo ab5b298805 remove an unused variable, and while at it
add some very minor optimizations.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21 09:56:38 +00:00
Russell Bryant 4b49f667d2 remove unused variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 22:37:18 +00:00
Russell Bryant b88c06b8b5 add some code optimizations, see the report for an explanation
(issue #7105, Mithraen)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 13:37:11 +00:00
Russell Bryant 5f856ea997 minor code optimizations to reduce the number of times that the ast_frame
and ast_trans_pvt pointers have to be dereferenced (issue #7069, Mithraen)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 21:36:17 +00:00
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:11:45 +00:00
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.

Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.

I am just sorry that this change missed SVN version number 20000!



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 14:08:19 +00:00
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 22:01:19 +00:00
Kevin P. Fleming 1bba6ec6fc merge rizzo's codec module rework (very similar to the format module rework)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 21:40:57 +00:00
Joshua Colp 5b1069f262 Add more 64-bit detection goodness (issue #6850 reported by evilbunny)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:57:49 +00:00
Luigi Rizzo 2326d0d499 Bring in the new loader code as described in mantis #4377
and updated to today's version.

The core of the patch is only two files, loader.c
and include/asterisk/module.h, with the other files
touched only to adapt non-standard usages of the
reference counts and localuser lists.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 21:15:10 +00:00
Kevin P. Fleming b0ac62573a revert loader changes that have clearly not undergone adequate testing before commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 23:22:44 +00:00
Tilghman Lesher bdd24455b4 Bug 4377 - Round 2 of the loader updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 06:02:46 +00:00
Matthew Fredrickson eb368fdd93 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14001 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-03-21 19:28:12 +00:00
Tilghman Lesher adef31698f Bug 6709 - Simplify extensive embedded ifneq logic (and fix missing endif's)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-13 05:24:13 +00:00
Russell Bryant 083a9627b5 Merged revisions 12577 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r12577 | russell | 2006-03-12 12:57:37 -0500 (Sun, 12 Mar 2006) | 2 lines

fix build on parisc (issue #6704)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-12 18:07:23 +00:00
Kevin P. Fleming 6204abdae2 merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-22 22:53:49 +00:00
Kevin P. Fleming 4ed461db16 set proper mime-type and eol-style on all files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 19:14:15 +00:00
Russell Bryant febbc165a1 fix codec_ilbc.so build - it would build before, but libilbc.a was not linked
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-13 01:58:33 +00:00
Kevin P. Fleming e7c198453d ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12 16:52:42 +00:00
Kevin P. Fleming 80b1a19566 don't blow up if multiple copies of the headers are found
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 20:48:48 +00:00
Kevin P. Fleming 1f5555735a use auto-build for codecs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 17:41:36 +00:00
Kevin P. Fleming c7da92d2ea fix compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 03:13:25 +00:00
Matthew Fredrickson 4f803dfda0 Lots of little fixes for doing MSVC compiling codecs in windows (#6022)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 23:37:27 +00:00
Matt O'Gorman 7d03c33e0a Allows for user to uninstall asterisk binaries
bug 6177


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 18:39:41 +00:00
Russell Bryant fbdc8ce317 conversions to use allocation wrappers (issue #6277)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 08:45:39 +00:00
Matthew Fredrickson 67e32c3f2d fix for codec_gsm on ia64 (#6294)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-20 23:28:37 +00:00
Russell Bryant ba56332ce8 formatting and doxygen fixes (issue #6300)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-20 23:23:00 +00:00
Russell Bryant 4a7cec937d remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-16 17:51:35 +00:00
Russell Bryant 62084f9736 use the system libgsm if available (issue #5434, modified to still work with builtin libgsm)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 08:16:53 +00:00
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Kevin P. Fleming c14588af86 remove remaining .cvsignore files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:09:49 +00:00
Kevin P. Fleming 0941c32d38 issue #5569 minus lock.h changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 04:13:19 +00:00
Kevin P. Fleming 77390dfeaf issue #5572
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 03:31:45 +00:00
Russell Bryant 31a804b97c issue #5605
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 15:09:47 +00:00
Kevin P. Fleming 7ffb604a2f issue #4678
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:53:30 +00:00
Russell Bryant 3332a8acd1 clean up a lot of doxygen errors and warnings (issue #5522)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 23:11:36 +00:00
Russell Bryant 6324072247 more doxygenification (issue #5513)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 13:03:17 +00:00
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Russell Bryant 7d7090ef8f look in CROSS_COMPILE_TARGET for speex headers (issue #5118)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-05 15:48:47 +00:00
Kevin P. Fleming b67fced7ae correct Makefile errors (issue #5072)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 21:29:58 +00:00
Kevin P. Fleming 9519f6c5f4 clean up, use make functions instead of subshells, remove unused stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:54:02 +00:00
Kevin P. Fleming 8e3af106db update to use Speex 1.1.x features and doc cleanups (issue #4755)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-26 20:14:06 +00:00
Kevin P. Fleming fd781b3174 use memmove() when memory regions might overlap (issue #4957)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 01:52:38 +00:00
Kevin P. Fleming 85eb4c9afb support DTX and CNG in speex (bug #4608)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 22:20:16 +00:00
Kevin P. Fleming 21332e531e various speex fixes (bug #4253)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 23:16:32 +00:00
Kevin P. Fleming 0e9d920a60 move tools used during build into build_tools subdirectory
clean up Makefile headers


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-20 17:26:08 +00:00
Mark Spencer df909bed06 Fix ipaq build (bug #4545)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-18 17:54:15 +00:00
Kevin P. Fleming adc9c81692 fix version tag macro calls
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 23:12:05 +00:00
Kevin P. Fleming 2b8338cb52 more file version tags
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming 977fd5a157 don't define a local function with the same name as a library function (bug #4239)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:18:16 +00:00
Matthew Fredrickson ef254b7819 Makefile update for codec_gsm.c to cross compile for powerpc (bug #4228)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5645 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-13 14:59:01 +00:00
Matthew Fredrickson 1febd6c72d Memory leak fixes Bug #4216
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-12 17:40:44 +00:00
Kevin P. Fleming a729a57ba1 fix various compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:30:23 +00:00
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Russell Bryant 7b5e73c7a8 show correct codec in verbose messages (bug #4008)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-12 02:41:29 +00:00
Mark Spencer a0a2592025 Fix cross compiling (bug #3868)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-27 22:39:17 +00:00
Mark Spencer 7082d0584e Add PLC and jitter buffer and iax2 meta trunk with timestamps (bug #2532, #3400)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 21:30:19 +00:00
Mark Spencer c44349ed1e Fix speex build (bug #3761)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5172 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-12 05:53:32 +00:00
Mark Spencer 1bb8d52938 Flush out app stuff, make profiling easier to turn on/off
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-05 21:06:26 +00:00
Mark Spencer 5f726ad8c7 Merge config updates (bug #3406)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-25 06:10:20 +00:00
Russell Bryant 0c30452423 update copyright headers for 2005
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Mark Spencer a42fe2a4ea Handle speex subdirectories peroperly (bug #3283)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-09 20:39:31 +00:00
Mark Spencer ddcac96e9b Fix Speex config issue (bug #3175)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-30 01:40:47 +00:00
Mark Spencer 9f6e3aed8a Fix GSM makefile for OpenBSD (bug #3102)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-21 00:03:59 +00:00
Mark Spencer 11b29650d5 Fix Makefile for ppc64 (bug #3111)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-20 23:49:22 +00:00
Mark Spencer d6471bec31 Merge Olle's comment patch (bug #3097)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-19 21:13:41 +00:00
Mark Spencer 9d40b8ee80 Merge slimey's Solaris compatibility (with small mods) (bug #2740)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-14 23:36:30 +00:00
Mark Spencer 7a5dfd65ba Fix minor makefile issues (bug #3036)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-13 21:45:03 +00:00
Russell Bryant 9b78337c6e add missing file (bug #2843)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-15 04:32:12 +00:00
Mark Spencer 8de7794637 ADPCM and G.726 performance improvements courtesy fOSSiL (bug #2843)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-15 00:56:53 +00:00
Mark Spencer 4ff125c703 Fix iLBC compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-14 05:45:34 +00:00
Mark Spencer d4ff9abc61 Update to new iLBC codec
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-14 05:15:48 +00:00
James Golovich 3e2253a3c4 Code formatting cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-01 13:16:44 +00:00
Mark Spencer b6f979100d Add configurable options to Speex (from anthm) (bug #2536)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-01 03:18:48 +00:00
Mark Spencer 82db278716 More Asterisk sparc patches (courtesy Belgarath)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-31 16:33:00 +00:00
Mark Spencer 2a108b9b06 Merge NetBSD and Courtesty tone with modifications (bug #2329)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-31 13:32:11 +00:00
Mark Spencer 8ff9c0d1b9 Adjust Makefiles to support Ultrasparc architecture (thanks Belgarath) (bug #2319)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-31 03:31:59 +00:00
Mark Spencer 0cf6b2ba31 Minor Makefile cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-29 17:40:58 +00:00
Mark Spencer e85731555d Fix YDL build (bug #2109)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-22 23:43:26 +00:00
Mark Spencer ed42d3074d Merge mic's minor patchlet (bug #2092)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-19 15:52:57 +00:00
Mark Spencer f63d46097d Back out accidental changes by anthm
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-02 23:11:14 +00:00
Anthony Minessale II 75d4369dfc autodial update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-02 22:40:09 +00:00
Mark Spencer 09c41b415d Merge OSX compatibility patch (bug #1940)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-28 20:10:28 +00:00
Mark Spencer 3db853b428 Merge source cleanups (bug #1911)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-26 03:50:14 +00:00
James Golovich 8801247d76 Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 18:49:00 +00:00
Mark Spencer 5546e32355 Merge major BSD mutex and symbol conflict patches (bug #1816) (link patch still pending)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 17:42:14 +00:00
Mark Spencer d208532e6e x86-64 compile fixes and cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-13 21:25:10 +00:00
Mark Spencer 727abcdec7 Merge FreeBSD locking fixes (bug #1411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-09 01:45:08 +00:00
Jeremy McNamara e37c73ef97 add iLBC optimizations from bkw
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-16 17:35:51 +00:00
Mark Spencer a640df56e6 Fix iLBC with valgrind, add iLBC format from bkw_
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-22 03:34:13 +00:00
Mark Spencer e2b0f32c18 Minor samples updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-04 16:33:56 +00:00
Mark Spencer e02fae664a Alpha portability from Ricudis
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-15 16:51:58 +00:00
Mark Spencer a082f8d8c7 By default disable non-standard changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-11 20:56:26 +00:00
Mark Spencer 39c60235f8 Make ADPCM frames standard
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-03-11 19:57:10 +00:00
Mark Spencer ff976ce055 Add G.726-32kbps Codec Transcoder (Tested with Cisco ATA-186)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-25 04:10:32 +00:00
Malcolm Davenport 5f23eba1b0 Bug #857. More fixes for GSM Makefile for PPC
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-15 21:31:26 +00:00
Malcolm Davenport 3470e79f83 Add the SuSE AMD64 support and fixes from Bug #706
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-08 16:52:11 +00:00
Mark Spencer e0544c3eb5 Various warning cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-23 22:14:32 +00:00
Mark Spencer 1e95c3a4ac Remove really broke MP3 stuff in favor of G.726 in the near future
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-04 02:40:09 +00:00
Mark Spencer 0de223a1ee More cleanups and OSX fixes for 10.3
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-27 20:00:41 +00:00
Mark Spencer 4ce283ff18 Make it build and run on MacOS X
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-10-26 18:50:49 +00:00