dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

255 Commits

Author SHA1 Message Date
kpfleming 51482ed964 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: http://svn.digium.com/svn/asterisk/trunk@37661 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15 19:59:35 +00:00
kpfleming b2b23b395d 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: http://svn.digium.com/svn/asterisk/trunk@37494 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12 22:42:13 +00:00
kpfleming 795e8ea684 remove skeleton support for G.723.1 codec since we will never ship the rest of what is needed anyway :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37320 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-09 14:32:08 +00:00
russell 3bdec98161 pointer signedness warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37299 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 16:11:39 +00:00
russell 65a9c89555 eliminate warning about unused variable that occurs in some cases
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37298 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 16:07:17 +00:00
russell beb183af67 pointer signedness warnings elimination
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37296 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 16:03:56 +00:00
kpfleming e319f5334e make the build output less noisy (optional, can be controlled by the NOISY_BUILD variable in the top-level Makefile)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 23:18:45 +00:00
kpfleming 84cc5e8bd0 move rules file to prepare for generic rules file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37222 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 21:04:28 +00:00
kpfleming be2f5169a0 allow codec_gsm to be built using internal GSM library again (oops!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37105 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 21:28:30 +00:00
kpfleming 8c814ff843 update dependency information to match new names for dependencies
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37085 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 20:12:29 +00:00
kpfleming cda33c11a8 prepare Asterisk for new zaptel.h/tonezone.h installation locations
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37027 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 16:44:41 +00:00
kpfleming 50c6c0be43 move FreeTDS version check into configure script
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36255 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-29 07:50:01 +00:00
kpfleming 673e53a328 use new (separate) dependencies file from menuselect
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-25 08:50:14 +00:00
kpfleming 3959558d30 clean up some damage from today's commit
convert codecs Makefile to new style


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35852 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 23:12:22 +00:00
kpfleming 41af2260b7 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: http://svn.digium.com/svn/asterisk/trunk@35832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 19:43:31 +00:00
kpfleming 3df43d0174 search for Zaptel and libtonezone separately in the configure script
various other minor fixes


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35812 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 08:45:49 +00:00
kpfleming 782273ca46 add support for Zaptel transcoders
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35745 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-23 16:33:17 +00:00
russell 9b1d7f9fa8 - 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: http://svn.digium.com/svn/asterisk/trunk@35503 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 15:38:13 +00:00
russell ddb0e59eb0 - 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: http://svn.digium.com/svn/asterisk/trunk@35501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 15:08:08 +00:00
russell 0bb78235cb - 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: http://svn.digium.com/svn/asterisk/trunk@35479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 14:09:18 +00:00
russell b70a7c6a7c 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: http://svn.digium.com/svn/asterisk/trunk@35415 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22 11:27:03 +00:00
russell 31fff75d63 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: http://svn.digium.com/svn/asterisk/trunk@34738 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-19 00:14:16 +00:00
russell c521e83995 remove "depend" from the "all" targets in sub Makefiles. The main Makefile
already calls "make depend" for each of the subdirectories


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34497 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-16 16:54:00 +00:00
kpfleming 74a884d805 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: http://svn.digium.com/svn/asterisk/trunk@33398 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09 23:13:52 +00:00
kpfleming 926f67f682 various minor portability fixes (mostly from tholo for OpenBSD)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33350 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09 20:26:25 +00:00
kpfleming 73c525e6e2 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
russell 745248fa58 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: http://svn.digium.com/svn/asterisk/trunk@32798 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 16:03:31 +00:00
kpfleming bb0b421ea8 use module names, not file names, in menuselect
work around XML parsing bug in menuselect for default sounds package


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05 20:46:27 +00:00
kpfleming ee68643531 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: http://svn.digium.com/svn/asterisk/trunk@30875 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-30 19:20:20 +00:00
kpfleming 480039c457 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: http://svn.digium.com/svn/asterisk/trunk@30803 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-30 16:08:38 +00:00
kpfleming 753cf2caf6 use the proper method for adding a new entry
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30361 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 19:26:26 +00:00
kpfleming 861939a243 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: http://svn.digium.com/svn/asterisk/trunk@30297 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 17:39:46 +00:00
russell fba1ee583a further codec module optimization based on codec_alaw changes by rizzo
(issue #7190, Mithraen)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29880 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23 22:57:03 +00:00
rizzo dc6a86eb64 remove an unused variable, and while at it
add some very minor optimizations.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29129 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-21 09:56:38 +00:00
russell 93d28409df remove unused variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29095 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 22:37:18 +00:00
russell e92fd19917 add some code optimizations, see the report for an explanation
(issue #7105, Mithraen)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29018 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 13:37:11 +00:00
russell f2fd8957f8 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: http://svn.digium.com/svn/asterisk/trunk@25059 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-05 21:36:17 +00:00
kpfleming 29f496ef12 Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00
rizzo 3664249356 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: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
kpfleming e4880150b1 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
kpfleming f1822bc2a6 merge rizzo's codec module rework (very similar to the format module rework)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18541 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 21:40:57 +00:00
file 2ab8fe16e4 Add more 64-bit detection goodness (issue #6850 reported by evilbunny)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16564 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30 21:57:49 +00:00
rizzo 0901d3a59a 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: http://svn.digium.com/svn/asterisk/trunk@15784 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 21:15:10 +00:00
kpfleming 5ba06203e6 revert loader changes that have clearly not undergone adequate testing before commit
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14952 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25 23:22:44 +00:00
tilghman 2fa222dfb9 Bug 4377 - Round 2 of the loader updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14886 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25 06:02:46 +00:00
mattf 3a7fb44834 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14001 f38db490-d61c-443f-a65b-d21fe96a405b 2006-03-21 19:28:12 +00:00
tilghman c964b7ebf6 Bug 6709 - Simplify extensive embedded ifneq logic (and fix missing endif's)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12714 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-13 05:24:13 +00:00
russell 71bef7bacc 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: http://svn.digium.com/svn/asterisk/trunk@12610 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-12 18:07:23 +00:00
kpfleming 298fa6c9e1 merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10805 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22 22:53:49 +00:00
kpfleming 8d844f5bf8 set proper mime-type and eol-style on all files
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9991 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 19:14:15 +00:00