Kevin P. Fleming
0569481a5a
don't build strcompat for menuselect except on Solaris
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 07:51:20 +00:00
Russell Bryant
962d53732a
make sure that the MOD_SUBDIR_CFLAGS and OTHER_SUBDIR_FLAGS come before
...
ASTCFLAGS so that -Iinclude comes before any system include path
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 21:00:16 +00:00
Kevin P. Fleming
123134de11
make Makefile slightly less noisy
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 16:17:00 +00:00
Russell Bryant
684df59844
add smarter checking for termcap support, which fixes a build problem when
...
ncurses is statically compiled with term info support, which is provided in
the statically compiled editline library that we are including.
(issue #6948 , original patch by casper, modified to use the features
of AST_EXT_LIB)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 15:24:52 +00:00
Kevin P. Fleming
65fed8480b
use a file that configure will _always_ regenerate as the trigger for running the script
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 15:20:00 +00:00
Russell Bryant
f2e3d8279d
add TOPDIR_CFLAGS to the CFLAGS before ASTCFLAGS to make sure that -Iinclude
...
comes before -I/usr/local/include or something similar
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 15:03:44 +00:00
Kevin P. Fleming
a4e7ae1537
don't let make use implicit rules for bison/flex output files
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 14:34:32 +00:00
Russell Bryant
272de2c394
add support for installing other init scripts, other than just the redhat
...
version. (issue #7093 , initial patch by froguz, extended by north)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 22:49:55 +00:00
Russell Bryant
5c63335486
allow for a non-optimized build that does not get installed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-02 17:15:37 +00:00
Kevin P. Fleming
d7aead737d
Merged revisions 23673 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r23673 | kpfleming | 2006-04-30 09:27:56 -0500 (Sun, 30 Apr 2006) | 2 lines
allow top-level OPTIMIZE setting to affect builds in these subdirectories too
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 14:28:25 +00:00
Kevin P. Fleming
44c5e823e6
Merged revisions 23638 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r23638 | kpfleming | 2006-04-30 08:55:59 -0500 (Sun, 30 Apr 2006) | 2 lines
let the compiler determine whether hardware or software floating point should be used (like we do in the editline subdirectory)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 13:56:37 +00:00
Kevin P. Fleming
1a979290a0
Merged revisions 23636 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r23636 | kpfleming | 2006-04-30 08:38:22 -0500 (Sun, 30 Apr 2006) | 4 lines
remove extraneous -m64 flag that is not needed
(these are coming from Debian patches <G>)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 13:39:49 +00:00
Kevin P. Fleming
7343d311f1
simplify CFLAGS handling for subdirectories
...
don't put paths into the include search path when they are not needed
don't auto-rebuild the AEL bison/flex output based on make dependencies (the generated files are already checked in, and the timestamps generated by a checkout will usually cause them to be overwritten)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 11:40:06 +00:00
Luigi Rizzo
2dd3d523d3
when compiling ast_expr2 from utils/ the current directory
...
is utils/ so the compiler fails to find the header which is in ../
(at least on FreeBSD; this works on linux but it may be due to
differences in gmake).
For the time being, fix it by adding -I.. to the includes.
However i think a proper fix is to make sure that ast_expr2
is built using the rules in the top-level makefile instead
of those in the subdirectory.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 08:35:49 +00:00
Russell Bryant
9109371f7d
use the INSTALL variable instead of "install" directly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 04:34:04 +00:00
Kevin P. Fleming
379e426b25
Merged revisions 23305 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r23305 | kpfleming | 2006-04-29 06:40:04 -0500 (Sat, 29 Apr 2006) | 3 lines
do installation in subdirs as a separate target (so external modules can use the Makefile more easily)
generate final messages -after- running any post-install script that may be present
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29 11:42:31 +00:00
Russell Bryant
e5b5dce811
support "make distclean" as well as "make dist-clean" for the picky people
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28 17:39:54 +00:00
Russell Bryant
7918a7a1fd
another little Solaris fix, unset LIBS before building libmxml
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 05:35:11 +00:00
Russell Bryant
5267a6e6a2
menuselect needs strcompat.o for strsep on Solaris
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-25 05:26:02 +00:00
Russell Bryant
72f2bf8135
add a note indicating that you can press 'h' for help
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 19:15:43 +00:00
Russell Bryant
d255a98243
fix kevin's silly typos
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:24:03 +00:00
Kevin P. Fleming
574e14cbea
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:11:45 +00:00
Joshua Colp
5c05128777
Move a bit more stuff over to the datadir (issue #6967 reported by tzafrir patch by north)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 23:37:29 +00:00
Joshua Colp
4657dc770c
We are shaking up trunk tonight! allow data dir to be specified (issue #6967 reported by tzafrir)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 22:53:53 +00:00
Olle Johansson
6b3367bf5c
New functions for locking a channel - these simplify debugging
...
when you have channel locking issues.
(Part of the SIP transfer patch, where I had a *lot* of
channel locking problems)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 08:07:50 +00:00
Kevin P. Fleming
677347edab
Merged revisions 19353 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r19353 | kpfleming | 2006-04-11 16:58:47 -0500 (Tue, 11 Apr 2006) | 2 lines
don't create a 'voicemail' symlink in the sounds directory; app_voicemail has not needed it since January of 2005 (issue #6613 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 21:59:40 +00:00
Olle Johansson
255e77ae6e
Issue #6580 - Unify directory definitions to one section of Makefile (casper)
...
- Maybe we should define proper directories for OS/X too?
- Should OpenBSD and NetBSD follow the FreeBSD rules?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 07:04:05 +00:00
Russell Bryant
87b1cf5618
various cleanups to the Makefile
...
- remove unused OSREV varibale
- move various CROSS_COMPILE variables to the top and group them together
- move various PROC definitions to the top as a group
- remove usused MARCH variable
(issue #6892 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 17:13:00 +00:00
Olle Johansson
2efcfc1549
Issue #6610 - build on Intel Mac
...
(Wish I could try this at home :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05 20:14:51 +00:00
Mark Spencer
bfba044b5f
Flesh out the remainder of the manager + http changes and create a sample application to partially
...
demonstrate the capability of manager over http.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-01 08:49:54 +00:00
Olle Johansson
50f0b12880
Issue #5374 - Enable internal timing of generators (cmantunes)
...
Thanks everyone involved for hard work, testing and testing!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 06:07:04 +00:00
Mark Spencer
9164eac21a
Add micro-http server and abstract manager interface, make snmp not die
...
on reload.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 23:50:09 +00:00
Luigi Rizzo
dde76c531c
Replace ast_say_* functionn with function pointers, so that modules
...
can override them.
On passing, fix a potential problem in the top level Makefile:
if a static library is not referenced by any of the core objects,
it is not linked in the main program, and will not be available
to modules, which leads to failure at runtime when the modules
are loaded.
This is the case of stdtime/localtime.o, which supplies some core
symbolx, but is only linked in as a library. Fix the problem by
linking in the object.
NOTE: this is intended as a temporary aid to replace the
existing say.c with a newer implementation. Once the
task is completed, we may decide whether or not the ast_say*()
functions should be pluggable or not and possibly revert
part of this change.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-23 14:28:16 +00:00
Tilghman Lesher
21a8d15be4
Merged revisions 11715 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r11715 | tilghman | 2006-03-03 11:13:37 -0600 (Fri, 03 Mar 2006) | 2 lines
Bug 6638 - Solaris is starting to remind me of RedHat...
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-03 17:15:51 +00:00
Tilghman Lesher
ffe5ffda17
Merged revisions 11634-11635 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r11634 | tilghman | 2006-03-02 18:34:52 -0600 (Thu, 02 Mar 2006) | 2 lines
Bug 6638 - Change from a historic BSD command to a POSIX command for determining username
........
r11635 | tilghman | 2006-03-02 18:38:14 -0600 (Thu, 02 Mar 2006) | 2 lines
Bug 6638 - Use POSIX command for Solaris
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-03 00:41:19 +00:00
Tilghman Lesher
c05fc829d3
Bug 6581 - Move definition of PWD higher than where it is initially used
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 22:38:47 +00:00
Mark Spencer
c3447c7cce
Fix a few compile warnings (turned errors) and disable -Werror on the
...
normal build. If people want this they can turn it on, and don't anyone
turn it on by default until you fix building on GCC 4.x
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 04:38:38 +00:00
Kevin P. Fleming
6204abdae2
merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-22 22:53:49 +00:00
Tilghman Lesher
aa20c556f7
Bug 5984 - Convert file offsets to 64 bit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-20 23:35:12 +00:00
Russell Bryant
938f7ddc0f
remove -lssl for asterisk, and add it for res_osp (issue #6496 , different patch)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-16 20:38:21 +00:00
Kevin P. Fleming
e7c198453d
ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-12 16:52:42 +00:00
Matthew Fredrickson
af07dc8883
Add smdi support for asterisk (see doc/smdi.txt for config info) ( #5945 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 21:50:56 +00:00
Kevin P. Fleming
8d8aa07407
minor cleanup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-06 20:30:49 +00:00
Tilghman Lesher
34bcd0e0b6
Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-03 22:37:29 +00:00
Kevin P. Fleming
51ea2f4707
Merged revisions 9086 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r9086 | kpfleming | 2006-02-02 12:37:04 -0600 (Thu, 02 Feb 2006) | 2 lines
don't override ASTERISKVERSIONNUM to 000000 for non-svn builds
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-02 18:40:22 +00:00
Matt O'Gorman
7d03c33e0a
Allows for user to uninstall asterisk binaries
...
bug 6177
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 18:39:41 +00:00
Russell Bryant
95436436c3
add /usr/local/lib to SOLINK (issue #6323 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-27 05:33:20 +00:00
Olle Johansson
6f3cdf08e4
Spelling fix undetected by kpfleming in rev 8150 ;-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-23 12:32:43 +00:00
Kevin P. Fleming
e7f8d66855
spelling fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 20:53:04 +00:00
Matthew Fredrickson
0f5e4e476a
Changes to add udptl to asterisk (preliminary merging of the t.38 patch)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 17:12:12 +00:00