dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

142 Commits

Author SHA1 Message Date
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 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 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
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
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
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
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
rizzo 9b8b765eb7 another freebsd-specific check for zaptel compatibility
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51291 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 15:59:05 +00:00
rizzo 4e463b1cad add comments that AC_USE_SYSTEM_EXTENSIONS and AST_PROG_LD
do not work on FreeBSD - presumably they depend on some
auto* feature that is not installed by default.

I am not sure on what is a proper fix. In my local copy
i simply comment them out.

The AST_PROG_LD is a long standing isse, there were attempts
to fix it in the past but probably not enough has been copied
to acinclude.m4, and i had forgotten about it because i
commented out this call in configure.ac long ago



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51288 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 09:44:55 +00:00
rizzo 062db24b7c Add check for backtrace support on platforms that do not have
it natively.

Part of it leaked in in a previous commit.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51287 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 09:39:02 +00:00
rizzo 592f4faece remove a useless (and harmful on some platforms) -lnsl
from IKSEMEL_LIB.

Actually i am not even sure whether
-lgcrypt -lgpg-error are needed.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51286 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 09:36:27 +00:00