Kevin P. Fleming
5875146526
Merged revisions 107461 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r107461 | kpfleming | 2008-03-11 09:33:45 -0500 (Tue, 11 Mar 2008) | 2 lines
stop checking for mktime() in the configure script... we don't use it, and the test is buggy under gcc 4.3
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@107462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-11 14:37:03 +00:00
Kevin P. Fleming
c7eebb3db8
Merged revisions 107408 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r107408 | kpfleming | 2008-03-11 09:07:59 -0500 (Tue, 11 Mar 2008) | 5 lines
check for compiler support for -fno-strict-overflow before using it (tested with Debian's gcc 4.3, 4.1 and 3.4)
(closes issue #12179 )
Reported by: Netview
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@107409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-11 14:09:49 +00:00
Kevin P. Fleming
90786d21c9
Merged revisions 107405 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r107405 | kpfleming | 2008-03-11 08:57:08 -0500 (Tue, 11 Mar 2008) | 2 lines
fix small bug in IMAP toolkit testing
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@107406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-11 13:58:37 +00:00
Doug Bailey
552b782fc2
Add protection to chan_zap build when NEONMWI events are not defined
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-22 23:56:55 +00:00
Joshua Colp
edad328409
Disable epoll as it has caused more obscure issues then any of my previous code. I will continue to work on it in a separate branch to make it stable for a release and test it against the following issues.
...
(closes issue #11253 )
Reported by: falves11
(closes issue #11657 )
Reported by: davevg
(closes issue #11033 )
Reported by: falves11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-21 16:44:57 +00:00
Joshua Colp
c3a1ec6d98
Merged revisions 103812 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r103812 | file | 2008-02-19 13:31:32 -0400 (Tue, 19 Feb 2008) | 4 lines
Don't look for launchd when cross compiling.
(closes issue #12029 )
Reported by: ovi
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-19 17:33:55 +00:00
Mark Michelson
6923be5f30
Merged revisions 103722 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r103722 | mmichelson | 2008-02-15 11:26:37 -0600 (Fri, 15 Feb 2008) | 8 lines
Final round of changes for configure script logic for IMAP
Now if a directory is specified, then we will search that directory for
a source installation of the IMAP toolkit. If none is found, then we will
use that directory as the basis for detecting a package installation of
the IMAP c-client. If that check fails, then configure will fail.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-15 17:32:43 +00:00
Mark Michelson
cd7f33a39f
Merging of changes from 1.4 revision 103713.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-15 15:11:23 +00:00
Mark Michelson
d3b1054f6a
Same changes as made to 1.4 in revision 103710
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-15 00:59:21 +00:00
Mark Michelson
f92d84211d
See commit message for svn revision 103698. This behavior is the same as what is described
...
there. The difference is that trunk already had the --with-imap=system option, but it only
checked the include path for headers in the imap directory and not also the c-client directory.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-14 23:39:47 +00:00
Jason Parker
85c7af3810
Modify ldap autoconf function, so that an incorrect ldap library is not found on Solaris (it is incompatible).
...
Also removes second check for awk, which causes Solaris to find an incompatible version of awk.
(closes issue #11829 )
Reported by: snuffy
Patches:
bug-11829.diff uploaded by snuffy (license 35)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-14 21:21:53 +00:00
Tilghman Lesher
1dc86caf30
Merged revisions 102323 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102323 | tilghman | 2008-02-04 15:06:09 -0600 (Mon, 04 Feb 2008) | 7 lines
Cross-platform fix: OS X now deprecates the use of the daemon(3) API.
(closes issue #11908 )
Reported by: oej
Patches:
20080204__bug11908.diff.txt uploaded by Corydon76 (license 14)
Tested by: Corydon76
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-04 21:15:18 +00:00
Russell Bryant
aa30cd9bc5
Change the version number in the configure script from 1.4 to 1.6
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-03 06:43:57 +00:00
Tilghman Lesher
bfd26b9cfd
Merged revisions 101894 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101894 | tilghman | 2008-02-01 13:36:12 -0600 (Fri, 01 Feb 2008) | 2 lines
Change detection of getifaddrs to use AST_C_COMPILE_CHECK, backported from trunk (as suggested by kpfleming)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 19:44:39 +00:00
Tilghman Lesher
1ce6a2d5ec
Merged revisions 101772 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101772 | tilghman | 2008-02-01 09:55:58 -0600 (Fri, 01 Feb 2008) | 2 lines
Compatibility fix for OpenWRT (reported by Brian Capouch via the mailing list)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 16:01:22 +00:00
Mark Michelson
f007eba6d9
Re-inserting chan_vpb into trunk.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-28 21:07:18 +00:00
Tilghman Lesher
8fd1e10d3d
Normalize the detection for execinfo, so that Linux (glibc) and other platforms
...
with libexecinfo will generate inline stack backtraces correctly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-28 18:27:29 +00:00
Mark Michelson
7a90863973
Removing chan_vpb from the tree
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@100420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-25 22:39:35 +00:00
Tilghman Lesher
cfa0ec1f97
Add res_config_ldap for realtime LDAP engine.
...
(closes issue #5768 )
Reported by: mguesdon
Patches:
res_config_ldap-v0.7.tar.gz uploaded by mguesdon (license 121)
res_ldap.conf.sample uploaded by suretec (license 70)
asterisk-v3.1.4.ldif uploaded by suretec (license 70)
asterisk-v3.1.4.schema uploaded by suretec (license 70)
Tested by: oej, mguesdon, suretec, cthorner
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-22 22:33:20 +00:00
Jason Parker
f2d31ec0c8
Change AST_EXT_TOOL_CHECK to attempt to build against <package>_LIB, per recommendations from Russell.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-16 23:08:11 +00:00
Jason Parker
19b4c52bf4
Partially revert r93898, because it broke the way netsnmp was being detected.
...
rizzo, do you want to discuss so we can rethink this, or do you have another way?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-16 19:41:25 +00:00
Joshua Colp
c692e1cacb
Merged revisions 98951 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r98951 | file | 2008-01-15 21:13:27 -0400 (Tue, 15 Jan 2008) | 4 lines
Add autoconf logic for speexdsp. Later versions use a separate library for some things so we need to use it if present in codec_speex.
(closes issue #11693 )
Reported by: yzg
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-16 01:17:25 +00:00
Russell Bryant
d20cb305af
Add configure script check for JACK.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-13 18:08:50 +00:00
Russell Bryant
bed72d73b0
Remove KDE configure script check that isn't used
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-13 18:01:56 +00:00
Russell Bryant
25275cc862
Add some extra checking to help out with a potential error when trying to
...
run "make asterisk.pdf" when not all of the right packages are installed.
(closes issue #10763 )
Reported by: Corydon76
Patches:
20070919__bug10763.diff.txt uploaded by Corydon76 (license 14)
Tested by: Corydon76
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-11 23:57:01 +00:00
Russell Bryant
de1176ee28
Use AST_EXT_TOOL_CHECK() for the GTK check again. I changed this to an inline
...
implementation to fix a small bug, but after a discussion with rizzo, I went to
change it back. Also, it turns out that the implementation of the macro already
supported what was needed to fix the problem.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-10 16:27:03 +00:00
Russell Bryant
c53f95e29f
Merged revisions 97734 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r97734 | russell | 2008-01-10 10:10:09 -0600 (Thu, 10 Jan 2008) | 4 lines
Remove pbx_kdeconsole from the tree. It hasn't worked in ages, and nobody has
complained.
(closes issue #11706 , reported by caio1982)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-10 16:15:43 +00:00
Russell Bryant
4bc52d1abe
re-add check for gtk1, which is used for pbx_gtkconsole
...
(related to issue #11706 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-09 22:51:15 +00:00
Kevin P. Fleming
f4fba89489
[commit message]
...
(closes issue #10393 )
Reported by: tzafrir
Patches:
chan_alarm_asterisk.diff uploaded by tzafrir (license 46) (modified by me and added configure script support)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-04 17:21:25 +00:00
Joshua Colp
54567cf2f7
Don't use AST_C_DEFINE_CHECK for the two pthread things that may not actually be definitions, they could be enums for example.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02 22:40:55 +00:00
Kevin P. Fleming
cbfd5678ea
improve AC_C_DEFINE_CHECK to not try to evaluate the macro being checked for, but just check for its existence
...
finish implementation of check for Zaptel HWGAIN support
add check for Zaptel ECHOCANCEL_PARAMS support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02 19:34:33 +00:00
Kevin P. Fleming
78c35db4da
actually check for a function present in libiconv (don't know how this test could have worked before) and don't do the check on Linux/GNU systems because libiconv is not present there and attempting to link with '-liconv' always fails (it's not necessary as the iconv functionality is always available)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-02 14:20:46 +00:00
Luigi Rizzo
b1c35179e6
implement "configure" checks for libiconv, and add the
...
iconv dependency for func_iconv.
This fixes some build issues on CYGWIN and FreeBSD and probably
other platforms where libiconv is not there by default
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-01 22:08:32 +00:00
Russell Bryant
7d0eacfb03
Add configure script checking for portaudio.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-31 15:20:30 +00:00
Russell Bryant
0e08d5e7dc
Merged revisions 94077 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r94077 | russell | 2007-12-19 16:48:48 -0600 (Wed, 19 Dec 2007) | 4 lines
Check for the existence of the soxmix application on the target platform and have
the result available in autoconfig.h.
(part of issue #11589 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-19 22:51:03 +00:00
Luigi Rizzo
ea8af9b995
Properly document AST_EXT_TOOL_CHECK() and use it to check for
...
NETSMP and GTK (GTK is not used thoug).
AST_EXT_TOOL_CHECK() could be used for checking curl status
as well, perhaps with a small addition because we currently seem
to require a curl version greater than X.Y.Z
Add a NETSMP_INCLUDE entry in makeopts.in
We don't have yet any macros for using pkg-config to check
for a specific package (right now there is only gtk2+
in the category).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-19 08:57:45 +00:00
Kevin P. Fleming
01f8a6959b
make the configure script detect that it is running on a Windows platform, and report that information so that menuselect can use it (all information that is used to decide whether to build modules or not must be fed to menuselect so the user knows what will be built and why... don't make module build decisions in the makefiles, please)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17 17:11:06 +00:00
Kevin P. Fleming
100ef27af9
Merged revisions 93180 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r93180 | kpfleming | 2007-12-16 22:44:51 -0800 (Sun, 16 Dec 2007) | 23 lines
In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html ,
rizzo brought up some issues related to the way that the metadata required
for menuselect and the rest of the build system is extracted from the source
files. Since I had a few hours to kill on an airplane today, I decided to
improve this situation... so now the system caches the extracted metadata
and uses it to build the menuselect 'tree' as much as it can. The result
of this is that when a single source file is changed, only the metadata for
that file needs to be extracted again, and the rest is used from the cache
files. I also reduced the number of forked processes required to do the
metadata extraction; it was actually possible to do most of what we needed
in the Makefiles themselves without using any shell scripts at all! On my
laptop, these changes resulted in an 80% decrease in the time required
for the 'menuselect.makeopts' automatic check to occur after editing a single
source file.
While doing this work I also cleaned up a few minor things in the Makefiles,
adding a check for 'awk' to the configure script and changed all remaining
places we use 'grep' or 'awk' to use the ones found by the configure script,
and changed the 'prep_tarball' script to build the menuselect metadata so
that tarballs of Asterisk will include it and won't require the user to
wait while it is extracted after unpacking.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17 07:25:35 +00:00
Tilghman Lesher
2d93695fba
Merged revisions 92463 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r92463 | tilghman | 2007-12-12 10:52:56 -0600 (Wed, 12 Dec 2007) | 4 lines
Test directly for the API that fixed AST-2007-026, to ensure that older
versions of PostgreSQL are no longer acceptable.
(Closes issue #11526 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-12 16:56:12 +00:00
Mark Michelson
6711a5d567
Trunk build would fail due to the nonexistence of zaptel hwgain
...
structures missing. Patched configure to check for this stuff and
put a #ifdef around the offending code in chan_zap. Thanks to file
for overseeing this.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-11 22:10:43 +00:00
Russell Bryant
9bd421dd10
Update the configure script check for libpri to check for the newest function
...
that was just added.
Cresl1n, please keep this in mind when making these changes to libpri or libss7.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-26 22:52:36 +00:00
Luigi Rizzo
6dfc36b639
enable support for stack backtrace for stuff built in utils/
...
(this was present in the main tree but forgotten here).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21 21:30:24 +00:00
Luigi Rizzo
2ff174e62e
add check for video4linux
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21 01:29:45 +00:00
Luigi Rizzo
b4ab6b5652
X11 checks (at least some - for other platforms with
...
unusual X11 locations you might need to add more directories)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-21 00:22:41 +00:00
Russell Bryant
2626c511da
i got a little carried away with commas ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20 19:29:08 +00:00
Russell Bryant
90296ccdfe
fix the zaptel configure script check
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20 19:11:18 +00:00
Luigi Rizzo
52619b6ec5
add an argument for extra headers to AC_EXT_LIB_CHECK,
...
and on passing simplify the code.
Too bad that every time we need to regenerate configure...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20 15:39:00 +00:00
Joshua Colp
3f0324ea1f
Change autoconf logic a bit so it says what it is looking for in two instances where it didn't.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-18 16:43:08 +00:00
Joshua Colp
42b08b4eb8
Use autoconf logic to determine the presence of PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP and PTHREAD_MUTEX_RECURSIVE_NP. Enclose error message from network.h in "
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 23:03:16 +00:00
Luigi Rizzo
a0f06d0dd5
start using asterisk/network.h for network related headers.
...
Also remove some unnecessary includes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 14:11:53 +00:00