dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

323 Commits

Author SHA1 Message Date
kpfleming 14bd7ec680 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: http://svn.digium.com/svn/asterisk/trunk@132705 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22 20:54:07 +00:00
kpfleming 667b602f9a 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: http://svn.digium.com/svn/asterisk/trunk@132643 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-22 19:59:10 +00:00
russell 4af9e5c085 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: http://svn.digium.com/svn/asterisk/trunk@132390 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-21 14:47:41 +00:00
kpfleming d0e4fac82b 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: http://svn.digium.com/svn/asterisk/trunk@130040 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11 15:57:17 +00:00
kpfleming 1cc4749eb6 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: http://svn.digium.com/svn/asterisk/trunk@127767 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03 16:22:02 +00:00
kpfleming f591c4add5 make the AIS checking a little more generic, and have a more useful configure script command line option for OpenAIS
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127017 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01 17:22:47 +00:00
kpfleming 902b5c3e00 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: http://svn.digium.com/svn/asterisk/trunk@126356 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-29 16:19:29 +00:00
seanbright 13e31ad1ef 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: http://svn.digium.com/svn/asterisk/trunk@126226 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-28 21:28:16 +00:00
kpfleming ae1eb91abe 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: http://svn.digium.com/svn/asterisk/trunk@125138 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-25 23:05:28 +00:00
tilghman ab6a6c0cf0 Detect if the installed gcc version supports the warn_unused_result attribute.
Reported by mvanbaak via IRC -dev.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@123988 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19 17:55:34 +00:00
jpeeler 490730a6b3 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: http://svn.digium.com/svn/asterisk/trunk@122234 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12 17:27:55 +00:00
russell a4199bd9a8 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: http://svn.digium.com/svn/asterisk/trunk@121403 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-10 00:43:06 +00:00
russell d6f4c64765 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: http://svn.digium.com/svn/asterisk/trunk@119799 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-02 15:57:43 +00:00
russell 28987321f8 Add a configure script check for spandsp
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@119795 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-02 15:43:40 +00:00
mattf 5a8ca0ef8e Add Zap MTP2 support to chan_zap
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115600 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-11 03:23:05 +00:00
file aac883fcbc 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: http://svn.digium.com/svn/asterisk/trunk@115580 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-09 16:36:58 +00:00
file a1f4f6bb09 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: http://svn.digium.com/svn/asterisk/trunk@115342 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-06 13:55:44 +00:00
file 82f9045435 Merged revisions 115327 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115327 | file | 2008-05-05 19:10:05 -0300 (Mon, 05 May 2008) | 2 lines

Make sure that either the main speex library contains preprocess functions or that speexdsp does. If both fail then speex stuff can not be built.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115328 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05 22:13:57 +00:00
file a0331e1cf4 Merged revisions 115282 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115282 | file | 2008-05-03 23:09:44 -0300 (Sat, 03 May 2008) | 2 lines

Expand the test function for GCC attributes so that more complex attributes are properly recognized.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115283 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-04 02:11:01 +00:00
file d0da046cdd Merged revisions 115276 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115276 | file | 2008-05-03 22:43:26 -0300 (Sat, 03 May 2008) | 2 lines

Treat warnings as errors when checking if a GCC attribute exists. We have to do this as GCC will just ignore the attribute and pop up a warning, it won't actually fail to compile.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115277 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-04 01:45:21 +00:00
tilghman 315b136de3 Okay, maybe FreeBSD will like this better.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115159 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-02 02:56:39 +00:00
bbryant 99891829fa Add two new console commands "pri show version" and "ss7 show version" that will show the version of each library respectively.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115078 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01 23:09:08 +00:00
file 30c35d0943 Update autoconf logic with latest API change for libss7.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114713 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-28 13:42:13 +00:00
seanbright ce63165e29 Merged revisions 114695 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114695 | seanbright | 2008-04-26 21:26:15 -0400 (Sat, 26 Apr 2008) | 5 lines

When we don't explicitly pass a path to the --with-tds configure option, we
may end up finding tds.h in /usr/local/include instead of /usr/include.  If
this happens, the grep that looks for the version (from tdsver.h) will fail
and we'll have some problems during the build.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114696 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-27 01:28:32 +00:00
kpfleming e7f1299f11 ensure that dependencies on AST_C_DEFINE_CHECK symbols work properly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109451 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 15:50:29 +00:00
seanbright e887ba18f9 Fix a typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109282 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 00:28:39 +00:00
twilson f12eb74241 Replace minimime with superior GMime library so that the entire contents of an http post are not read into memory.
This does introduce a dependency on the GMime library for handling HTTP POSTs, but it is available in most distros.

If the library is present, then the compile flag for ENABLE_UPLOADS is enabled by default in menuselect.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109229 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17 22:10:06 +00:00
kpfleming 853e85fe76 don't define Zaptel features as libraries, they aren't, and we don't want '--with-zaptel-<foo>' configure options for them
also some minor cleanups


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109166 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17 17:31:46 +00:00
russell 31e371c804 Do a link test in AST_EXT_TOOL_CHECK() to ensure we have all the required libs
reported by the tool.

(closes issue #12067, reported by Juggie, patched by me)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@108740 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14 17:05:11 +00:00
kpfleming ac48a62e43 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: http://svn.digium.com/svn/asterisk/trunk@107462 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11 14:37:03 +00:00
kpfleming c4402dfe48 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: http://svn.digium.com/svn/asterisk/trunk@107409 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11 14:09:49 +00:00
kpfleming 96d966354f 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: http://svn.digium.com/svn/asterisk/trunk@107406 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11 13:58:37 +00:00
dbailey a3a74011ad Add protection to chan_zap build when NEONMWI events are not defined
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104045 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-22 23:56:55 +00:00
file 425d7f6645 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: http://svn.digium.com/svn/asterisk/trunk@104019 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-21 16:44:57 +00:00
file b632052987 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: http://svn.digium.com/svn/asterisk/trunk@103813 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-19 17:33:55 +00:00
mmichelson e92a79cd30 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: http://svn.digium.com/svn/asterisk/trunk@103725 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15 17:32:43 +00:00
mmichelson cc05387ba3 Merging of changes from 1.4 revision 103713.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103715 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15 15:11:23 +00:00
mmichelson 0142926ab0 Same changes as made to 1.4 in revision 103710
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103711 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15 00:59:21 +00:00
mmichelson 82f43aea84 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: http://svn.digium.com/svn/asterisk/trunk@103700 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14 23:39:47 +00:00
qwell 6c86f0e9b0 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: http://svn.digium.com/svn/asterisk/trunk@103694 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-14 21:21:53 +00:00
tilghman 95575125cb 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: http://svn.digium.com/svn/asterisk/trunk@102329 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-04 21:15:18 +00:00
russell f3d21a6bd0 Change the version number in the configure script from 1.4 to 1.6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102064 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-03 06:43:57 +00:00
tilghman 02c5efaff8 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: http://svn.digium.com/svn/asterisk/trunk@101895 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01 19:44:39 +00:00
tilghman b2033ac5cf 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: http://svn.digium.com/svn/asterisk/trunk@101773 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-01 16:01:22 +00:00
mmichelson e9f4b79cb8 Re-inserting chan_vpb into trunk.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100678 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 21:07:18 +00:00
tilghman 84e71acc2a Normalize the detection for execinfo, so that Linux (glibc) and other platforms
with libexecinfo will generate inline stack backtraces correctly.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100628 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-28 18:27:29 +00:00
mmichelson 32dbf3859e Removing chan_vpb from the tree
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100420 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-25 22:39:35 +00:00
tilghman 533d426fef 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: http://svn.digium.com/svn/asterisk/trunk@99696 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 22:33:20 +00:00
qwell 7a5f69431a Change AST_EXT_TOOL_CHECK to attempt to build against <package>_LIB, per recommendations from Russell.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98985 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16 23:08:11 +00:00
qwell 3cb040355a 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: http://svn.digium.com/svn/asterisk/trunk@98971 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16 19:41:25 +00:00
file 35d5a377ed 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: http://svn.digium.com/svn/asterisk/trunk@98952 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16 01:17:25 +00:00
russell c03eb69155 Add configure script check for JACK.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98605 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-13 18:08:50 +00:00
russell 9b358fbda8 Remove KDE configure script check that isn't used
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98604 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-13 18:01:56 +00:00
russell 397f602159 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: http://svn.digium.com/svn/asterisk/trunk@98454 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 23:57:01 +00:00
russell 1d0d1a7f8f 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: http://svn.digium.com/svn/asterisk/trunk@97767 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 16:27:03 +00:00
russell cfcf4c9f8c 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: http://svn.digium.com/svn/asterisk/trunk@97745 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 16:15:43 +00:00
russell 89c6f5009a re-gen configure
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97644 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 22:53:12 +00:00
kpfleming cea2f98c6d [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: http://svn.digium.com/svn/asterisk/trunk@96500 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-04 17:21:25 +00:00
file 9b2eb64fcc 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: http://svn.digium.com/svn/asterisk/trunk@96071 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 22:40:55 +00:00
kpfleming 96852f698d 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: http://svn.digium.com/svn/asterisk/trunk@95937 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 19:34:33 +00:00
kpfleming 7eb5322b5b 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: http://svn.digium.com/svn/asterisk/trunk@95817 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 14:20:46 +00:00
rizzo 206811e881 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: http://svn.digium.com/svn/asterisk/trunk@95624 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-01 22:08:32 +00:00
russell 9d7f647421 Regenerate configure script to include check for portaudio.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95384 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-31 15:21:15 +00:00
russell 64ff93596e 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: http://svn.digium.com/svn/asterisk/trunk@94085 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-19 22:51:03 +00:00
rizzo 992d0b77a7 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: http://svn.digium.com/svn/asterisk/trunk@93898 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-19 08:57:45 +00:00
kpfleming dde59f4f62 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: http://svn.digium.com/svn/asterisk/trunk@93211 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17 17:11:06 +00:00
kpfleming d4e966efcc 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: http://svn.digium.com/svn/asterisk/trunk@93184 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17 07:25:35 +00:00
tilghman ae8659d7ba 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: http://svn.digium.com/svn/asterisk/trunk@92476 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-12 16:56:12 +00:00
mmichelson bf3d4cdd5e 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: http://svn.digium.com/svn/asterisk/trunk@92422 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-11 22:10:43 +00:00
russell 015c16d770 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: http://svn.digium.com/svn/asterisk/trunk@89615 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-26 22:52:36 +00:00
rizzo 971fcdc9ff enable support for stack backtrace for stuff built in utils/
(this was present in the main tree but forgotten here).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89506 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-21 21:30:24 +00:00
rizzo 076f1b61c3 add check for video4linux
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89475 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-21 01:29:45 +00:00
rizzo 4f4d5cb3bf X11 checks (at least some - for other platforms with
unusual X11 locations you might need to add more directories)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89472 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-21 00:22:41 +00:00
russell e616a7a4e2 i got a little carried away with commas ...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89464 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20 19:29:08 +00:00
russell efe22b0c45 fix the zaptel configure script check
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89460 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20 19:11:18 +00:00
rizzo 8c6e113ab5 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: http://svn.digium.com/svn/asterisk/trunk@89452 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20 15:39:00 +00:00
rizzo 26957ae033 comment a bit the code in acinclude.m4
There is still a lot of code to clean up there, but hopefully
this should clarify what goes on in there.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89448 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20 14:54:52 +00:00
file f2c0ead18c Change autoconf logic a bit so it says what it is looking for in two instances where it didn't.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89395 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-18 16:43:08 +00:00
file 6f925e459e 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: http://svn.digium.com/svn/asterisk/trunk@89394 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 23:03:16 +00:00
rizzo 370182a288 timersub is a macro not a function, so write the check in a way
that detects both formats.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89363 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:30:22 +00:00
russell 1ccd0d8633 Update the configure script check for sys/poll.h to also provide the result in
include/asterisk/autoconfig.h.  Also, move the conditional include of sys/poll.h
or asterisk/poll-compat.h into asterisk/config.h instead of the two headers it
existed in before.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89361 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 06:33:07 +00:00
rizzo 15e6a2fe21 add detection for timersub() and winsock.h/winsock2.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89357 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 04:17:53 +00:00
rizzo fa361ae750 use autoconf to check for the existence of sys/poll.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89354 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 02:57:40 +00:00
rizzo 7e662cf783 acinclude.m4: add a function to help checking sdl-config, gtk-config
and the like (this could be used for gtk and gtk2 as well)
Other files: add tests for sdl, sdl_image and avcodec and regenerate
	configure and autoconfig.h.in



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89351 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 01:49:26 +00:00
tilghman f1e53779f1 Set up detection of IP_PKTINFO in autoconf for chan_unistim
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88973 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06 15:01:56 +00:00
tilghman bad99f6a2a Add pbx_lua as a method of doing extensions
Reported by: mnicholson
Patch by: mnicholson
Closes issue #11140


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88250 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 15:36:34 +00:00
qwell 8af80a59de Remove traces of gnutls, since we no longer use/need it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88184 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-01 23:26:51 +00:00
file cbbce6c578 Add autoconf checks for extra suppserv definitions that are not present in releases yet. chan_misdn should now build against the latest release.
(closes issue #11103)
Reported by: IgorG


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87325 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-29 16:34:45 +00:00
russell 878edbcba6 Update the configure script for the last libss7 API change
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87247 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-27 15:41:38 +00:00
russell c9e3c420d0 Change the configure script to check for a function that was recently added to libss7.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85542 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-14 15:47:01 +00:00
tilghman bf2b0f5b8b Autoconf requires version 2.60, not 2.59, to process (Closes issue #10842)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84080 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-28 14:35:36 +00:00
tilghman cd3286e82e Fixes for FreeBSD... testing for every conceivable math function now
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83517 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-22 02:07:53 +00:00
tilghman e935ee6eac Check for the presence of trunc and round, and make the ISOC99 detection a little more sane (closes issue #10776)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83431 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-21 14:25:51 +00:00
russell 445550b705 Merged revisions 82385 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82385 | russell | 2007-09-14 10:50:49 -0500 (Fri, 14 Sep 2007) | 3 lines

Add checking for libusb here, so nobody has to deal with conflicts in the
chan_usbradio-1.4 branch every time the configure script gets changed

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82386 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14 15:52:28 +00:00
file 3b753ec175 Don't check for epoll support when cross compiling.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81873 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-07 12:32:04 +00:00
file e2cff39397 Actually check the return value of epoll_create to make sure it works.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79972 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-18 23:58:51 +00:00
file 0b76ea599a Regenerate configure script. This actually just updated the revision number... since my last merge changed it to an older number, while it was in fact generated from a much newer revision.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78686 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-08 22:05:45 +00:00
file a4803d15a2 Add support for using epoll instead of poll. This should increase scalability and is done in such a way that we should be able to add support for other poll() replacements.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78683 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-08 21:44:58 +00:00
file e1e7b35fee Merged revisions 78166 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r78166 | file | 2007-08-06 11:18:20 -0300 (Mon, 06 Aug 2007) | 4 lines

(closes issue #10383)
Reported by: rizzo
Include stdlib.h so NULL gets defined for gethostbyname_r checks.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78167 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-06 14:20:04 +00:00
file 3997783950 Instead of adding the SOLARIS check to each HAVE_SYSINFO check let's just make the sysinfo autoconf logic a bit pickier about what it considers a usable sysinfo.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77878 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-01 19:37:59 +00:00
file fd7772aad8 Don't look for /dev/urandom when cross compiling. Just assume it is not available.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77875 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-01 18:56:31 +00:00
file 0884134107 Merged revisions 77865 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r77865 | file | 2007-08-01 14:42:52 -0300 (Wed, 01 Aug 2007) | 2 lines

And for my last trick... make sure that if gethostbyname_r is exported by a library that it is used.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77866 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-01 17:47:05 +00:00
file 7ed3cf54d1 Merged revisions 77863 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r77863 | file | 2007-08-01 14:22:35 -0300 (Wed, 01 Aug 2007) | 2 lines

Extend autoconf logic to determine which version of gethostbyname_r is on the system.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77864 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-01 17:27:09 +00:00
file 84d217dc97 Merged revisions 77071 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r77071 | file | 2007-07-25 14:14:14 -0300 (Wed, 25 Jul 2007) | 2 lines

Fix autoconf logic for finding OpenH323 when it is not in the first place searched (/usr/share/openh323).

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77072 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25 17:16:11 +00:00
file 9286652123 Use autoconf logic to determine byte swapping macro presence. This should now also use other macros if present.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76523 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23 13:46:57 +00:00
file 712969305d Add support for using /dev/urandom to get random numbers on systems that support it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76296 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-21 14:39:52 +00:00
file bf4cfd4daf Add in check for the GCC attribute deprecated. It may be used soon!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75259 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-16 18:36:02 +00:00
file f0ef34826c Merged revisions 74572 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74572 | file | 2007-07-11 14:03:08 -0300 (Wed, 11 Jul 2007) | 2 lines

Instead of figuring out kernel versions that have compiler.h and not... let's just use autoconf to check for it's presence. (issue #10174 reported by francesco_r)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74575 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11 17:06:54 +00:00
qwell e841e92ec9 Merged revisions 74374 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10133)
................
r74374 | qwell | 2007-07-10 13:39:30 -0500 (Tue, 10 Jul 2007) | 13 lines

Merged revisions 74373 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r74373 | qwell | 2007-07-10 13:37:23 -0500 (Tue, 10 Jul 2007) | 5 lines

Use res_ndestroy on systems that have it.  Otherwise, use res_nclose.
This prevents a memleak on NetBSD - and possibly others.

Issue 10133, patch by me, reported and tested by scw

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74375 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10 18:41:03 +00:00
russell af14591964 Merged revisions 74211 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74211 | russell | 2007-07-09 16:31:30 -0500 (Mon, 09 Jul 2007) | 5 lines

Update the configure script to check for a required function that is not present
in the 1.2 version of libpri.  This will prevent the configure script from thinking
that it has compatible libpri support for Asterisk 1.4, when it actually does not
because the installed version is from 1.2.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74212 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09 21:32:53 +00:00
file 8dd99bd381 Merged revisions 74043 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74043 | file | 2007-07-09 11:34:33 -0300 (Mon, 09 Jul 2007) | 2 lines

Use AC_CHECK_HEADER to check for ptlib/openh323 to allow for cross compiling. (issue #9675 reported by zandbelt)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74044 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09 14:38:19 +00:00
tilghman 6917c98436 Restore EXP2 and LOG2 functions, by providing mathematical identify functions, when the underlying C functions are not available.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73911 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-08 21:01:28 +00:00
murf 94801190c4 These changes fix 10145 and 10150, a prob with BSD and exp2/log2 not existing, as well as the bootstrap needing a small upgrade for openbsd. Many thanks to mvanbaak
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73821 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-07 16:44:57 +00:00
russell 17506132c1 Merged revisions 72766 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72766 | russell | 2007-06-30 11:50:40 -0500 (Sat, 30 Jun 2007) | 3 lines

Tweak the configure script so that error output isn't spewed to the console
when searching for GTK2 libs, and they aren't found.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72767 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-30 16:53:25 +00:00
russell 14d66dd72c Fix my recent change for sending large files via the http server. This code
*must* write the file to the FILE *, and not the raw fd.  Otherwise, it breaks
TLS support.

Thanks to rizzo for catching this!


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72738 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 21:24:40 +00:00
russell 20e9f5d47c Merge changes from team/russell/http_filetxfer
Handle transferring large files from the built-in http server.  Previously, the
code attempted to malloc a block as large as the file itself.  Now it uses the
sendfile() system call so that the file isn't copied into userspace at all if
it is available.  Otherwise, it just uses a read/write of small chunks at a time.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72701 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 20:35:09 +00:00
qwell 5ca2bc3253 Apparently some builds of gcc don't have declaration-after-statement.
This checks for it in configure, and only uses it if it's available.

If it's wrong, somebody please yell at me and tell me why.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72539 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 21:31:00 +00:00
mmichelson 5f4c0aa103 Fixes a problem where Asterisk would not compile if IMAP_STORAGE was enabled.
Needed to add a space between file name and options.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71732 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-26 00:10:09 +00:00
russell 9a940a47bc Allow compilation off app_voicemail with IMAP_STORAE against a system installed
version of the c-client library.  (issue #10047, jcollie)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71688 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25 19:20:07 +00:00
russell 36a2e6ea7e Merged revisions 69702 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69702 | russell | 2007-06-18 11:35:02 -0500 (Mon, 18 Jun 2007) | 6 lines

To prevent 92138749238754 more reports of "I have unixodbc installed, but
still can't build *_odbc.so!", check for ltdl directly, instead of just listing
it as another library to include in the unixodbc check in the configure script.
This also makes ltdl show up as a dependency in menuselect so people know what
to go install.  (related to issue #9989, patch by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69703 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-18 16:35:51 +00:00
russell ff16f5ce68 Merged revisions 67026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67026 | russell | 2007-06-04 11:02:31 -0500 (Mon, 04 Jun 2007) | 6 lines

Change the configure script to build a test program against libcurl to make
sure the results from curl-config can be used to compile successfully.  This is
intended to help prevent a situation where you are cross compiling, and the
configure script finds the curl library installed on the host.
(issue #9865, reported and patched by zandbelt)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67029 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-04 16:03:19 +00:00
kpfleming 0e0b40d55d more minor fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66175 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-25 15:07:26 +00:00
kpfleming f554d266c7 Merged revisions 66157 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66157 | kpfleming | 2007-05-25 10:28:46 -0400 (Fri, 25 May 2007) | 3 lines

handle the GNUTLS library properly in the configure script and build system
don't build in OSP support unless we have found and are allowed to use SSL support

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66158 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-25 14:37:55 +00:00
kpfleming 13417b262f use the OpenSSL AES implementation if it's available (unless configured not to)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66071 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24 22:07:50 +00:00
qwell a9e8af0e5b Merged revisions 66029-66030 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66029 | qwell | 2007-05-24 15:53:18 -0500 (Thu, 24 May 2007) | 2 lines

Following moving strip to AC_PATH_TOOL, we need to do something similar for ar.

........
r66030 | qwell | 2007-05-24 15:54:16 -0500 (Thu, 24 May 2007) | 2 lines

Rebuild configure script for previous ar fix.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66031 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24 20:55:51 +00:00
russell ea34e0acf4 Merged revisions 66026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r66026 | russell | 2007-05-24 15:42:53 -0500 (Thu, 24 May 2007) | 3 lines

Checking for the strip application needs to be done with AC_PATH_TOOL
instead of AC_PATH_PROG to properly handle cross compilation environments.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66027 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24 20:44:46 +00:00
russell 792cfa6dab Regenerate configure script after last change to acinclude.m4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64226 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-14 16:08:48 +00:00
file e7535bca2b Add a configure script check for sysinfo support.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61557 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-11 20:21:18 +00:00
russell fe453b5ef2 Merged revisions 60603 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60603 | russell | 2007-04-06 15:58:43 -0500 (Fri, 06 Apr 2007) | 13 lines

To be able to achieve the things that we would like to achieve with the
Asterisk GUI project, we need a fully functional HTTP interface with access
to the Asterisk manager interface.  One of the things that was intended to be
a part of this system, but was never actually implemented, was the ability for
the GUI to be able to upload files to Asterisk.  So, this commit adds this in
the most minimally invasive way that we could come up with.

A lot of work on minimime was done by Steve Murphy.  He fixed a lot of bugs in
the parser, and updated it to be thread-safe.  The ability to check
permissions of active manager sessions was added by Dwayne Hubbard.  Then,
hacking this all together and do doing the modifications necessary to the HTTP
interface was done by me.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@60604 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06 21:16:38 +00:00
qwell 2a3583fda1 Merged revisions 59573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59573 | qwell | 2007-03-30 17:50:31 -0500 (Fri, 30 Mar 2007) | 2 lines

Add linux-uclibc host arch..."thingy".  Sorry, I don't know what it's called...

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59574 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-30 22:54:01 +00:00
nadi 8e64880bbd Merged revisions 59202 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59202 | nadi | 2007-03-26 17:25:53 +0200 (Mo, 26 Mär 2007) | 4 lines

* mISDN >= 1.2 provides a dsp pipeline for i.e. echo cancellation modules, make chan_misdn use it.
* add a check for linux/mISDNdsp.h to configure.ac and update the autogenerated files: 'configure', 'autoconfig.h.in'
  (the 'configure' script was not in sync with the latest configure.ac, so the diff is a bit bigger than expected).

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59203 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26 15:59:56 +00:00
russell dd1ff847dd Merged revisions 58947 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58947 | russell | 2007-03-15 18:53:26 -0500 (Thu, 15 Mar 2007) | 3 lines

Add configure script checking for GTK2 and some additional Makefile targets
to support gmenuselect

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58948 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15 23:56:10 +00:00
russell acddd1bef6 Merged revisions 58931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58931 | russell | 2007-03-15 17:25:12 -0500 (Thu, 15 Mar 2007) | 13 lines

Merge changes from svn/asterisk/team/russell/LaTeX_docs.

* Convert most of the doc directory into a single LaTeX formatted document
  so that we can generate a PDF, HTML, or other formats from this
  information.
* Add a CLI command to dump the application documentation into LaTeX format
  which will only be include if the configure script is run with 
  --enable-dev-mode.
* The PDF turned out to be close to 1 MB, so it is not included.  However, you
  can simply run "make asterisk.pdf" to generate it yourself.  We may include
  it in release tarballs or have automatically generated ones on the web site,
  but that has yet to be decided.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58932 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15 22:29:45 +00:00
russell 607988f17b Merge changes from team/russell/sqlite:
* Add new module, cdr_sqlite3_custom which allows logging custom CDRs into a
  SQLite3 database.  (issue #7149, alerios)
* Add new module, res_config_sqlite, which adds realtime database configuration
  support for SQLite version 2.  I decided that this was ok since we didn't have
  any realtime support for version 3.  If someone ports this to version 3, then
  version 2 support can be removed or marked deprecated.
  (issue #7790, rbarun_proformatique)
* Mark cdr_sqlite as deprecated in favor of cdr_sqlite3_custom.

Also, note that there were other modules on the bug tracker that did not make
the cut because they provided some duplicated functionality.  Those are:

* cdr_sqlite3 (issue #6754, moy)
* cdr_sqlite3 (issue #8694, bsd)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58866 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-13 21:22:33 +00:00
russell d3feb464a8 Merged revisions 58320 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58320 | russell | 2007-03-07 19:01:46 -0600 (Wed, 07 Mar 2007) | 6 lines

If we receive ZT_EVENT_REMOVED, destroy the specified channel. 
(issue #7256, tzafrir)

Also, update the configure script to make sure that we don't try to build 
chan_zap if the installed version of zaptel does not include ZT_EVENT_REMOVED.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58321 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-08 01:06:00 +00:00
russell 5a9d68237a Merged revisions 57556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57556 | russell | 2007-03-02 17:03:01 -0600 (Fri, 02 Mar 2007) | 3 lines

Update the check that is used to determine whether zaptel transcoder support
is present.  The interface has changed.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57557 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-02 23:05:25 +00:00
russell 747d67efc8 Merged revisions 55052 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55052 | russell | 2007-02-16 18:40:34 -0600 (Fri, 16 Feb 2007) | 3 lines

If the pg_config application is found, but there is probably executing it,
then consider postgres unavailable.  (issue #8637)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55077 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-17 01:11:32 +00:00
kpfleming 65019aebdf Merged revisions 53850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53850 | kpfleming | 2007-02-10 00:06:08 -0600 (Sat, 10 Feb 2007) | 3 lines

don't display the --with-imap message unless --with-imap was specified without a path
use '-n' instead of '! -z' for tests

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53851 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-10 06:14:55 +00:00
kpfleming 3b057a16a8 Merged revisions 53715 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53715 | kpfleming | 2007-02-09 10:42:22 -0600 (Fri, 09 Feb 2007) | 2 lines

clarify the fact that voicemail IMAP storage cannot be built against a distro's binary c-client library package (at least not at this time)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53716 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-09 16:43:36 +00:00
russell 137db7490c Merged revisions 52997 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52997 | russell | 2007-01-30 17:23:24 -0600 (Tue, 30 Jan 2007) | 5 lines

When we are checking for a system installed version of libgsm, we need to check
for gsm.h as well.  Furthermore, when checking for this header, it may be
located in a gsm/ sub directory, so check for that, as well.
(issue #8773)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52998 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-30 23:27:16 +00:00
pcadach 8fa72c1f27 Merged revisions 52807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52807 | pcadach | 2007-01-30 00:33:22 -0800 (Втр, 30 Янв 2007) | 1 line

Handle non-standard OpenH323/PWLib library names
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52818 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-30 09:08:17 +00:00
tilghman d80f70486c Merged revisions 52462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52462 | tilghman | 2007-01-27 23:15:07 -0600 (Sat, 27 Jan 2007) | 2 lines

Suggested change to fix normal usage of --with-tds=/usr/local (Sean Bright, via asterisk-dev mailing list)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@52463 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-28 05:18:02 +00:00
russell 18b9da7de3 Regenerate configure script to reflect recent zaptel changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51305 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 17:19:59 +00:00
russell 7f1c29e56e Merged revisions 51262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51262 | russell | 2007-01-18 15:54:23 -0600 (Thu, 18 Jan 2007) | 5 lines

Ensure that the locations given to the Asterisk configure script for ncurses,
curses, termcap, or tinfo are further passed along to the editline configure
script.  This fixes some cross-compilation environments.
(issue #8637, reported by ovi, patch by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51263 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18 21:57:55 +00:00
kpfleming a5d83fb31d Merged revisions 50867 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50867 | kpfleming | 2007-01-15 09:03:06 -0600 (Mon, 15 Jan 2007) | 2 lines

use the ACX_PTHREAD macro from the Autoconf macro archive for setting up compiler pthreads support... should improve portability to platforms with unusual pthreads requirements

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@50869 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-15 15:08:45 +00:00
kpfleming 2ae97ef25a Merged revisions 49866 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49866 | kpfleming | 2007-01-07 21:53:53 -0600 (Sun, 07 Jan 2007) | 2 lines

since we use AC_PATH_TOOL to find tools, we should use the results it provides for us (reported by Brian Capouch on the asterisk-dev list)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49870 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08 03:56:06 +00:00
kpfleming 5fab9aa737 Merged revisions 49714-49715 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49714 | kpfleming | 2007-01-05 17:49:52 -0600 (Fri, 05 Jan 2007) | 2 lines

proper fix for r49712

........
r49715 | kpfleming | 2007-01-05 17:51:31 -0600 (Fri, 05 Jan 2007) | 2 lines

one more time...

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49730 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-06 00:00:19 +00:00
kpfleming 914e1056d5 Merged revisions 49712 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49712 | kpfleming | 2007-01-05 17:40:29 -0600 (Fri, 05 Jan 2007) | 2 lines

if --with-foo=<path> is specific for a configure option, ensure that it is used for header file checking as well

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49713 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05 23:41:33 +00:00
kpfleming 6fa0d7528f Merged revisions 49102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49102 | kpfleming | 2007-01-01 17:34:35 -0600 (Mon, 01 Jan 2007) | 2 lines

check specifically for VLDTMF and transcoding support in the system's Zaptel installation, and make only the modules that need those features dependent on them (this will allow building the other Zaptel-using parts of Asterisk against older versions of Zaptel or those on other platforms that haven't caught up yet to the Linux version)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49103 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-01 23:43:43 +00:00
file 7f137ceb7c Merged revisions 48960 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48960 | file | 2006-12-25 12:04:48 -0500 (Mon, 25 Dec 2006) | 2 lines

Clean up autoconf file (gets rid of warnings seen when rebuilding configure) and rebuild configure.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48961 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-25 17:06:58 +00:00