Commit Graph

310 Commits

Author SHA1 Message Date
Russell Bryant
1a4abf2895 Fix some chan_oss build system problems (these changes were already in trunk).
This is what caused a bunch of tests to fail on 1.6.2.  They expected a console
channel driver, but chan_oss was failing to load.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@268815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-07 22:13:04 +00:00
Tilghman Lesher
4aecdf8e3b Merged revisions 268127 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r268127 | tilghman | 2010-06-04 15:42:27 -0500 (Fri, 04 Jun 2010) | 9 lines
  
  Merged revisions 268126 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r268126 | tilghman | 2010-06-04 15:41:24 -0500 (Fri, 04 Jun 2010) | 2 lines
    
    AC_CONFIG_SUBDIRS has a bad side-effect on cross-compiles.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@268128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-04 20:43:27 +00:00
Tilghman Lesher
43421e5eba Merged revisions 267972 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r267972 | tilghman | 2010-06-04 11:31:25 -0500 (Fri, 04 Jun 2010) | 9 lines
  
  Merged revisions 267971 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r267971 | tilghman | 2010-06-04 11:27:02 -0500 (Fri, 04 Jun 2010) | 2 lines
    
    As-fixiate the build process
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@267973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-04 16:33:10 +00:00
Tilghman Lesher
461eb8f60b Merged revisions 263724,267819 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r263724 | tilghman | 2010-05-17 18:49:15 -0500 (Mon, 17 May 2010) | 8 lines
  
  Cache sound tarfiles in a common directory, such that a clean reinstall does not force a re-download of the tarballs.
  
  (closes issue #15370)
   Reported by: pprindeville
   Patches: 
         asterisk-trunk-bugid15370.patch uploaded by pprindeville (license 347)
   Tested by: pprindeville, tilghman, seanbright
........
  r267819 | tilghman | 2010-06-03 20:36:46 -0500 (Thu, 03 Jun 2010) | 2 lines
  
  If there's a default, turn it on, even when the option isn't specified.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@267820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-04 01:41:25 +00:00
Tilghman Lesher
5de8e8a0b0 Merged revisions 267775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r267775 | tilghman | 2010-06-03 20:20:17 -0500 (Thu, 03 Jun 2010) | 14 lines
  
  Merged revisions 267759 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r267759 | tilghman | 2010-06-03 20:16:26 -0500 (Thu, 03 Jun 2010) | 7 lines
    
    Make the default install path appear to be /usr on Linux, instead of /usr/local.
    
    Also, reorganize the options, so that they're more alphabetical.
    
    (closes issue #17013)
     Reported by: klaus3000
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@267787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-04 01:22:45 +00:00
Tilghman Lesher
a199f18aa6 Merged revisions 265747 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r265747 | tilghman | 2010-05-25 19:29:40 -0500 (Tue, 25 May 2010) | 8 lines
  
  Use configure to determine the prefixes and include directories properly.
  
  This ensures cross-platform compatibility, even among Linux distributions,
  which don't always put headers in the same place.
  
  (closes issue #17391)
   Reported by: loloski
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@265748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-26 00:33:49 +00:00
Tilghman Lesher
f134c6effe Merged revisions 264249 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r264249 | tilghman | 2010-05-19 12:48:31 -0500 (Wed, 19 May 2010) | 24 lines
  
  Merged revisions 264248 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r264248 | tilghman | 2010-05-19 12:41:29 -0500 (Wed, 19 May 2010) | 17 lines
    
    Internal timing is now on by default, if you're using DAHDI 2.3 or above.
    
    The reason for ensuring DAHDI 2.3 or above is that this version ensures that
    a timer is always available, whereas in previous versions, it was possible
    for DAHDI to be loaded, but have no drivers to actually generate timing.  If
    internal_timing was turned on in this circumstance, a complete lack of audio
    would result.  This is the reason why internal_timing was not on by default.
    However, now that DAHDI ensures the availability of a timer, there is no
    reason for this setting to be off (and in fact, it solves a great many initial
    user problems).
    
    (closes issue #15932)
     Reported by: dimas
     Patches: 
           20100519__issue15932.diff.txt uploaded by tilghman (license 14)
     Tested by: tilghman
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@264250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-19 17:49:44 +00:00
Tilghman Lesher
0ae6347592 Merged revisions 262048 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262048 | tilghman | 2010-05-07 21:40:01 -0500 (Fri, 07 May 2010) | 2 lines
  
  Use CPPFLAGS to pass PTHREAD_CFLAGS for vpb only
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@262051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-08 02:41:48 +00:00
Tilghman Lesher
c3cee12c21 Merged revisions 261913 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r261913 | tilghman | 2010-05-07 15:35:17 -0500 (Fri, 07 May 2010) | 14 lines
  
  Use the detected pthread building flags in every place, instead of hardcoding -lpthread.
  
  We nicely detect the right flags on each system for building Asterisk with
  pthreads, then ignore it for every other build option that requires us to
  build with pthreads.  This caused some items to return a false negative.
  Also cleanup some minor naming issues that caused "library library" redundancy
  in the output.
  
  (closes issue #17303)
   Reported by: stuarth
   Patches: 
         20100507__issue17303.diff.txt uploaded by tilghman (license 14)
   Tested by: stuarth
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@261916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-07 20:44:51 +00:00
Jason Parker
ac42a1404c Merged revisions 259848 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259848 | qwell | 2010-04-28 15:32:14 -0500 (Wed, 28 Apr 2010) | 9 lines
  
  Merged revisions 259847 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r259847 | qwell | 2010-04-28 15:30:21 -0500 (Wed, 28 Apr 2010) | 1 line
    
    Add AC_CONFIG_AUX_DIR to configure script, so systems without install can use install-sh from our source dir.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@259851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-04-28 20:34:07 +00:00
Jason Parker
9a58a727c4 Merged revisions 259760 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259760 | qwell | 2010-04-28 14:19:54 -0500 (Wed, 28 Apr 2010) | 14 lines
  
  Merged revisions 259748 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r259748 | qwell | 2010-04-28 14:17:38 -0500 (Wed, 28 Apr 2010) | 7 lines
    
    Remove usage of `id` since it isn't useful and was causing breakge.
    
    Solaris `id` doesn't support the -u argument.  Instead of figuring out how to
    fix this to work on Solaris, I decided to check why it was necessary and where
    else it was used.  It was only used in one place, and it hasn't been needed
    for a very long time (I question whether it was ever needed).
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@259781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-04-28 19:23:50 +00:00
Jason Parker
e2f2ebe518 Merged revisions 259353 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r259353 | qwell | 2010-04-27 14:31:55 -0500 (Tue, 27 Apr 2010) | 12 lines
  
  Merged revisions 259352 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r259352 | qwell | 2010-04-27 14:29:26 -0500 (Tue, 27 Apr 2010) | 5 lines
    
    Support the silly OSes that don't have ar and strip.
    
    Since AC_PATH_TOOL is equiv to AC_CHECK_TOOL when path isn't specified, and
    AC_PATH_TOOLS doesn't exist, we'll just switch to AC_CHECK_TOOLS.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@259356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-04-27 19:35:52 +00:00
Leif Madsen
74bf257e39 Merged revisions 258351 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r258351 | lmadsen | 2010-04-21 14:18:35 -0500 (Wed, 21 Apr 2010) | 20 lines
  
  Add ability to generate ASCII documentation from the TeX files.
  
  These changes add the ability to run 'make asterisk.txt' just like the existing
  'make asterisk.pdf' commands to generate a text document from the TeX files we
  have in the doc/tex/ directory. I've also updated a few of the .tex files because
  they weren't properly escaping certain characters so they would show up as Unicode
  characters (like [U+021C]). Made changes to the configure scripts so it would
  detect the catdvi program which is required to convert the .dvi file generated
  by latex.
  
  I've also added a few lines to the build_tools/prep_tarball script so that the
  text documentation gets generated and added to future tarballs of Asterisk
  releases.
  
  (closes issue #17220)
  Reported by: lmadsen
  Patches: 
        asterisk.txt.patch uploaded by lmadsen (license 10)
        asterisk.txt.patch-v4 uploaded by pabelanger (license 224)
  Tested by: lmadsen, pabelanger
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@258384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-04-21 19:30:18 +00:00
Tilghman Lesher
d680d86948 Merged revisions 256370 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r256370 | tilghman | 2010-04-06 14:28:42 -0500 (Tue, 06 Apr 2010) | 2 lines
  
  Mac OS X does not support comparing a mutex to its initializer.  Create a test for this.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@256373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-04-06 19:40:22 +00:00
Tilghman Lesher
e2e66d446c Merged revisions 246030 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246030 | tilghman | 2010-02-10 10:01:28 -0600 (Wed, 10 Feb 2010) | 12 lines
  
  Solaris doesn't like outputting a NULL to a %s in format strings.
  
  Detect all platforms that don't like that, either, and ensure that when documentation is
  missing, we pass a non-NULL pointer when outputting the corresponding documentation.
  
  (closes issue #16689)
   Reported by: bklang
   Patches: 
         20100209__issue16689__with_tests.diff.txt uploaded by tilghman (license 14)
   
  Review: https://reviewboard.asterisk.org/r/497/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@246199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-10 19:49:18 +00:00
Tilghman Lesher
724693d26b Merged revisions 242967,242971 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242967 | tilghman | 2010-01-25 15:38:33 -0600 (Mon, 25 Jan 2010) | 9 lines
  
  Merged revisions 242966 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r242966 | tilghman | 2010-01-25 15:36:33 -0600 (Mon, 25 Jan 2010) | 2 lines
    
    Only rebuild parsers by an option in menuselect
  ........
................
  r242971 | tilghman | 2010-01-25 15:51:41 -0600 (Mon, 25 Jan 2010) | 9 lines
  
  Merged revisions 242969 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r242969 | tilghman | 2010-01-25 15:50:22 -0600 (Mon, 25 Jan 2010) | 2 lines
    
    Err, and use the new menuselect define, too.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@242974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-25 21:53:48 +00:00
Tilghman Lesher
887a602b79 Merged revisions 242857 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242857 | tilghman | 2010-01-25 14:18:15 -0600 (Mon, 25 Jan 2010) | 9 lines
  
  Merged revisions 242852 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r242852 | tilghman | 2010-01-25 14:15:45 -0600 (Mon, 25 Jan 2010) | 2 lines
    
    Restore FreeBSD to able-to-compile-ish-mode
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@242889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-25 20:24:30 +00:00
Tilghman Lesher
c2746e94a7 Merged revisions 242521 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r242521 | tilghman | 2010-01-24 00:40:31 -0600 (Sun, 24 Jan 2010) | 15 lines
  
  Merged revisions 242520 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r242520 | tilghman | 2010-01-24 00:33:01 -0600 (Sun, 24 Jan 2010) | 8 lines
    
    Only rebuild bison and flex source files on demand, if bison and flex are detected by the configure script.
    
    Changed after discussion on the -dev list about possible unnecessary build
    failures, due to checkouts/untars causing these special source files to
    possibly be newer than their resulting C files.  This should additionally
    ensure that nobody need learn about extra Makefile arguments to ensure the
    proper files get rebuilt when changes are made to these special source files.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@242522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-24 06:42:23 +00:00
Sean Bright
95d71bd518 Merged revisions 241938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r241938 | seanbright | 2010-01-21 10:27:42 -0500 (Thu, 21 Jan 2010) | 12 lines
  
  Merged revisions 241932 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r241932 | seanbright | 2010-01-21 10:25:46 -0500 (Thu, 21 Jan 2010) | 5 lines
    
    Fix configure check for PTHREAD_ONCE_INIT when manually adding -Wall to CFLAGS.
    
    (closes issue #16666)
    Reported by: romain_proformatique
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@241941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-21 15:32:48 +00:00
Sean Bright
d05977c54f Merged revisions 236613 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r236613 | seanbright | 2009-12-28 10:22:54 -0500 (Mon, 28 Dec 2009) | 14 lines
  
  Merged revisions 236585 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r236585 | seanbright | 2009-12-28 10:12:08 -0500 (Mon, 28 Dec 2009) | 7 lines
    
    Try a test compile to see if PTHREAD_ONCE_INIT requires extra braces.
    
    There was conditional code (based on build platform) to optioinally wrap
    PTHREAD_ONCE_INIT in braces that was removed since it is fixed in newer versions
    of Solaris/OpenSolaris, but I am still running into it on Solaris 10 x86 so add
    a configure-time check for it.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@236635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-28 15:31:25 +00:00
Tilghman Lesher
869d4c45f0 Merged revisions 235656 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r235656 | tilghman | 2009-12-18 16:40:46 -0600 (Fri, 18 Dec 2009) | 9 lines
  
  Merged revisions 235652 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r235652 | tilghman | 2009-12-18 16:39:30 -0600 (Fri, 18 Dec 2009) | 2 lines
    
    Revise verbiage, per #asterisk-dev discussion
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@235659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-18 22:42:50 +00:00
Tilghman Lesher
7aee23102d Merged revisions 235573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r235573 | tilghman | 2009-12-18 15:19:43 -0600 (Fri, 18 Dec 2009) | 9 lines
  
  Merged revisions 235572 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r235572 | tilghman | 2009-12-18 15:18:16 -0600 (Fri, 18 Dec 2009) | 2 lines
    
    Point to the typical missing package, not the cryptic "termcap support".
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@235576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-18 21:22:04 +00:00
Tzafrir Cohen
b05bc109de detect ARM Linux EABI OSARCH as linux-gnu instead of linux-gnueabi
* Set OSARCH to linux-gnu even if host_os is linux-gnueabi
* When checking if we are Linux, check OSARCH rather than host_os

The newer ARM ABI ("EABI") shows the OS name 'linux-gnueabi' rather than
'linux-gnu' . This patch sets OSARCH to be 'linux-gnu' even in such a case.

OSARCH is tested for the value of 'linux-gnu' in one or two places in the
tree. This patch also fixes the check libcap to check for $OSARCH rather
than $host_os .

See also: http://wiki.debian.org/ArmEabiPort

Merged revisions 225957 via svnmerge from 
http://svn.digium.com/svn/asterisk/branches/1.4

Merged revisions 226018 via svnmerge from 
http://svn.digium.com/svn/asterisk/trunk


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@226055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-27 00:16:39 +00:00
Tilghman Lesher
571890c856 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.2@217647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-10 18:19:58 +00:00
Kevin P. Fleming
2b2b717d71 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.2@217077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-08 16:39:54 +00:00
Tilghman Lesher
5372378abb 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.2@214822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-30 06:45:14 +00:00
Kevin P. Fleming
7838215111 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.2@214700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-28 20:05:56 +00:00
Tilghman Lesher
23a70136b7 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.2@214521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-27 21:49:51 +00:00
Tilghman Lesher
ef5ae5be67 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.2@214504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-27 20:27:03 +00:00
Tilghman Lesher
aa1b25b24d 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.2@214155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-25 22:43:00 +00:00
Kevin P. Fleming
e586f666c6 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.2@201092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-16 19:28:32 +00:00
Kevin P. Fleming
c00866ad64 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.2@200990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-16 16:36:54 +00:00
Russell Bryant
77cfa5b791 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.2@196949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-26 22:44:15 +00:00
Tilghman Lesher
015d00b612 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.2@191370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-30 17:46:11 +00:00
Tilghman Lesher
a8af53fe04 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.2@190096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-22 21:43:25 +00:00
Tilghman Lesher
492494b853 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.2@189816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-22 06:37:09 +00:00
Russell Bryant
89e2c98dfe 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.2@183263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-19 18:20:33 +00:00
Russell Bryant
b085426cda 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.2@182947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-18 14:39:05 +00:00
Russell Bryant
77a6840fd3 Add MFC/R2 support for chan_dahdi.
This commit introduces official support for R2 signaling in chan_dahdi.  The
modifications to chan_dahdi, and the supporting library, LibOpenR2, were both
written by Moises Silva.

Many users are using this code, or a variant of it, in Asterisk 1.2, 1.4 and 1.6
in Brazil, México and Argentina. An unknown number of users (but at least 1) 
are using it in each of the following countries: Colombia, Nepal, Thailand, 
Venezuela, Perú, and probably others.

To use this code, LibOpenR2 must be installed from http://www.libopenr2.org/.
Information about configuration can be found in configs/chan_dahdi.conf.sample.

The code committed is the most up to date version, which was being maintained
in svn/asterisk/team/moy/mfcr2/.

I would also like to include a Thank You to the many others that tested this
code beyond those listed in this commit message.  These are the names that I
could find in the mantis issue.

(closes issue #12509)
Reported by: moy
Patches:
      chan_zap-mfr2.patch uploaded by moy (license 222)
Tested by: moy, korihor, viniciusfontes, Skarmeth, loloski, asbestoshead, titogarrido, heliocoelhojr, konsultex, ncorrare, ecarruda, rtorresduque, PTorres, ychen

Review: http://reviewboard.digium.com/r/40/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@182355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-16 20:35:58 +00:00
Jason Parker
d555f6b98b 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/trunk@181444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-11 22:20:13 +00:00
Jason Parker
1322112da0 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/trunk@180944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-10 22:03:41 +00:00
Tilghman Lesher
4ac2fd4cde Use notification when timezone files change and re-scan then.
(closes issue #14300)
 Reported by: jamessan
 Patches: 
       20090127__bug14300.diff.txt uploaded by tilghman (license 14)
       20090224__bug14300.diff uploaded by jamessan (license 246)
 Tested by: jamessan
 Review: http://reviewboard.digium.com/r/136/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@178605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-25 19:24:44 +00:00
Jeff Peeler
c8fe75da36 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/trunk@177162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-18 20:11:57 +00:00
Tilghman Lesher
e179e613f7 1. Make OS X compile cleanly with app_stack.
2. Use curl to download sound files, as curl is installed natively on OS X,
whereas wget and fetch are not.
(closes issue #14332)
 Reported by: oej
 Tested by: Corydon76


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@173130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-03 00:29:49 +00:00
Doug Bailey
9a28a07739 change VMWI to use new DAHDI_VMWI ioctl call.
Change configure script to detect the new ioctl call data structure.    
(issue #14104)
Reported by: alecdavis
Patches:
      mwiioctl_structure_asterisk.diff4.txt uploaded by dbailey (license )
Tested by: alecdavis, dbailey


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@170112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-22 15:49:24 +00:00
Kevin P. Fleming
9a7efae8fd remove the PBX_ODBC logic from the configure script, and add GENERIC_ODCB logic that includes copying the relevant LIB and INCLUDE data from either UnixODBC or iODBC, based on which was found; if both were found, prefer UnixODBC
this stops modules from being linked against both sets of libraries on systems that have both installed



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-15 20:18:53 +00:00
Tilghman Lesher
fd3cb90841 Some platforms (notably, the BSDs) have a more efficient implementation called
closefrom(3).


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-12 23:06:12 +00:00
Matthew Fredrickson
775033301a Add configuration support for half_full DAHDI buffer policy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@166058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-19 21:44:18 +00:00
Michiel van Baak
d2d96b10ac introduce 'core show sysinfo' for systems that dont have the Linux-ish sysinfo stuff but do have sysctl.
(closes issue #13433)
Reported by: mvanbaak
Patches:
      2008121300_sysinfosysctl.diff.txt uploaded by mvanbaak (license 7)
	  with two free calls replaced with ast_free based on feedback on reviewboard
Review:
      http://reviewboard.digium.com/r/91/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-16 20:08:34 +00:00
Joshua Colp
8be6bc5f67 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/trunk@164257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-15 15:41:22 +00:00