Commit Graph

88 Commits

Author SHA1 Message Date
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
Paul Cadach
01c6b626c0 Handle non-standard OpenH323/PWLib library names
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 08:33:22 +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
Russell Bryant
d772b80b6b rebuild configure script to reflect last chan_h323 related changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@52000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 17:14:11 +00:00
Russell Bryant
eedd121fbc 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: https://origsvn.digium.com/svn/asterisk/branches/1.4@51262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 21:54:23 +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
fb05d85ac2 one more time...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:51:31 +00:00
Kevin P. Fleming
7023f1cf8f proper fix for r49712
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:49:52 +00:00
Kevin P. Fleming
c63f9a3fe8 if --with-foo=<path> is specific for a configure option, ensure that it is used for header file checking as well
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:40:29 +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
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
Joshua Colp
6fbb04459c Regenerate configure from Qwell's last commit.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-05 20:45:28 +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
69aa0e88ca AC_PROG_SED is included in autoconf 2.60, but apparently it is not included
in 2.59.  So, to maintain compatability with 2.59 since it is a small change,
copy this macro into acinclude.m4 and rename it to AST_PROG_SED.
(issue #8345)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 05:48:18 +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
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
020e4f9725 regenerate configure script
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-25 19:24:11 +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
3c4dc2033f Update configure and closest kin. *Hopes my branch doesn't break*
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 17:09:01 +00:00
Matthew Fredrickson
d4d7a8b132 Let's try this out. Seems silly, but we'll try it anyways
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 16:25:21 +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
Jason Parker
e3f0ca05e5 This totally worked when I tested it...
Reverting for now..


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 23:59:23 +00:00
Jason Parker
3334bdebb7 This was silly. Nowhere else do we use [ or [[
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 23:37:25 +00:00
Jason Parker
23def858f7 We have autoconf...let's actually use it.
(note, M4 wasn't used, so...bye)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 19:57:09 +00:00
Kevin P. Fleming
fb23c753d3 handle config.guess name for FreeBSD properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 19:30:10 +00:00
Jason Parker
f18cbf77df Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
Every OS uses strcompat now - this was done on purpose.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-15 17:16:00 +00:00
Joshua Colp
5418a7a1a8 Update configure script to check for Zaptel VLDTMF support since this will now be required. If you build and don't have Zap stuff, upgrade your zaptel copy. As well - change some minor things so that we get "checking for" and not "checking checking for".
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31 01:48:04 +00:00
Kevin P. Fleming
aa7b32d175 more optimizations for embedded systems:
when LOADABLE_MODULES is off, don't export symbols from the main binary
  when LOADABLE_MODULES is off, and the compiler/linker support it, strip out code not used in the final binary


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26 16:45:35 +00:00
Russell Bryant
3a6dfec6c3 fix redirect typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 19:10:15 +00:00
Kevin P. Fleming
aad5f19a12 fix a typo and clarify something else
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 18:58:52 +00:00
Russell Bryant
3c886e6451 remove the make version check, and instead, check for the actual bug that
causes our build system to blow up.

If anyone still sees problems and configure didn't detect a problem with make,
please let me know.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 18:55:26 +00:00
Russell Bryant
5008225fcf get cflags for libcurl as well as libs (patch from qwell)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 00:13:03 +00:00
Kevin P. Fleming
7eecf0bfbc use RTLD_NOLOAD if it's available to make loading dynamic modules a little faster and less resource-intensive
also, keep trying to dlclose() a module until it actually goes away, since it may have other modules it brought in when it was loaded (thanks PCadach for pointing this problem out to me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-23 19:28:13 +00:00