Commit Graph

111 Commits

Author SHA1 Message Date
Joshua Colp
5f37fa26d2 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@74572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-11 17:03:08 +00:00
Jason Parker
d4a7eb584f 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@74374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-10 18:39:30 +00:00
Russell Bryant
1f96da91d4 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@74211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-09 21:31:30 +00:00
Russell Bryant
61a5a031f6 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@72766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-30 16:50:40 +00:00
Joshua Colp
556b6b1267 Backport fix for GCC versions without support for declaration-after-statement.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-29 14:18:36 +00:00
Luigi Rizzo
4134554eaa add a check for gethostbyname_r so we can
simplify the handling e.g. in utils.c

Also add comments on a couple of features which are not working on FreeBSD.

All the above has been already done in trunk so the merge must be blocked.


Can someone please regenerate ./configure ?



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28 19:29:34 +00:00
Russell Bryant
cbdc6b5b2d 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@69702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-18 16:35:02 +00:00
Russell Bryant
28d8f9ee6e 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@67026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-04 16:02:31 +00:00
Kevin P. Fleming
12662b47ab have to check for OSP toolkit _after_ checking for OpenSSL
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@66160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-25 14:43:54 +00:00
Kevin P. Fleming
5f9897ba56 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@66157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-25 14:28:46 +00:00
Jason Parker
513ed47dac Following moving strip to AC_PATH_TOOL, we need to do something similar for ar.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@66029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 20:53:18 +00:00
Russell Bryant
c061b86966 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@66026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 20:42:53 +00:00
Russell Bryant
06ff84b549 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@60603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 20:58:43 +00:00
Nadi Sarrar
980b0bc785 * 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@59202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 15:25:53 +00:00
Russell Bryant
1b8da31130 Making these documentation changes in the 1.4 branch upset various people, so
these chanes will only be done in the trunk.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 01:41:00 +00:00
Russell Bryant
fed69df9cd Add configure script checking for GTK2 and some additional Makefile targets
to support gmenuselect


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@58947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 23:53:26 +00:00
Russell Bryant
c474809cdf 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@58931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:25:12 +00:00
Russell Bryant
5603ca69eb 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@58320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-08 01:01:46 +00:00
Russell Bryant
b59030489b Update the check that is used to determine whether zaptel transcoder support
is present.  The interface has changed.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 23:03:01 +00:00
Russell Bryant
137835c878 If the pg_config application is found, but there is probably executing it,
then consider postgres unavailable.  (issue #8637)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 00:40:34 +00:00
Joshua Colp
329df6f95e Make the --without-oss argument work. (issue #9026 reported by puzzled)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 16:34:45 +00:00
Kevin P. Fleming
4eccecc891 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@53850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 06:06:08 +00:00
Kevin P. Fleming
23fc99bc5f 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@53715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 16:42:22 +00:00
Russell Bryant
ff1ca74145 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@52997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 23:23:24 +00:00
Tilghman Lesher
21ede1662d Suggested change to fix normal usage of --with-tds=/usr/local (Sean Bright, via asterisk-dev mailing list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-28 05:15:07 +00:00
Russell Bryant
f18b0c34d8 Remove libnsl as a required lib for libiksemel to work. This change was
already made in the trunk.
(issue #8762)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 01:05:46 +00:00
Kevin P. Fleming
dd357a71a7 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@50867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 15:03:06 +00:00
Kevin P. Fleming
708276e718 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@49866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 03:53:53 +00:00
Kevin P. Fleming
f195c5d622 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@49102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 23:34:35 +00:00
Joshua Colp
345968e6fb Backport support for read/write locks.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-28 19:43:15 +00:00
Joshua Colp
84a2b97b17 Clean up autoconf file (gets rid of warnings seen when rebuilding configure) and rebuild configure.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25 17:04:48 +00:00
Jason Parker
e755759a58 ctrl-w != w (nano search)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-18 16:55:46 +00:00
Kevin P. Fleming
ee8ce744c3 use m4 quoting for AC_MSG_NOTICE calls, to keep these calls from thinking they have multiple arguments
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-16 21:34:41 +00:00
Jason Parker
7bad11f0b6 Fix curl version number testing to be much more friendly to non-bash shells.
Issue 8508, patch by me.  This *SHOULD* be POSIX compliant now..


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-05 20:42:52 +00:00
Russell Bryant
fee1970293 FreeBSD 6.1 does not include wget by default. However, it has fetch which will
work just fine for our purposes of downloading the sounds packages.  So, check
for both wget and fetch and the configure script and use what was found to
download them.  If neither one was found, and sound packages are selected that
must be downloaded, the install process will print out an informative error
message indicating the situation.

Also, fix a couple places where "make" was hard coded into some output messages
by replacing them with the $(MAKE) variable.

(issue #8451, initial patch by pabelanger, with additional modifications by me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-01 23:16:28 +00:00
Kevin P. Fleming
ee6bf62ac5 check for pre-1.4 versions of Zaptel and abort the configure script if found with an appropriate error message
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16 20:09:10 +00:00
Russell Bryant
c70fd559ac Copy the macros from libtool.m4 to our own acinclude.m4 such that libtool is
no longer required to be installed to be able to generated the configure
script.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-08 16:31:59 +00:00
Luigi Rizzo
0726f75faf add proper environment vars to detect modules on freebsd.
(already applied to trunk so it needs to be blocked there)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 17:46:10 +00:00
Russell Bryant
468fbbf3ca Fixes for cross-compilation on mips
(issue #8058, ywalther, with some modifications)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:51:21 +00:00
Russell Bryant
af3e243994 Add a check in the configure script to determine whether ld is GNU ld or not.
This is needed because module embedding only works for gnu ld.  GNU ld is now
listed as a dependency for all of the module embedding options in menuselect.
(issue #8143)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:32:12 +00:00
Joshua Colp
aa8099e50f Don't explicitly link in crypt as it is not used on some platforms.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 21:09:13 +00:00
Russell Bryant
456186af50 fix error output when checking for openh323 to refer to openh323 instead
of pwlib (issue #8222, misaksen)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-25 19:20:23 +00:00
Kevin P. Fleming
1944a9a07c use a configure script test for PMTU discovery control instead of just assuming it's available on Linux
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-13 15:41:14 +00:00
Kevin P. Fleming
ec2e4f2216 fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 22:47:40 +00:00
Kevin P. Fleming
2ac0d927ae support --without-curl in configure script
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 16:52:27 +00:00
Tilghman Lesher
b727a4bde3 Merged revisions 43409 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43409 | tilghman | 2006-09-21 11:18:19 -0500 (Thu, 21 Sep 2006) | 2 lines

TDS 0.64 updates

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21 16:31:59 +00:00
Matthew Fredrickson
2cc96500bd Mergeing in Paul Cadach's chan_h323 changes *holds breath*
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 17:07:22 +00:00
Jason Parker
ba1a158641 Let's order these better..
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 14:24:14 +00:00
Jason Parker
52ad644087 Add a few more 'generic' platforms
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 14:19:54 +00:00
Kevin P. Fleming
44f60a288d restore ability for Makefiles to use 'generic' platform names when needed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 14:04:15 +00:00