Commit Graph

262 Commits

Author SHA1 Message Date
Tilghman Lesher
9ef9784635 Merged revisions 214466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r214466 | tilghman | 2009-08-27 12:28:01 -0500 (Thu, 27 Aug 2009) | 9 lines
  
  Merged revisions 214436 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r214436 | tilghman | 2009-08-27 11:53:58 -0500 (Thu, 27 Aug 2009) | 2 lines
    
    One more build system change, to make the descriptions look better, if we have better information.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@214496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-27 20:24:48 +00:00
Tilghman Lesher
979d15eb9f Merged revisions 214152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r214152 | tilghman | 2009-08-25 17:39:51 -0500 (Tue, 25 Aug 2009) | 4 lines
  
  Not all versions of gnu-linux use glibc, which contains iconv.  Some (especially embedded systems) don't have iconv at all.
  (closes issue #15169)
   Reported by: pprindeville
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@214154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-25 22:42:51 +00:00
Kevin P. Fleming
21da1c5fde Merged revisions 201090 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r201090 | kpfleming | 2009-06-16 14:27:12 -0500 (Tue, 16 Jun 2009) | 5 lines
  
  Another minor fix to compiler attribute checking.
  
  Defaulting to 'static' for the function scope was bad... so remove it.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@201091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-16 19:28:00 +00:00
Kevin P. Fleming
6b120bb149 Merged revisions 200985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r200985 | kpfleming | 2009-06-16 11:32:36 -0500 (Tue, 16 Jun 2009) | 7 lines
  
  Fix problems with new compiler attribute checking in configure script.
  
  The last changes to ast_gcc_attribute.m4 caused some problems checking for
  various attributes, because the scope of the symbol the attribute is applied
  to can be important; this patch allows the scope to be specified for the check.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@200989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-16 16:35:45 +00:00
Russell Bryant
6555209ab2 Merged revisions 196946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r196946 | russell | 2009-05-26 17:40:34 -0500 (Tue, 26 May 2009) | 8 lines
  
  Update configure script to check for OSP toolkit 3.5.0.
  
  (closes issue #14988)
  Reported by: tzafrir
  Patches:
        configure.ac.diff uploaded by homesick (license 91)
        new_ast_check_osptk.m4 uploaded by homesick (license 91)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@196947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-26 22:42:04 +00:00
Tilghman Lesher
a6d5af5386 Merged revisions 191367 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r191367 | tilghman | 2009-04-30 12:40:58 -0500 (Thu, 30 Apr 2009) | 3 lines
  
  Detect eaccess (or euidaccess) before using it.
  Reported by Andrew Lindh via the -dev list.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@191369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-30 17:45:40 +00:00
Tilghman Lesher
ffb2afe61d Merged revisions 190093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r190093 | tilghman | 2009-04-22 16:38:15 -0500 (Wed, 22 Apr 2009) | 14 lines
  
  Merged revisions 190092 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r190092 | tilghman | 2009-04-22 16:35:03 -0500 (Wed, 22 Apr 2009) | 7 lines
    
    Detect availability of pthread_rwlock_timedwrlock() before using it.
    (closes issue #14930)
     Reported by: tilghman
     Patches: 
           20090420__bug14930.diff.txt uploaded by tilghman (license 14)
     Tested by: mvanbaak, tilghman
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@190095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-22 21:42:58 +00:00
Tilghman Lesher
0c1685f148 Merged revisions 189813 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r189813 | tilghman | 2009-04-22 01:33:08 -0500 (Wed, 22 Apr 2009) | 3 lines
  
  Detect liblua on SuSE, and add libm for linking for Fedora.
  (Reported via the -dev list, Subject: Compiling Asterisk with LUA)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@189815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-22 06:36:56 +00:00
Doug Bailey
0ace2e48d0 Merged revisions 189629 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r189629 | dbailey | 2009-04-21 09:28:04 -0500 (Tue, 21 Apr 2009) | 10 lines
  
  Merged revisions 189601 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r189601 | dbailey | 2009-04-21 09:00:55 -0500 (Tue, 21 Apr 2009) | 3 lines
    
    Add check in configure script to check for GLOB_NOMAGIC and GLOB_BRACE in glob.h 
    This allows config.c to compile when linked against uclibc that does not support these parameters
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@189642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-21 15:20:22 +00:00
Russell Bryant
eaacec583f Merged revisions 183242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r183242 | russell | 2009-03-19 13:00:15 -0500 (Thu, 19 Mar 2009) | 10 lines

Merged revisions 183241 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r183241 | russell | 2009-03-19 12:52:52 -0500 (Thu, 19 Mar 2009) | 2 lines

Remove the use of RTLD_NOLOAD, as it is not behaving like expected.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@183249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-19 18:14:55 +00:00
Russell Bryant
baab6e74b9 Merged revisions 182847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r182847 | russell | 2009-03-17 21:28:55 -0500 (Tue, 17 Mar 2009) | 52 lines

Merged revisions 182810 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r182810 | russell | 2009-03-17 21:09:13 -0500 (Tue, 17 Mar 2009) | 44 lines

Fix cases where the internal poll() was not being used when it needed to be.

We have seen a number of problems caused by poll() not working properly on 
Mac OSX.  If you search around, you'll find a number of references to using 
select() instead of poll() to work around these issues.  In Asterisk, we've 
had poll.c which implements poll() using select() internally.  However, we 
were still getting reports of problems.

vadim investigated a bit and realized that at least on his system, even 
though we were compiling in poll.o, the system poll() was still being used.  
So, the primary purpose of this patch is to ensure that we're using the 
internal poll() when we want it to be used.

The changes are:

1) Remove logic for when internal poll should be used from the Makefile.  
   Instead, put it in the configure script.  The logic in the configure 
   script is the same as it was in the Makefile.  Ideally, we would have 
   a functionality test for the problem, but that's not actually possible, 
   since we would have to be able to run an application on the _target_ 
   system to test poll() behavior.

2) Always include poll.o in the build, but it will be empty if AST_POLL_COMPAT
   is not defined.

3) Change uses of poll() throughout the source tree to ast_poll().  I feel 
   that it is good practice to give the API call a new name when we are 
   changing its behavior and not using the system version directly in all cases.
   So, normally, ast_poll() is just redefined to poll().  On systems where 
   AST_POLL_COMPAT is defined, ast_poll() is redefined to ast_internal_poll().

4) Change poll() in main/poll.c to be ast_internal_poll().

It's worth noting that any code that still uses poll() directly will work fine 
(if they worked fine before).  So, for example, out of tree modules that are 
using poll() will not stop working or anything.  However, for modules to work 
properly on Mac OSX, ast_poll() needs to be used.

(closes issue #13404)
Reported by: agalbraith
Tested by: russell, vadim

http://reviewboard.digium.com/r/198/

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@182946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-18 14:32:47 +00:00
Jason Parker
e1299dc1bd Merged revisions 181444 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r181444 | qwell | 2009-03-11 17:20:13 -0500 (Wed, 11 Mar 2009) | 11 lines
  
  Merged revisions 181436 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r181436 | qwell | 2009-03-11 17:18:42 -0500 (Wed, 11 Mar 2009) | 4 lines
    
    Allow prefix to set localstatedir (when used and different from the default).
    
    This is similar to the /etc change that was made for the non-FreeBSD case.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@181457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-11 22:23:48 +00:00
Jason Parker
274fd7f0ed Merged revisions 180944 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r180944 | qwell | 2009-03-10 17:03:41 -0500 (Tue, 10 Mar 2009) | 9 lines
  
  Merged revisions 180941 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r180941 | qwell | 2009-03-10 17:02:18 -0500 (Tue, 10 Mar 2009) | 1 line
    
    Make things happier when using autoconf 2.62+
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@180947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-10 22:07:18 +00:00
Jeff Peeler
10f903a9de Merged revisions 177162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r177162 | jpeeler | 2009-02-18 14:11:57 -0600 (Wed, 18 Feb 2009) | 14 lines
  
  Modify h323 to build against PTLib as well as the older PWLib
  
  Several changes in PTLib have occurred requiring build time detection. Changes
  accounted for include the library name change, config option change, install
  location change, and a boolean type change which is handled by ast_ptlib.h.
  Also, the sed check has been modified to properly work with autoconf >= 2.62.
  
  (closes issue #14224)
  Reported by: bergolth
  Patches:
        asterisk-autoconf-sed.patch uploaded by bergolth (license 661)
        asterisk-pwlib-v3.patch uploaded by bergolth (license 661)
  Tested by: jpeeler
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@177164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-18 20:16:31 +00:00
Joshua Colp
054e20548b Merged revisions 164257 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r164257 | file | 2008-12-15 11:41:22 -0400 (Mon, 15 Dec 2008) | 4 lines
  
  Make app_fax compatible with newer versions of spandsp. This remains backwards compatible with earlier versions though so do not fret.
  (closes issue #14073)
  Reported by: seandarcy
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@164266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-15 15:50:12 +00:00
Tilghman Lesher
9e5b0ce525 Merged revisions 163168 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r163168 | tilghman | 2008-12-11 14:02:35 -0600 (Thu, 11 Dec 2008) | 5 lines
  
  Sometimes even Linux needs -lm to link libtonezone, such as when libtonezone
  is compiled statically.
  (closes issue #13887)
   Reported by: tzafrir
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@163170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-11 20:05:43 +00:00
Tilghman Lesher
e1cf13b164 Merged revisions 160097 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r160097 | tilghman | 2008-12-01 15:23:37 -0600 (Mon, 01 Dec 2008) | 2 lines
  
  Use AST_EXT_LIB_SETUP before using AST_EXT_LIB_CHECK or bad things happen.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-01 21:46:26 +00:00
Kevin P. Fleming
c3347e79a5 Merged revisions 159818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r159818 | kpfleming | 2008-11-29 11:57:39 -0600 (Sat, 29 Nov 2008) | 18 lines
  
  incorporates r159808 from branches/1.4:
  ------------------------------------------------------------------------
  r159808 | kpfleming | 2008-11-29 10:58:29 -0600 (Sat, 29 Nov 2008) | 7 lines
  
  update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors
  
  since this branch already had some printf format attributes, enable checking for them and tag functions that didn't have them
  
  format attributes in a consistent way
  
  
  ------------------------------------------------------------------------
  
  in addition:
  
  move some format attributes from main/utils.c to the header files they belong in, and fix up references to the relevant functions based on new compiler warnings
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-29 18:16:50 +00:00
Tilghman Lesher
e20e4281a0 Merged revisions 159050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r159050 | tilghman | 2008-11-24 23:02:11 -0600 (Mon, 24 Nov 2008) | 10 lines
  
  Merged revisions 159025 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r159025 | tilghman | 2008-11-24 22:50:00 -0600 (Mon, 24 Nov 2008) | 3 lines
    
    System call ioperm is non-portable, so check for its existence in autoconf.
    (Closes issue #13863)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 05:05:18 +00:00
Tilghman Lesher
603d57fc4f Merged revisions 157784 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r157784 | tilghman | 2008-11-19 12:28:14 -0600 (Wed, 19 Nov 2008) | 6 lines
  
  Add check for t38_terminal_init in spandsp (not found in 0.0.6, so it should fail reasonably)
  (closes issue #13473)
   Reported by: genie
   Patches: 
         20080916__bug13473.diff.txt uploaded by Corydon76 (license 14)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-19 18:29:51 +00:00
Sean Bright
b58d925422 Merged revisions 157600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r157600 | seanbright | 2008-11-18 19:27:45 -0500 (Tue, 18 Nov 2008) | 10 lines
  
  Fix a few build problems on Solaris (and check for an md5 utility in
  configure instead of the icky loop I was doing before).
  
  (closes issue #13842)
  Reported by: snuffy
  Patches:
        bug13842_20081106.diff uploaded by snuffy (license 35)
        13842.diff uploaded by seanbright (license 71)
  Tested by: snuffy
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-19 00:38:23 +00:00
Kevin P. Fleming
f7254e0c70 ensure that an adequately new version of libpri is in place so that chan_dahdi will compile with PRI support
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-06 22:19:28 +00:00
Kevin P. Fleming
d660c03fdc Merged revision 153709 from trunk
------------------------------------------------------------------------
r153709 | kpfleming | 2008-11-02 17:34:39 -0600 (Sun, 02 Nov 2008) | 3 lines

instead of trying to forcibly load res_agi when app_stack is loaded (even if the administrator didn't want it loaded), use GCC weak symbols to determine whether it was loaded already or not; if it was loaded, then use it.


------------------------------------------------------------------------



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@153711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 00:21:04 +00:00
Kevin P. Fleming
c34b247297 Merged revisions 151242-151243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r151242 | kpfleming | 2008-10-20 07:59:04 +0300 (Mon, 20 Oct 2008) | 9 lines
  
  Merged revisions 151240 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r151240 | kpfleming | 2008-10-20 07:45:56 +0300 (Mon, 20 Oct 2008) | 3 lines
    
    break up acinclude.m4 into individual files, which will make it easier to maintain, easier to add new macros (less patching) and will ease maintenance of these macros across Asterisk branches
  ........
................
  r151243 | kpfleming | 2008-10-20 08:00:56 +0300 (Mon, 20 Oct 2008) | 9 lines
  
  Merged revisions 151241 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r151241 | kpfleming | 2008-10-20 07:57:33 +0300 (Mon, 20 Oct 2008) | 2 lines
    
    rename this macro to properly reflect what it does
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-20 05:06:29 +00:00
Mark Michelson
2556ab63cb Merged revisions 150210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r150210 | mmichelson | 2008-10-16 16:23:38 -0500 (Thu, 16 Oct 2008) | 12 lines

Change configure script to search for openais in 
both /usr/lib and /usr/lib64 since some distros
place 64-bit libraries only in the /usr/lib64 
directory.

(closes issue #13721)
Reported by: jcollie
Patches:
      0007-Look-in-64bit-dirs-for-openais.patch uploaded by jcollie (license 412)



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@150211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 21:24:47 +00:00
Steve Murphy
2c1bfe7643 Merged revisions 147807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r147807 | murf | 2008-10-09 08:17:33 -0600 (Thu, 09 Oct 2008) | 15 lines

(closes issue #13557)
Reported by: nickpeirson
Patches:
      pbx.c.patch uploaded by nickpeirson (license 579)
      replace_bzero+bcopy.patch uploaded by nickpeirson (license 579)
Tested by: nickpeirson, murf

1. replaced all refs to bzero and bcopy to memset and memmove instead.
2. added a note to the CODING-GUIDELINES
3. add two macros to asterisk.h to prevent bzero, bcopy from creeping
   back into the source
4. removed bzero from configure, configure.ac, autoconfig.h.in



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@147811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 15:06:21 +00:00
Sean Bright
a67ba50f17 Merged revisions 145771 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r145771 | seanbright | 2008-10-02 11:28:48 -0400 (Thu, 02 Oct 2008) | 1 line

This is much cleaner, methinks.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-02 15:30:52 +00:00
Sean Bright
65fca2aa54 Merged revisions 145692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r145692 | seanbright | 2008-10-01 19:48:16 -0400 (Wed, 01 Oct 2008) | 7 lines

Try a test compile using the GMime library.  Some distros install gmime-config
in the base package instead of the -devel package.  Now we print a notice and
disable GMime support instead of bombing during the main compilation.

(closes issue #13583)
Reported by: arkadia

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-01 23:54:44 +00:00
Sean Bright
54d9ba7671 Bring in the configure and makeopts jazz for -Wshadow, but don't add it to the
Makefile yet.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-08 18:19:33 +00:00
Sean Bright
6cf6d9eca5 Merge in changes that allow Asterisk to be built against the Hoard
memory allocator.  See doc/hoard.txt for more details.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-03 16:14:14 +00:00
Tilghman Lesher
e9fa4afa4e Merged revisions 134649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r134649 | tilghman | 2008-07-30 16:38:50 -0500 (Wed, 30 Jul 2008) | 4 lines

Qwell pointed out, via IRC, that the previous fix only worked when explicitly
set.  When nothing is set, and the option is implied, it breaks, because
configure sets the prefix to 'NONE'.  Fixing.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-30 21:40:08 +00:00
Tilghman Lesher
d37e1c898f Merged revisions 134536 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r134536 | tilghman | 2008-07-30 14:47:16 -0500 (Wed, 30 Jul 2008) | 4 lines

Only override sysconfdir and mandir when prefix=/usr
(closes issue #13093)
 Reported by: pabelanger

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-30 19:48:37 +00:00
Mark Michelson
99db9f65b5 This commit compensates for buggy poll(2)
implementations. Asterisk has, for a long time,
had its own implementation of poll(2) which
just used the input arguments to call select(2).
In 1.4, this internal implementation was used
for Darwin systems. This was removed in Asterisk
trunk at some point, but it seems as though this
was not the right move to make.

On Mac OS X, it appears as though the poll used
to gather CLI input does not respond properly
when connecting via a remote Asterisk console.
Reverting to the use of Asterisk's poll fixed
the issue.

Also, there is now an option for the configure
script, --enable-internal-poll, which will allow
for anyone to use Asterisk's internal poll
implementation in case they suspect that their
system's poll implementation is buggy.

closes issue #11928)
Reported by: adriavidal
Patches:
      1.6.0-configurev2.patch uploaded by putnopvut (license 60)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-28 19:53:56 +00:00
Kevin P. Fleming
d9e31c744a Merged revisions 132704 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r132704 | kpfleming | 2008-07-22 15:49:41 -0500 (Tue, 22 Jul 2008) | 2 lines

make AST_C_COMPILE_CHECK able to print a 'pretty' description of what it is doing

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@132705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-22 20:54:07 +00:00
Kevin P. Fleming
8115a6a9bf Merged revisions 132641 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r132641 | kpfleming | 2008-07-22 14:49:11 -0500 (Tue, 22 Jul 2008) | 2 lines

use renamed libpri API call for controlling this feature (was improperly named before)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@132643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-22 19:59:10 +00:00
Russell Bryant
c87f901cfd Remove libresample from the Asterisk source tree. It is now available in its
own repository, and must be installed like any other library for Asterisk to
use.  The two modules that require it are codec_resample and app_jack.

To install libresample:

$ svn co http://svn.digium.com/svn/libresample/trunk libresample
$ cd libresample
$ ./configure
$ make
$ sudo make install

This code is currently in our own repository because the build system did not
include the appropriate targets for building a dynamic library or for installing
the library.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@132390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-21 14:47:41 +00:00
Kevin P. Fleming
b968349e19 Merged revisions 130039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r130039 | kpfleming | 2008-07-11 10:41:56 -0500 (Fri, 11 Jul 2008) | 4 lines

add support for a configuration parameter for 'inband audio during RELEASE', which is currently mandatory in libpri-1.4.4 but will become configurable in libpri-1.4.5 later today

(related to issue #13042)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 15:57:17 +00:00
Kevin P. Fleming
e99eece42a some minor fixes found while working on issue #12911 (and block the rev from 1.4 since the equivalent is already here)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 16:22:02 +00:00
Kevin P. Fleming
00696f5f37 make the AIS checking a little more generic, and have a more useful configure script command line option for OpenAIS
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-01 17:22:47 +00:00
Kevin P. Fleming
71b3fd1ef7 various minor fixes created while i worked on getting *every* Asterisk module to build on laptop in dev mode:
remove weird pre-setting of LUA paths; they are not necessary; also use the proper path for including the files in pbx_lua.c

add searching for OpenAIS libraries in /usr/lib/openais if a path is not specified; not sure if this is really the optimal solution, but it works

make the compiler shut up about some ignored function results in pbx_gtkconsole; this module is badly coded anyway



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-29 16:19:29 +00:00
Sean Bright
19830f3359 Merge in changes from my cdr-tds-conversion branch. This changes the internal
implementation from using the volatile libtds, to using the db-lib front end.
The unintended side effect of this is that we support (at least) versions 0.62
through 0.82 of the FreeTDS distribution without any #ifdef ugliness.

(closes issue #12844)
Reported by: jcollie


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-28 21:28:16 +00:00
Kevin P. Fleming
fd4a60c459 Merged revisions 125132 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125132 | kpfleming | 2008-06-25 17:21:30 -0500 (Wed, 25 Jun 2008) | 10 lines

allow tonezone to live in a different place than DAHDI/Zaptel, since dahdi-tools and dahdi-linux are now separate packages and can be installed in different places

don't include tonezone.h in dahdi_compat.h, because only a couple of modules need it

get app_rpt building again after the DAHDI changes

(closes issue #12911)
Reported by: tzafrir


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-25 23:05:28 +00:00
Tilghman Lesher
4522c60ec8 Detect if the installed gcc version supports the warn_unused_result attribute.
Reported by mvanbaak via IRC -dev.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@123988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 17:55:34 +00:00
Jeff Peeler
ef3b214728 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 17:27:55 +00:00
Russell Bryant
661a2201ec Merge a couple of configure script checks in from team/russell/events. This adds
the checks for the CLM and EVT services from the SAForum AIS.  I'm going to work
on merging in changes from this branch in pieces.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 00:43:06 +00:00
Russell Bryant
64ee2bd3d7 After determining that the version of spandsp installed is an acceptable version,
do a build and link test to ensure that the library is usable, and that libtiff
is also available


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@119799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 15:57:43 +00:00
Russell Bryant
ef4a7eaf52 Add a configure script check for spandsp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@119795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 15:43:40 +00:00
Matthew Fredrickson
5e3d36e4aa Add Zap MTP2 support to chan_zap
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-11 03:23:05 +00:00
Joshua Colp
ea483db47a Merged revisions 115579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115579 | file | 2008-05-09 13:34:08 -0300 (Fri, 09 May 2008) | 2 lines

Improve res_ninit and res_ndestroy autoconf logic on the Darwin platform.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09 16:36:58 +00:00
Joshua Colp
2090cff75e Merged revisions 115341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115341 | file | 2008-05-06 10:54:15 -0300 (Tue, 06 May 2008) | 2 lines

Add in missing argument.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-06 13:55:44 +00:00