Commit Graph

270 Commits

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

........
  r217638 | tilghman | 2009-09-10 13:17:14 -0500 (Thu, 10 Sep 2009) | 4 lines
  
  Verify support for wide ODBC character types before using them.
  (closes issue #15870)
   Reported by: nic_bellamy
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-10 18:18:39 +00:00
Kevin P. Fleming
4d834c9af8 Merged revisions 217074 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r217074 | kpfleming | 2009-09-08 11:37:28 -0500 (Tue, 08 Sep 2009) | 9 lines
  
  Ensure that the default autoconf CFLAGS are not used.
  
  A recent change to the configure script that allows the user to specify
  CFLAGS and/or LDFLAGS to the script had the unfortunate side effect of
  letting autoconf's default CFLAGS (-g -O2) feed in to the rest of the build
  system, thereby overriding the DONT_OPTIMIZE setting in menuselect. That
  problem is now corrected.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@217076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-08 16:39:24 +00:00
Tilghman Lesher
9e5598bb59 Merged revisions 214819 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r214819 | tilghman | 2009-08-30 01:43:04 -0500 (Sun, 30 Aug 2009) | 4 lines
  
  If lua is detected with the lua5.1 prefix (or not), adjust the include path accordingly.
  Based upon feedback to a release announcement on the -users list.  See
  http://lists.digium.com/pipermail/asterisk-users/2009-August/236954.html
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@214821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-30 06:45:07 +00:00
Kevin P. Fleming
decc581214 Merged revisions 214696 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r214696 | kpfleming | 2009-08-28 15:01:21 -0500 (Fri, 28 Aug 2009) | 9 lines
  
  Ensure that CFLAGS and/or LDFLAGS provided to configure script are preserved.
  
  Cross-compilation environments want to provide 'defaults' for compiler and
  linker options, and frequently do this by specifying CFLAGS and LDFLAGS in the
  environment or as command-line arguments to the configure script. This patch
  modifies the configure script and Makefile to preserve these settings and
  ensure they are used in the build process.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@214699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-28 20:05:04 +00:00
Tilghman Lesher
b8d68dcb9b Merged revisions 214518 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r214518 | tilghman | 2009-08-27 16:46:46 -0500 (Thu, 27 Aug 2009) | 14 lines
  
  Merged revisions 214517 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r214517 | tilghman | 2009-08-27 16:45:34 -0500 (Thu, 27 Aug 2009) | 7 lines
    
    Use autoconf to detect libcurl, as this enables cross-compilation checks, something we didn't allow before.
    (closes issue #15714)
     Reported by: pprindeville
     Patches: 
           20090813__issue15714.diff.txt uploaded by tilghman (license 14)
     Tested by: pprindeville
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@214520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-27 21:48:51 +00:00
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
e605e6e750 Merged revisions 214360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r214360 | tilghman | 2009-08-27 11:12:03 -0500 (Thu, 27 Aug 2009) | 10 lines
  
  Merged revisions 214357 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r214357 | tilghman | 2009-08-27 11:03:50 -0500 (Thu, 27 Aug 2009) | 3 lines
    
    Make autoheader descriptions render correctly in our autoconfig.h file.
    (Figured out while working with issue #14906)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@214365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-27 16:17:26 +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
Kevin P. Fleming
c4acb78d1e Merged revisions 200764 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r200764 | kpfleming | 2009-06-15 20:28:08 -0500 (Mon, 15 Jun 2009) | 11 lines
  
  Ensure that configure-script testing for compiler attributes actually works.
  
  The configure script tests for compiler attributes didn't actually enable
  enough warnings or provide a proper test harness to determine whether the 
  compiler supports the attribute in question or not; this caused gcc 4.1 to
  report that it supports 'weakref', but it doesn't actually support it in the
  way that is needed for our optional API mechanism. The new configure script
  test will properly distinguish between full support and partial support
  for this attribute, among others.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@200766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-16 01:32:13 +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
2497320ba8 Recorded merge of revisions 192171 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r192171 | tilghman | 2009-05-04 14:29:13 -0500 (Mon, 04 May 2009) | 8 lines
  
  Restore 'asyncagi break' command to 1.6.1 and higher.
  (closes issue #14985)
   Reported by: nikkk
   Patches: 
         20090428__bug14985.diff.txt uploaded by tilghman (license 14)
         20090429__bug14985__1.6.1.diff.txt uploaded by tilghman (license 14)
   Tested by: nikkk
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@192172 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-04 19:30:34 +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
Kevin P. Fleming
3f2c29bc5c Merged revisions 190725 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r190725 | kpfleming | 2009-04-27 14:30:54 -0500 (Mon, 27 Apr 2009) | 13 lines
  
  Merged revisions 190721 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r190721 | kpfleming | 2009-04-27 14:29:46 -0500 (Mon, 27 Apr 2009) | 7 lines
    
    Fix 'inconsistent line endings' when autoconf 2.63 is used
    
    Attempt to make configure script regeneration 'safe' using autoconf 2.63, which embeds a bare CR into the script, thus making Subversion complain about inconsistent line endings
    
    This commit changes the MIME type of the configure script to be 'binary' thus making Subversion no longer inspect line endings, and as a bonus 'svn diff' will no longer try to generate diff output for it, which is not generally useful anyway.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@190731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-27 19:42:07 +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
Jeff Peeler
90907a186f Merged revisions 182722 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r182722 | jpeeler | 2009-03-17 15:47:31 -0500 (Tue, 17 Mar 2009) | 15 lines
  
  Allow H.323 Plus library to be used in addition to the OpenH323 library
  
  Chan_h323 can now be compiled against both the previously supported versions of
  OpenH323 as well as the current H.323 Plus (version 1.20.2). The configure
  script has been modified to look in the default install location of h323 to
  hopefully help avoid using the environment variables OPENH323DIR and PWLIBDIR.
  Also, the CLI command "h323 show version" has been added which indicates which
  version of h323 is in use.
  
  (closes issue #11261)
  Reported by: vhatz
  Patches:
        asterisk-1.6.0.6-h323plus.patch uploaded by jthurman (license 614)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@182724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-17 20:52:54 +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
Tilghman Lesher
95c892e3f9 Merged revisions 172441 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r172441 | tilghman | 2009-01-29 17:15:40 -0600 (Thu, 29 Jan 2009) | 16 lines
  
  Merged revisions 172438 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r172438 | tilghman | 2009-01-29 16:54:29 -0600 (Thu, 29 Jan 2009) | 9 lines
    
    Lose the CAP_NET_ADMIN at every fork, instead of at startup.  Otherwise, if
    Asterisk runs as a non-root user and the administrator does a 'restart now',
    Asterisk loses the ability to set QOS on packets.
    (closes issue #14004)
     Reported by: nemo
     Patches: 
           20090105__bug14004.diff.txt uploaded by Corydon76 (license 14)
     Tested by: Corydon76
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@172504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-29 23:53:12 +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
Mark Michelson
698278dfd8 Merged revisions 156612 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r156612 | mmichelson | 2008-11-13 11:07:56 -0600 (Thu, 13 Nov 2008) | 4 lines

Kevin sent a note indicating that this change is
not necessary, so I am reverting it


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-13 17:12:35 +00:00
Mark Michelson
3eb4f927d3 Merged revisions 156127 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r156127 | mmichelson | 2008-11-12 09:33:11 -0600 (Wed, 12 Nov 2008) | 5 lines

Add a couple of AC_SUBST calls to the AST_C_COMPILE_CHECK
macro. These missing calls were discovered when working on
timerfd support in a separate branch.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 15:34:43 +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
1158eecf0f Merged revisions 142417 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r142417 | seanbright | 2008-09-10 15:09:03 -0400 (Wed, 10 Sep 2008) | 17 lines

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

........
r142416 | seanbright | 2008-09-10 15:05:46 -0400 (Wed, 10 Sep 2008) | 9 lines

Fix detection of PWLIB and OpenH323 version when spacing in the headers
isn't consistent.

(closes issue #13426)
Reported by: bamby
Patches:
      detect_openh323.diff uploaded by bamby (license 430)
      (Modified by me to use sed instead of tr)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@142419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-10 19:14:10 +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