Luigi Rizzo
b80dc41707
Move the last instance of AST_LIBS to the only place it is used,
...
namely main/Makefile .
I am unclear where decisions on the build environment (CFLAGS,
LDFLAGS, LIBS and so on) should be made - right now they are
split here and there.
As a first step in cleaning up this situation, i am trying to at
least collect all instances of each variable in one place.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-05 21:27:04 +00:00
Luigi Rizzo
a6ee4667da
Cleanup the installation of samples, avoiding repetitions.
...
I am preserving the behaviour on *.adsi files,
i.e. overwrite anything there without making a backup.
However I am not sure that this is the intended behaviour.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-05 19:22:56 +00:00
Luigi Rizzo
1945af7e71
simplify (hopefully) the printing of $(MAKE) in aligned output.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-05 18:00:24 +00:00
Luigi Rizzo
80023593fc
print messages when entering/leaving a directory so we know where we are
...
(sometimes it is obvious, sometimes it is not).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-05 17:44:10 +00:00
Tilghman Lesher
f94939ec5a
Merged revisions 87852 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r87852 | tilghman | 2007-10-31 13:03:53 -0500 (Wed, 31 Oct 2007) | 2 lines
Create samples for ALL of the available options in asterisk.conf
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-31 18:09:52 +00:00
Kevin P. Fleming
7aecaf3957
Merged revisions 87460 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r87460 | kpfleming | 2007-10-29 17:04:29 -0500 (Mon, 29 Oct 2007) | 2 lines
don't put '-pipe' into ASTCFLAGS if '-save-temps' is already there (used when debugging preprocessor issues) because the compiler will whine about each compile command
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-29 22:05:17 +00:00
Jason Parker
c3f81e7099
Merged revisions 86405 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(Closes issue #11029 )
........
r86405 | qwell | 2007-10-18 16:58:44 -0500 (Thu, 18 Oct 2007) | 4 lines
Add documentation for options in asterisk.conf
Issue 11029, patch by eserra
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-18 22:03:03 +00:00
Jason Parker
60f4fa4ad2
Merged revisions 85684 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #10938 )
........
r85684 | qwell | 2007-10-15 15:15:51 -0500 (Mon, 15 Oct 2007) | 5 lines
Properly use DESTDIR in 'config' target.
Do not try to run chkconfig or similar if using DESTDIR.
Issue 10938, patch by cabal95.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-15 20:16:48 +00:00
Russell Bryant
3c641c74de
Merged revisions 84474 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r84474 | russell | 2007-10-02 15:06:07 -0500 (Tue, 02 Oct 2007) | 5 lines
* Don't build the menuselect-tree for the tarball, as it requires running the
configure script first
* Change the Makefile to note that menuselect-tree depends on the configure
script.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-02 20:07:15 +00:00
Jason Parker
5b5a2df463
Merged revisions 84291 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r84291 | qwell | 2007-10-01 16:52:45 -0500 (Mon, 01 Oct 2007) | 6 lines
Add dist-clean support for subdirs.
Change h323 to only remove the Makefile on a dist-clean, rather than a clean.
This fixes a bug I found with trying to run make after a make clean
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-01 21:54:41 +00:00
Tilghman Lesher
ddc6f8100e
Permit custom locations for astdb and the keys directory (though default to the current locations) (Closes issue #10267 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24 22:06:19 +00:00
Jason Parker
bde7d34c0e
Merged revisions 81826 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r81826 | qwell | 2007-09-06 17:05:02 -0500 (Thu, 06 Sep 2007) | 1 line
We added COPTS for ASTCFLAGS additions, but not LDOPTS for ASTLDFLAGS. This adds LDOPTS
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-06 22:06:17 +00:00
Jason Parker
30f27bd09a
Merged revisions 80330 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80330 | qwell | 2007-08-22 13:53:18 -0500 (Wed, 22 Aug 2007) | 7 lines
Fix a few build issues in Solaris (and likely others).
Use GREP and ID variables from autoconf.
Reported to me in #asterisk-dev
I forgot who reported this - sorry. :(
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-22 18:54:30 +00:00
Jason Parker
553e5254e4
Merged revisions 80304 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80304 | qwell | 2007-08-22 13:25:34 -0500 (Wed, 22 Aug 2007) | 2 lines
Change a syntax that the GNU make in Solaris dislikes.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-22 18:25:58 +00:00
Russell Bryant
e97027d4b0
Merged revisions 80257 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80257 | russell | 2007-08-22 11:21:58 -0500 (Wed, 22 Aug 2007) | 4 lines
Honor the contents of the COPTS variable as custom target CFLAGS. Apparently
this is what openwrt does.
(reported by Brian Capouch on the asterisk-dev list, patch by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-22 16:22:27 +00:00
Steve Murphy
c0d15cdef1
Merged revisions 78891 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r78891 | murf | 2007-08-09 17:10:46 -0600 (Thu, 09 Aug 2007) | 1 line
This fixes bug 10416; thanks to mvanbaak for the pretty output
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-09 23:32:23 +00:00
Tilghman Lesher
08cc64397d
Target asterisk.pdf stopped building when the build was moved to the doc directory.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-27 23:16:04 +00:00
Russell Bryant
c405d98aad
Merged revisions 77410 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r77410 | russell | 2007-07-26 16:23:23 -0500 (Thu, 26 Jul 2007) | 10 lines
AST_DEVMODE was defined in trunk, but not in 1.4. When Asterisk is compiled
under dev mode, AST_DEVMODE will get defined in buildopts.h. Change 1.4 to
define it in the same way that trunk does. Also, revert the change that added
this define in the Makefile
The advantage to doing it this way is that buildopts.h gets installed when
you install Asterisk. Then, when building any out of tree modules, or
building asterisk-addons, these modules know which options the rest of Asterisk
was built with.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-26 21:24:42 +00:00
Mark Michelson
57d5d489a7
Merged revisions 77380 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r77380 | mmichelson | 2007-07-26 15:35:17 -0500 (Thu, 26 Jul 2007) | 7 lines
Fixes to get ast_backtrace working properly. The AST_DEVMODE macro was never defined so the majority of ast_backtrace never
attempted compilation. The makefile now defines AST_DEVMODE if configure was run with --enable-dev-mode. Also, changes were
made to acccomodate 64 bit systems in ast_backtrace.
Thanks to qwell, kpfleming, and Corydon76 for their roles in allowing me to get this committed
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-26 20:39:46 +00:00
Steve Murphy
ae78bb14db
Merged revisions 74642 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r74642 | murf | 2007-07-11 12:18:42 -0600 (Wed, 11 Jul 2007) | 1 line
This fixes 10172, where the entire man8 dir gets removed during an uninstall of asterisk
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-11 18:21:23 +00:00
Russell Bryant
df1a340774
* Move LaTeX docs into a tex/ subdirectory of the doc/ dir
...
* Add a Makefile in doc/tex/ for generating PDF and HTML
* Add a README.txt file to doc/tex/ to document which tools are used and what
web sites to visit for getting them.
* Update build_tools/prep_tarball to put the proper Asterisk version string
in the automatically generated PDF for release tarballs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-02 22:27:46 +00:00
Jason Parker
7412b3bf0d
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: https://origsvn.digium.com/svn/asterisk/trunk@72539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28 21:31:00 +00:00
Luigi Rizzo
21747697e5
Add -Wdeclaration-after-statement to AST_DEVMODE
...
to detect declarations in the middle of a block.
Approved by: Russel, Kevin
The fallout will be fixed in separate commits.
I am doing this only on trunk only for the time being, because 1.4
still requires a bit more polishing to give a clean compile
(at least on FreeBSD).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28 18:34:07 +00:00
Russell Bryant
2b3968410f
Merged revisions 69660 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69660 | russell | 2007-06-18 10:46:14 -0500 (Mon, 18 Jun 2007) | 2 lines
Tweak paths for BSD systems (issue #10001 , stuarth)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-18 15:46:49 +00:00
Russell Bryant
ccd22dc9e2
Merged revisions 65978 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r65978 | russell | 2007-05-24 14:05:08 -0500 (Thu, 24 May 2007) | 3 lines
Clear CFLAGS before running make for menuselect.
(issue #9784 , reported by ovi, patch by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 19:06:38 +00:00
Jason Parker
cdfa29e2b1
Better fallback method for autosystemname.
...
Issue 9713, patch by Juggie with minor mods by me.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-11 21:15:30 +00:00
Jason Parker
a693e4d58c
Add autosystemname setting to asterisk.conf
...
When enabled, it will set the systemname to be the hostname of the system
Issue 9713, patch by Juggie - slightly modified by me, to "failover" to localhost
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-11 19:56:57 +00:00
Tilghman Lesher
a4f5985b8c
Merged revisions 63905 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r63905 | tilghman | 2007-05-11 11:35:51 -0500 (Fri, 11 May 2007) | 10 lines
Merged revisions 63903 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r63903 | tilghman | 2007-05-11 11:31:03 -0500 (Fri, 11 May 2007) | 2 lines
Issue 9121 - fixups for safe_asterisk script
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-11 16:37:16 +00:00
Russell Bryant
f3a5f666a7
Merged revisions 63535 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r63535 | russell | 2007-05-09 08:24:03 -0500 (Wed, 09 May 2007) | 6 lines
I have seen multiple people post questions trying to figure out what the
message "The configure script must be executed before running 'make'" means.
So, add another like that says to specifically run ./configure. If this isn't
obvious enough, then they should be using something like AsteriskNOW and not
installing from source.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-09 13:24:38 +00:00
Russell Bryant
169fc7945e
Merged revisions 59853 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59853 | russell | 2007-04-03 11:03:35 -0500 (Tue, 03 Apr 2007) | 1 line
Ensure that menuselect gets executed in dependency check mode every time you run make.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-03 16:06:03 +00:00
Russell Bryant
2ddc0ae2ed
Merged revisions 59304 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59304 | russell | 2007-03-29 11:25:41 -0500 (Thu, 29 Mar 2007) | 2 lines
Export the GTK2 library and include information to sub Makefiles.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-29 16:29:17 +00:00
Russell Bryant
7f31b58b21
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: https://origsvn.digium.com/svn/asterisk/trunk@58948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 23:56:10 +00:00
Russell Bryant
70db92a6f8
Merged revisions 58937 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58937 | russell | 2007-03-15 17:51:29 -0500 (Thu, 15 Mar 2007) | 2 lines
Add Asterisk version information to the generated PDF
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:52:27 +00:00
Russell Bryant
1cf3a12047
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: https://origsvn.digium.com/svn/asterisk/trunk@58932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:29:45 +00:00
Kevin P. Fleming
74f31a51bc
add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught
...
convert various #if expressions to #ifdef for macros that may not be defined (and where the value is not important)
Note: two of these changes are in bison generated files which is going to be inconvenient when they are regenerated
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-18 15:03:42 +00:00
Joshua Colp
2c7ede79de
Merged revisions 53114 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53114 | file | 2007-02-02 09:29:35 -0600 (Fri, 02 Feb 2007) | 2 lines
Add systemname to asterisk.conf generation per recent discussions about it. (issue #8968 reported by blitzrage)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 15:30:12 +00:00
Russell Bryant
fa16f36aae
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: https://origsvn.digium.com/svn/asterisk/trunk@51263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 21:57:55 +00:00
Kevin P. Fleming
67a894c071
Merged revisions 50754 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r50754 | kpfleming | 2007-01-13 10:45:37 -0600 (Sat, 13 Jan 2007) | 2 lines
when building the sample greetings for maibox 1234@default during 'make samples', build a greeting for each language and file format the user selected to install with menuselect (reported by Brian Capouch on asterisk-dev)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-13 16:47:01 +00:00
Russell Bryant
79756a9d6a
Merged revisions 50228 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r50228 | russell | 2007-01-09 21:17:46 -0500 (Tue, 09 Jan 2007) | 14 lines
Merged revisions 50227 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50227 | russell | 2007-01-09 21:16:45 -0500 (Tue, 09 Jan 2007) | 6 lines
Make the number that represents the major version number a single digit instead
of 2. Using two digits makes it an octal number when put into version.h, which
breaks the compilation of any out of tree module that checks the version for
any version after 1.2.7 (reported by Matteo Brancaleoni on the asterisk-dev
mailing list, who gave credit to vihai for pointing it out)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 02:19:47 +00:00
Kevin P. Fleming
2d1e6ff221
Merged revisions 49282 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49282 | kpfleming | 2007-01-02 21:21:25 -0600 (Tue, 02 Jan 2007) | 2 lines
various Makefile improvements to get chan_vpb (and any other C++ modules) to build properly
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-03 03:28:12 +00:00
Kevin P. Fleming
887a2de2b4
GNU make already knows what the current directory is, there is no need to use 'pwd'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 22:59:01 +00:00
Kevin P. Fleming
9ebe6679a2
Merged revisions 49098-49099 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49098 | kpfleming | 2007-01-01 16:08:24 -0600 (Mon, 01 Jan 2007) | 2 lines
revert this change until a better solution can be found... 'env -i' was not being used properly, but even when changed to do so, this process fails during cross-compilation because the menuselect build still sees 'CC' as set to the cross-compiler
........
r49099 | kpfleming | 2007-01-01 16:48:03 -0600 (Mon, 01 Jan 2007) | 2 lines
use a simpler (and portable) method to ensure that menuselect is built as a host binary
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49100 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 22:49:56 +00:00
Jason Parker
05d6c4a2d0
Merged revisions 48906 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48906 | qwell | 2006-12-22 16:33:46 -0600 (Fri, 22 Dec 2006) | 2 lines
Minor fixes for Solaris.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-22 22:34:31 +00:00
Joshua Colp
83d3b6adda
Merged revisions 48571 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48571 | file | 2006-12-18 22:46:12 -0500 (Mon, 18 Dec 2006) | 2 lines
Use env -i to start a fresh environment when going to build menuselect. This is more portable then using unset. (issue #8543 reported by jtodd)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19 03:47:44 +00:00
Kevin P. Fleming
89c41e2403
Merged revisions 48525 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48525 | kpfleming | 2006-12-16 15:14:34 -0600 (Sat, 16 Dec 2006) | 2 lines
simplify dependency tracking system, using the compiler's built-in method for generating them, and only doing dependency tracking if developer mode is enabled via the configure script
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-16 21:24:52 +00:00
Kevin P. Fleming
018a9c86e4
Merged revisions 48521 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48521 | kpfleming | 2006-12-16 14:12:41 -0600 (Sat, 16 Dec 2006) | 2 lines
since we really, really have to have autoconfig.h included before all other headers (especially system headers), the Makefile will now force it to happen (this will fix build problems with files like ast_expr2f.c, where we can't control the inclusion order in the file itself)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-16 20:19:19 +00:00
Russell Bryant
c1a36cb52f
Merged revisions 48190 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48190 | russell | 2006-12-01 18:16:28 -0500 (Fri, 01 Dec 2006) | 12 lines
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/trunk@48191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-01 23:20:17 +00:00
Jason Parker
ac9100bfee
Merged revisions 48095 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48095 | qwell | 2006-11-28 12:26:53 -0600 (Tue, 28 Nov 2006) | 2 lines
Export several more variables in top level Makefile. Inspired by issue 8438.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-28 18:28:07 +00:00
Russell Bryant
f5176bcebb
Merged revisions 47494 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47494 | russell | 2006-11-11 10:31:08 -0500 (Sat, 11 Nov 2006) | 6 lines
Add the target "menuconfig" as an alias for the "menuselect" target. This is
just a favor to users so that if you accidentally type "make menuconfig"
instead of "make menuselect", it still works.
(inspired by a comment on IRC from wangster calling me an "especially devious
asterisk developer" for having it be menuselect instead of menuconfig. :) )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-11 15:33:06 +00:00
Russell Bryant
f89ccdc0f3
Merged revisions 46847 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46847 | russell | 2006-11-01 17:51:21 -0500 (Wed, 01 Nov 2006) | 3 lines
Fixes for cross-compilation on mips
(issue #8058 , ywalther, with some modifications)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:54:15 +00:00
Russell Bryant
61056be5ab
Merged revisions 46093 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46093 | russell | 2006-10-24 01:23:33 -0400 (Tue, 24 Oct 2006) | 3 lines
Restore the ability to remove the firmware directory without causing the
installation to fail (issue #8111 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-24 05:24:32 +00:00
Joshua Colp
e85da9be41
Let's have build.h created a bit earlier so that func_version can use it and not stop the build on a fresh machine that has never had Asterisk installed on it before...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-22 04:44:43 +00:00
Joshua Colp
63f236445e
Merged revisions 45775 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r45775 | file | 2006-10-20 15:03:03 -0400 (Fri, 20 Oct 2006) | 2 lines
Pass DESTDIR and ASTSBINDIR so that the utilities get installed in the proper location (reported on asterisk-dev mailing list)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-20 19:04:23 +00:00
Joshua Colp
886059d111
Merged revisions 44942 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44942 | file | 2006-10-12 12:08:50 -0400 (Thu, 12 Oct 2006) | 2 lines
Pass off AUDIO_LIBS so muted can link on OSX (issue #8135 reported by ssokol)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-12 16:11:32 +00:00
Luigi Rizzo
d3f886fb14
put linker flags in ASTLDFLAGS where they belong
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 22:51:17 +00:00
Kevin P. Fleming
41eb95e055
Merged revisions 44322 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44322 | kpfleming | 2006-10-03 19:25:44 -0500 (Tue, 03 Oct 2006) | 3 lines
ensure that local include files are always used
avoid a duplicate function name (term_init())
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 00:26:21 +00:00
Russell Bryant
f2fb8e6f79
Merged revisions 44125 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44125 | russell | 2006-10-01 14:30:06 -0400 (Sun, 01 Oct 2006) | 6 lines
Fix a problem that cuased AST_DATA_DIR in defaults.h to be empty. The cause is
that since ASTDATADIR is explicitly exported using "export ASTDATADIR" at the
top of the Makefile, make no longer considers the variable "undefined", so the
Makefile can't use ?= to set ASTDATADIR if not yet set.
(issue #8063 , reported by akohlsmith, fixed by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-01 18:30:42 +00:00
Luigi Rizzo
8d6d166b14
merge compile fixes from 44080:
...
- with AST_DEVMODE, building codecs/lpc10 fails because of lots
of warnings, and the configure step in editline fails as well.
Fix this by removing the -Werror in these steps.
- on FreeBSD (but probably on other platforms as well), the final
link of asterisk fails because AST_LIBS was not exported to the
subdirs Makefiles. Add a proper fix in the top-level Makefile
(a possible alternative way is to add "export AST_LIBS" near
the beginning of the file).
With this fix, i believe that some of the platform-specific
conditionals in main/Makefile are redundant (because they should
be already dealt with in the top level Makefile) but i don't
have a platform to check.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-30 16:37:21 +00:00
Kevin P. Fleming
89050169c8
Merged revisions 43996-43997,44008,44011-44012 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r43996 | kpfleming | 2006-09-29 11:47:05 -0500 (Fri, 29 Sep 2006) | 2 lines
another cross-compile fix
........
r43997 | kpfleming | 2006-09-29 11:52:27 -0500 (Fri, 29 Sep 2006) | 2 lines
support --without-curl in configure script
........
r44008 | kpfleming | 2006-09-29 13:25:49 -0500 (Fri, 29 Sep 2006) | 2 lines
don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead
........
r44011 | kpfleming | 2006-09-29 13:40:17 -0500 (Fri, 29 Sep 2006) | 2 lines
missed one conversion to ASTCFLAGS
........
r44012 | kpfleming | 2006-09-29 13:49:07 -0500 (Fri, 29 Sep 2006) | 2 lines
yet another place where we were not using the correct CFLAGS by default
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 18:54:21 +00:00
Kevin P. Fleming
ea6e34b530
Merged revisions 43993 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r43993 | kpfleming | 2006-09-29 11:38:27 -0500 (Fri, 29 Sep 2006) | 2 lines
a couple more environment settings that can't leak into the menuselect build
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-29 16:38:46 +00:00
Kevin P. Fleming
e796af37f1
Merged revisions 43524 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r43524 | kpfleming | 2006-09-22 18:44:47 -0500 (Fri, 22 Sep 2006) | 2 lines
don't output the 'build complete' message when the target being run is already going to do an installation
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-22 23:45:14 +00:00
Kevin P. Fleming
1485fa4c24
move this header to include where it belongs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 21:48:57 +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
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
be29512d1e
more makefile tweaks to keep targets from being run when they don't need to be
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-09 03:27:21 +00:00
Kevin P. Fleming
3f189742f6
make menuselect configure process be silent when possible
...
don't use #ifdef inside a macro call... it appears various versions of gcc have bugs related to this
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-29 23:33:59 +00:00
Kevin P. Fleming
3ba8e0a973
ensure that cross-compiler info is removed from the enviroment before configuring menuselect
...
ensure that the user's LDFLAGS take precedence when linking the final binary
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26 17:05:38 +00:00
Russell Bryant
b374245688
remove some unneeded variables now that the menuselect build is isolated from
...
the parent project
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-26 16:13:45 +00:00
Luigi Rizzo
379dc24745
we really need BSD make here to understand the -V option.
...
Fix and document this.
(problem introduced in SVN 40753)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 20:10:56 +00:00
Russell Bryant
5266cd75e3
remove CFLAGS that aren't needed anymore
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 18:57:46 +00:00
Jason Parker
2986a59fab
Okay, there are 3 reasons why I'm doing this.
...
1) Solaris sed doesn't have -r, which means things like \s and \S don't work.
2) GNU sed version 4.1.2 failed on a very simple test
echo "Test Test" | sed -r -e 's/\s/x/g'
should have returned "TestxxxTest", but did not (however, 4.1.4 did?).
3) The CFLAGS were never set, so that entire line actually did nothing. Now it's useful again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 01:21:41 +00:00
Russell Bryant
4c41a6ccd0
merge menuselect_build ... most of the changes happened in menuselect
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-23 03:07:34 +00:00
Jason Parker
0264c362b6
a couple Solaris tweaks, to help build properly.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-22 05:24:50 +00:00
Kevin P. Fleming
a87f710062
oops... missed one
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 20:19:47 +00:00
Kevin P. Fleming
90b0c32c71
another variable to clear out before configuring mxml
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 20:18:36 +00:00
Kevin P. Fleming
ff74cbc116
replace a couple of bare 'make' with $(MAKE)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 13:47:45 +00:00
Kevin P. Fleming
e044e852c6
ensure that 'make' after 'svn update' that includes a configure script change won't run without making the user run configure first
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 03:58:02 +00:00
Kevin P. Fleming
b1288df748
document Makefile target changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:54:05 +00:00
Kevin P. Fleming
ca6ee66c60
main subdirectory is not dependencies for menuselect input
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:31:01 +00:00
Kevin P. Fleming
0a27d8bfe5
merge new_loader_completion branch, including (at least):
...
- restructured build tree and makefiles to eliminate recursion problems
- support for embedded modules
- support for static builds
- simpler cross-compilation support
- simpler module/loader interface (no exported symbols)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:11:39 +00:00
Joshua Colp
60cf653dde
kpfleming didn't break trunk, it was the aliens. (fix it so that the Makefile references the new name for the XML tree, menuselect-tree)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-20 01:42:41 +00:00
Russell Bryant
781f9dbcaf
don't include files that cause additional targets to get executed if the target
...
called was clean, distclean, or update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-14 02:00:28 +00:00
Russell Bryant
9dac8f0f09
add menuselect_stub.c to deps list
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-19 21:52:59 +00:00
Kevin P. Fleming
a077853b17
add comments on what special variables are for
...
put library path into proper variable for *BSD
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15 20:12:28 +00:00
Kevin P. Fleming
000ba592b2
more Makefile cleanup and consistency stuff
...
don't reuse LIBS variable from top-level Makefile (oops)
build Asterisk binary after subdirs (preparing for embedded modules)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15 19:59:35 +00:00
Kevin P. Fleming
396ef6f9e7
use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if needed (although none do today)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-15 16:40:05 +00:00
Russell Bryant
d739107ce1
revert this change for now since it isn't working correctly and there are more
...
important issues to work on at the moment ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 20:27:46 +00:00
Russell Bryant
407c91a043
add "update" to the list of targets to ignore various included files for and
...
check the targets in a little bit different way
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 19:48:22 +00:00
Russell Bryant
90098fa198
don't let make run configure or menuselect if the target is either
...
"clean" or "distclean"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 19:36:42 +00:00
Russell Bryant
6ff11745ef
remove the use of -Wno-pointer-sign. Asterisk now builds without any of these
...
warnings present on my machine.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 16:22:32 +00:00
Kevin P. Fleming
b601ff0a3e
small cleanup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 02:33:24 +00:00
Kevin P. Fleming
bc9ed9f5c4
various minor fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 00:48:40 +00:00
Russell Bryant
0b91c08045
dirty hack of a fix to deal with the fact that chan_vpb changed to chan_vpb.cc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 23:51:15 +00:00
Kevin P. Fleming
4f826452cf
make the build output less noisy (optional, can be controlled by the NOISY_BUILD variable in the top-level Makefile)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 23:18:45 +00:00
Kevin P. Fleming
748431f7b6
move rules file to prepare for generic rules file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 21:04:28 +00:00
Russell Bryant
f54bef6dff
fix removing autoconfig.h on distclean (issue #7439 , casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-01 14:29:06 +00:00
Russell Bryant
9bc3976204
swap distclean and dist-clean, since distclean is more commonly used ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-01 14:25:43 +00:00
Russell Bryant
5dceb817e6
remove build_tools/menuselelct-deps on distclean
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-01 04:37:52 +00:00
Russell Bryant
b2f5334746
don't specify this include in the menuselect Makefile, because asterisk-addons
...
doesn't have an include dir
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-01 03:27:37 +00:00
Russell Bryant
eba0e6731f
more pickyness
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-01 03:23:18 +00:00
Russell Bryant
63e4f53ee5
change bracket style because i'm picky
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-01 03:21:56 +00:00
Russell Bryant
03f2685c76
menuselect doesn't pull strcompat.o from asterisk anymore
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-01 03:21:06 +00:00
Tilghman Lesher
459b7e25bc
Merged revisions 36290 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r36290 | tilghman | 2006-06-29 14:23:18 -0500 (Thu, 29 Jun 2006) | 2 lines
Bug 7388 - compatibility changes for Solaris
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-29 22:01:41 +00:00
Russell Bryant
0f875c3664
?= just checks to see if a variable is not yet defined. If MENUSELECT_CFLAGS
...
was not found in the user level makeopts file, the variable is defined, but
empty.
I wish we could just require GNU make 3.81 :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-28 21:33:39 +00:00
Russell Bryant
ecab03293c
slight change to pulling out the MENUSELECT_CFLAGS from the user and global
...
level makeopts files - if MENUSELECT_CFLAGS is set to nothing in the user level
makeotps file, then the Makefile should not look in the global file at all.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36228 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-28 21:26:31 +00:00
Russell Bryant
d17026e670
remove an extra comma
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-28 21:20:15 +00:00
Russell Bryant
c248b690e4
remove the two uses of the $(or ...) function since it is only supported by
...
GNU make 3.81 which is less than 3 months old (issue #7442 , patch by Corydon76)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-28 21:09:02 +00:00
Russell Bryant
9d61f19cee
allow menuselect to be a symlink to a checkout
...
(second part of issue #7436 , Corydon76)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-28 19:55:05 +00:00
Russell Bryant
9aa1432b46
fix the case where menuselect.makeopts is getting generated in the same run of
...
"make" as the current build and some of the MENUELSELECT_CFLAGS are set in the
user or global level asterisk.makeopts file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-28 15:10:57 +00:00
Jeffrey C. Ollie
5e2ccc9821
menuselect writes both menuselect.makeopts and menuselect.makedeps at once, make sure that the Makefile knows about that.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-27 18:49:04 +00:00
Russell Bryant
4b64399cc6
don't let the Makefile blow up in menuselect.makeopts is present but
...
menuselect.makedeps is not. This would probably only be the case in existing
checkouts ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 14:38:55 +00:00
Kevin P. Fleming
67ea3b2d22
simplify special rule for channel.o
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-26 06:27:25 +00:00
Kevin P. Fleming
a579371f43
use new (separate) dependencies file from menuselect
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-25 08:50:14 +00:00
Kevin P. Fleming
e61d3d91f3
The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
...
support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 19:43:31 +00:00
Russell Bryant
2e9099934b
fix dist-clean and add menuselect to the clean target, too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 04:42:35 +00:00
Russell Bryant
b38f45a458
add dependency on menuselect's version of linkedlists.h, list menuselect as
...
a PHONY target
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 04:34:55 +00:00
Russell Bryant
cdbb0e2bf7
merge changes to get menuselect using svn:externals
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 14:19:35 +00:00
Kevin P. Fleming
2f238654de
remove any generated doxygen docs during distclean
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 08:32:19 +00:00
Russell Bryant
93c833e5d0
remove the autom4te.cache dir on a "make distclean" and add distclean to the
...
.PHONY list
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 02:15:35 +00:00
Russell Bryant
cad05d819b
actually allow all of the sub directories to be built when running "make", oops
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 16:26:09 +00:00
Russell Bryant
e807ea95ab
add a couple more targets to .PHONY
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 15:45:32 +00:00
Russell Bryant
48ae9f0d4f
- convert the 'uninstall' target to use separate targets to process each
...
subdirectory instead of a for loop
- remove the FORCE target from the main Makefile and add the couple places
I used it to the .PHONY target. .PHONY does the same thing and is a built-in
more efficient way of doing it.
- add a bunch more targets to .PHONY ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 15:38:13 +00:00
Russell Bryant
55e8a60363
- specify that 'depend' is a .PHONY target
...
- use separate targets instead of a for loop for doing 'make depend' for
each sub directory
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 15:08:08 +00:00
Russell Bryant
c95e633c8a
use separate targets instead of for loops to process sub directories for the
...
'clean' and 'clean-depend' targets
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 14:31:52 +00:00
Russell Bryant
5ed2edeac4
get rid of another annoying stray space in the gcc commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35480 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 14:16:41 +00:00
Russell Bryant
9db0520ff9
- specify that 'all' is a .PHONY target
...
- add a copyright header to the build_tools Makefile
- remove 'depend' from the 'all' target in agi/ and utils/ since it is handled
by the main Makefile already
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 14:09:18 +00:00
Russell Bryant
dbfa007d8a
clean up a little mess I created by using the 'or' function instead of gross
...
nested if statements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 13:22:07 +00:00
Russell Bryant
e217604a44
use a slightly different, but equivalent way of setting the
...
SUBDIRS_INSTALL variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 12:48:25 +00:00
Russell Bryant
ad721dc2c1
instead of using a for loop to call 'make install' on each subdirectory, use
...
separate targets
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 12:33:50 +00:00
Russell Bryant
be0d611984
instead of using a for loop to call make on each subdirectory, use a target for
...
each subdirectory.
- the shell code in the for loop doesn't have a manually catch errors from
make on a subdirectory
- you can now run something like "make apps" or "make channels" from the root
source directory
- This should allow for better support for parallel instances of make (the -j
option) since make can work on each subdirectory target in parallel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 12:14:29 +00:00
Russell Bryant
ce76568c52
nothing to see here ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 11:39:25 +00:00
Russell Bryant
c399a06450
add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
...
since they are targets that do not have resulting files and are never listed
as prerequisites to real targets. Using .PHONY in this manner improves make
performance by never having to check for resulting files.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 11:27:03 +00:00
Russell Bryant
f601dd80fa
use $(FIND) and $(LN) from configure
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 10:38:45 +00:00
Russell Bryant
ac8bd0f0c0
use $(BASENAME) set by configure
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 10:36:45 +00:00
Russell Bryant
8686c659a6
$(INSTALL) is determined by configure and set in the makeopts file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 15:08:44 +00:00
Russell Bryant
c260301476
- use $(CC) instead of gcc when building testexpr2
...
- modify ast_expr2.fl and ast_expr2.y to not try to register the file version
in a STANDALONE build
- add config.status as a dependency on testexpr2 to ensure configure is
executed before building it
- add include/asterisk/buildopts.h as a dependency for testexpr2 as well
- add -Iinclude to the gcc commands for building the testexpr2 objects so that
it can find the local asterisk headers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-20 01:06:50 +00:00
Kevin P. Fleming
487adb43e2
various cleanups, remove support for CVS checkouts
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 15:17:32 +00:00
Russell Bryant
9843e16df2
there is no reason to build and link stdtime/libtime.a because we already
...
directly include stdtime/localtime.o in the OBJS for asterisk, which is the
only object file for libtime
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-18 20:33:53 +00:00
Joshua Colp
eb5af4b1f3
Fix adsi target in main Makefile and check a variable properly (issue #7369 reported by casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 16:45:52 +00:00
Kevin P. Fleming
bc49d5bfb3
moh files will now be distributed in native format, not mp3, so...
...
update sounds/Makefile to download/unpack the proper files
remove all evidence of mpg123 from the main Makefile
change the sample musiconhold.conf file to use native mode instead of mp3
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 22:37:31 +00:00
Kevin P. Fleming
34cf2c13b8
don't force the sounds to download... only when needed
...
fix a few buglets i caused in menuselect
remove downloaded sounds on 'dist-clean'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 21:05:05 +00:00
Kevin P. Fleming
0dd82bc6f1
woo-hoo, now it knows how to download the sound packages... doesn't install them yet though
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 20:54:30 +00:00
Kevin P. Fleming
274ce731e2
move autoconfig.h to the include/asterisk directory so it will get installed
...
install asterisk.h include the system's default include directory
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 19:05:35 +00:00
Kevin P. Fleming
472c1ca282
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Russell Bryant
06b381a54d
add the ability to do the same thing as "make dont-optimize" by enabling the
...
option in menuselect. This is very useful for developers if you want to ensure
that all of your builds are done without optimizations.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 00:25:23 +00:00
Kevin P. Fleming
b34e3d09ab
begin adding support for new sound packages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 19:16:04 +00:00
Russell Bryant
e21181dbd4
- add slav, zoa, and royk to the CREDITS for the generic jitterbuffer
...
- change references to the "scx" jitterbuffer to be called "fixed" and change
references to the "stevek" jitterbuffer to be called "adaptive", instead
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 14:07:03 +00:00
Russell Bryant
d1dfe22397
fix the problem where defaults.h is missing after a forced make clean in a
...
different way that actually works
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 00:09:18 +00:00
Russell Bryant
bb7dd96cfe
Add support for using a jitterbuffer for RTP on bridged calls. This includes
...
a new implementation of a fixed size jitterbuffer, as well as support for the
existing adaptive jitterbuffer implementation. (issue #3854 , Slav Klenov)
Thank you very much to Slav Klenov of Securax and all of the people involved
in the testing of this feature for all of your hard work!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 16:56:50 +00:00
Russell Bryant
1e61ba6699
restore default paths for FreeBSD (reported by alphaque, fixed by jcollie)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 22:05:12 +00:00
Russell Bryant
ebe974e9e4
defaults.h must be listed as a dependency after the cleantest because if it
...
forces a make clean, it has to be regenerated. This fixes the problem that
people have been seeing where the build would fail complaining about defaults.h
not being present.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 00:36:18 +00:00
Russell Bryant
8029c58409
there is no reason to explicity specify -fomit-frame-pointer when building with
...
optimization enabled, because it is enabled automatically (issue #7108 , casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 19:10:06 +00:00
Russell Bryant
9993d14f86
add support for more refined ability to set install paths using the standard
...
options to configure such as --libdir, --sbindir, etc. All of the default paths
are still the same. (issue #7057 , jcollie)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 18:54:21 +00:00
Russell Bryant
808f26a24d
fix file dependency generation so that the resulting files in the subdirectories
...
are not of zero length (issue #7138 , reported/patched by casper, fixed by a
different patch)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 06:41:53 +00:00
Russell Bryant
a3ed43f0dc
Move WITH_SMDI from the Makefiles to be handled by menuselect. It will now be
...
defined in buildopts.h. Also, remove a few more stray spaces in the gcc commands.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-13 10:54:40 +00:00
Russell Bryant
cec3a958e4
remove some stuff handled by configure and menuselect
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-13 10:43:11 +00:00
Russell Bryant
2062ab078e
remove unnecessary INCLUDE variable which was currently added to ASTCFLAGS
...
before it was ever set. This removes another stray space in the gcc
commands :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-13 10:37:26 +00:00
Russell Bryant
ad8ff708de
fix the build with astmm (issue #7139 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 21:24:54 +00:00
Russell Bryant
8a390e342a
use config.status instead of include/autoconfig.h as the dependency
...
for menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 20:29:00 +00:00
Kevin P. Fleming
76347c8d31
various minor cleanups
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 13:15:10 +00:00
Russell Bryant
1a8f3dd2d2
forcing a dist-clean in the cleantest was a bad idea. Just change the script
...
that generates buildopts.h to handle old menuselect.makeopts files
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:28:37 +00:00
Russell Bryant
7c6766e67b
remove a trailing tab ... now this Makefile is perfect
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:12:34 +00:00
Russell Bryant
44d4ed1b37
change the CFLAGS controlled by menuselect to be placed in a header file
...
instead of being added to the compiler commands. This header file will be
installed and modules built outside of the main tree will be able to use the
same build options used to build the rest of Asterisk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 09:50:41 +00:00
Russell Bryant
a1aefcd03d
suppress the output from generating defaults.h and versions.h, as well as
...
checking the cleancount
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 14:35:38 +00:00
Luigi Rizzo
16ee7c509c
add missing rule
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 10:48:29 +00:00
Kevin P. Fleming
f429105aae
remove rule for running bootstrap, it's only safe to run it manually now
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 14:43:00 +00:00
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
Tilghman Lesher
cdab512c9f
Bug 5183 - Inline stack backtraces
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-27 06:24:28 +00:00
Russell Bryant
c6907f1ed8
Merged revisions 7340 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7340 | russell | 2005-12-05 01:47:51 -0500 (Mon, 05 Dec 2005) | 2 lines
remove ASTERISKVERSIONNUM from the version string given to doxygen
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7341 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-05 06:50:04 +00:00
Kevin P. Fleming
0242a69b3f
Merged revisions 7265-7266,7268-7275 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7265 | oej | 2005-12-01 17:18:14 -0600 (Thu, 01 Dec 2005) | 2 lines
Changing bug report address to the Asterisk issue tracker
........
r7266 | kpfleming | 2005-12-01 17:18:29 -0600 (Thu, 01 Dec 2005) | 3 lines
Makefile 'update' target now supports updating from Subversion repositories (issue #5875 )
remove support for 'patches' subdirectory, it's no longer useful
........
r7268 | kpfleming | 2005-12-01 17:34:58 -0600 (Thu, 01 Dec 2005) | 2 lines
ensure channel's scheduling context is freed (issue #5788 )
........
r7269 | kpfleming | 2005-12-01 17:49:44 -0600 (Thu, 01 Dec 2005) | 2 lines
don't block waiting for the Festival server forever when it goes away (issue #5882 )
........
r7270 | kpfleming | 2005-12-01 18:26:12 -0600 (Thu, 01 Dec 2005) | 2 lines
allow variables to exist on both 'halves' of the Local channel (issue #5810 )
........
r7271 | kpfleming | 2005-12-01 18:28:48 -0600 (Thu, 01 Dec 2005) | 2 lines
protect agent_bridgedchannel() from segfaulting when there is no bridged channel (issue #5879 )
........
r7272 | kpfleming | 2005-12-01 18:39:00 -0600 (Thu, 01 Dec 2005) | 3 lines
properly handle password changes when mailbox is last line of config file and not followed by a newline (issue #5870 )
reformat password changing code to conform to coding guidelines (issue #5870 )
........
r7273 | kpfleming | 2005-12-01 18:42:40 -0600 (Thu, 01 Dec 2005) | 2 lines
allow previous context-searching behavior to be used if desired (issue #5899 )
........
r7274 | kpfleming | 2005-12-01 18:51:15 -0600 (Thu, 01 Dec 2005) | 2 lines
inherit channel variables into channels created by Page() application (issue #5888 )
........
r7275 | oej | 2005-12-01 18:52:13 -0600 (Thu, 01 Dec 2005) | 2 lines
Bug #5907 . Improve SIP INFO DTMF debugging output. (1.2 & Trunk)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-02 01:01:11 +00:00
Russell Bryant
48a4c3a24d
remove outdated redhat init script and provide the updated one in 'make rpm' (issue #5786 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-30 21:30:18 +00:00
Kevin P. Fleming
350287ea08
move mkpkgconfig script where it belongs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-30 02:00:49 +00:00
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Kevin P. Fleming
45c2f3b9f9
make version-string computation based on SVN branch/revision numbers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-28 03:59:39 +00:00
Josh Roberson
d34be7edf7
Re-add explicit poll support for Darwin, as without it, rasterisk (or asterisk -r) is broken under Darwin.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7172 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 15:09:31 +00:00
Russell Bryant
ee5bc3ce65
don't hardcode poll.o for Darwin
...
fix incorrect portion of patch from yesterday's Solaris fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 13:21:18 +00:00
Russell Bryant
b39076b985
issue #5775
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 02:30:37 +00:00
Russell Bryant
edef0bbf2f
create the monitor spool dir
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-21 01:53:44 +00:00
Russell Bryant
d09769fba7
fix the output of Makefile generated variables to doxygen
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-17 21:45:03 +00:00
Josh Roberson
892978fb4b
Issue # 5757
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-16 20:23:53 +00:00
Kevin P. Fleming
296ca06e35
small debugging information change
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-16 04:11:48 +00:00
Russell Bryant
d8dfa4434d
finish merging doxygen updates from issue #5605
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-14 19:00:38 +00:00
Kevin P. Fleming
77390dfeaf
issue #5572
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 03:31:45 +00:00
Kevin P. Fleming
145daf44d8
issue #5634 and a little ChangeLog cleanup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 00:12:21 +00:00
Kevin P. Fleming
3fb2544a41
issue #5633
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 00:08:09 +00:00
Kevin P. Fleming
018e8c8395
dont-optimize was broken...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-07 22:33:12 +00:00
Kevin P. Fleming
da0d0f975a
stop recompiling cli.c on every 'make'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-05 18:58:27 +00:00
Kevin P. Fleming
7ffb604a2f
issue #4678
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:53:30 +00:00
Russell Bryant
f31f09bf53
there is a variable defined for 'install', might as well use it ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-25 12:47:54 +00:00
Mark Spencer
4803298fe8
Make crypto loading optional
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-16 03:08:58 +00:00
Russell Bryant
9ce40204d6
add "hello-world" prompt, courtesy of Jared Smith :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 00:07:14 +00:00
Russell Bryant
c0119acc0e
fix a typo, oops!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-08 17:08:44 +00:00
Kevin P. Fleming
834193c08a
support a 'post install' script for local modifications after installation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-30 14:48:41 +00:00
Kevin P. Fleming
3b7332c5e6
allow some more paths to be overridden on the command line (issue #5292 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 04:06:15 +00:00
Kevin P. Fleming
61a0f7a65e
install 'rasterisk' symlink and update process name when used remotely (issue #5318 with minor mod)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 02:38:24 +00:00
Kevin P. Fleming
44aff84c2e
use a more generic means to decide whether we need to provide poll/dlfcn functionality (issue #5297 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26 17:17:56 +00:00
Kevin P. Fleming
9d63d731aa
fix minor build problem on *BSD (issue #5290 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-26 02:08:06 +00:00
Kevin P. Fleming
5599da9581
support new version of OSP toolkit (issue #5168 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-25 20:50:40 +00:00
Russell Bryant
6f96370770
don't remove the ast_expr .c files when building testexpr2 since they are
...
now directly included in the tree
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-19 12:41:32 +00:00
Kevin P. Fleming
509c285380
don't distribute compressed man pages,let the installer do it
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 00:12:36 +00:00
Kevin P. Fleming
72437b1dba
more BSD portability fixes (issue #5155 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 01:10:20 +00:00
Mark Spencer
064520786e
Fix permissions on safe_asterisk (bug #5193 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-12 04:06:52 +00:00
Mark Spencer
f06a4016be
Properly install appropriate sound files, prefix spy ones with spy- (bug #5192 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-12 03:49:54 +00:00
Kevin P. Fleming
b9c919ca3e
ensure that MALLOC_DEBUG and 'make dont-optimize' don't conflict (issue #4970 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-08 00:34:19 +00:00
Kevin P. Fleming
81fd292e40
don't remove .version during 'make clean', it's not the temporary file it used to be
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 18:48:21 +00:00
Kevin P. Fleming
22dc4f71fe
minor cleanup and reorganization (issue #5073 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 03:32:15 +00:00
Kevin P. Fleming
1632d52795
major header file cleanup: license, copyrights, descriptions, markers, etc.
...
remove deprecated config_old.c/config_old.h
remove unused cvsid.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 18:32:10 +00:00
Kevin P. Fleming
76d34be89b
correct syntax error
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 15:44:09 +00:00
Kevin P. Fleming
60ef1dc9d1
ensure that the parser is generated in 'full/fast' mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 14:44:00 +00:00
Kevin P. Fleming
9519f6c5f4
clean up, use make functions instead of subshells, remove unused stuff
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:54:02 +00:00
Kevin P. Fleming
6319baba24
remove extra dependencies
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-26 19:55:11 +00:00
Kevin P. Fleming
66e69e0143
switch to 'new' expression parser, remove support for old parser
...
provide parser files in source tree, so flex/bison are not need to build
update Makefile to use simpler techniques to build parser
update README to remove references to old vs. new parsers
remove version comparison tool used for flex/bison programs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-26 19:21:57 +00:00
Kevin P. Fleming
5473ad640b
make MALLOC_DEBUG build work properly (issue #4970 with additional changes)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 15:08:55 +00:00
Kevin P. Fleming
477f581889
don't require 'make samples' to require code to be built (issue #4997 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 02:30:30 +00:00
Mark Spencer
079b24c53c
Build safe_asterisk script substituting the proper path in (bug #4952 , patch not used)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-14 02:19:16 +00:00
Mark Spencer
766acde0dc
Build dependencies first
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-11 15:47:41 +00:00
Mark Spencer
0e411496e1
Default paths properly when building for solaris (bug #4902 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-07 14:59:41 +00:00
Mark Spencer
5c9027a293
Remove from maekfile, too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-02 11:57:29 +00:00
Russell Bryant
829a14ed07
remove the need to have the BUSYDETECT routine defined in the CFLAGS unless
...
you want to use one other than the default
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 21:57:14 +00:00
Kevin P. Fleming
075a8ad21c
add slinfactory object, and change app_chanspy to use it (bug #4724 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-20 00:53:21 +00:00
Kevin P. Fleming
4dd4428204
split acl and netsock code into separate files, in preparation for new netsock implementation
...
various minor cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-19 23:17:02 +00:00
Russell Bryant
088da8a0ab
actually install the demo sounds ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-18 20:09:09 +00:00
Russell Bryant
5f04f09e5a
also include /etc/asterisk.makeopts, but have file in home directory override
...
it if present
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-18 18:34:52 +00:00
Josh Roberson
25041974ef
Update muted for operation on OSX. :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-18 04:22:08 +00:00
Kevin P. Fleming
60cd1fa57d
clean up scheduler debugging and expose defines in the Makefile (bug #4703 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6145 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 22:21:31 +00:00
Kevin P. Fleming
b6486df40e
first phase of proper fix for portable string function problems (bug #4669 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 00:39:01 +00:00
Russell Bryant
ad1858bebc
add ability to have a file, ~/.asterisk.makeopts, that will be included in
...
the makefile so that every time you checkout Asterisk, you don't have to
edit the makefile to set all of your common options
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-14 19:40:15 +00:00
Kevin P. Fleming
0313d0b9c5
add privacy/screening functionality to app_dial (bug #752 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 03:23:31 +00:00
Kevin P. Fleming
b06daf5859
make 'webvmail' installation directories more configurable (bug #4649 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 02:08:03 +00:00
Mark Spencer
45895f6fa7
You must have version.h before building dependencies!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10 15:53:05 +00:00
Malcolm Davenport
fe7c0b0cce
Bug #4652 - Take two
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-09 12:18:59 +00:00
Malcolm Davenport
d36d51f732
Bug #4652 - Require libstrfunc for FreeBSD. Thanks Corydon
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 21:54:07 +00:00
Kevin P. Fleming
c13d601fb4
queue device state changes and handle them serially in a background thread
...
optimize device state related functions
add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 21:14:34 +00:00
Kevin P. Fleming
8f8d190b46
add man pages for autosupport and safe_asterisk scripts (bug #4642 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 19:04:49 +00:00
Kevin P. Fleming
83878abdc7
actually _install_ the astgenkey man page
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 19:02:25 +00:00
Kevin P. Fleming
1f784b32d8
don't repeat a command during 'make install' (bug #4582 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-23 17:32:36 +00:00
Kevin P. Fleming
b898cdcefb
allow PROC to be supplied on the make command line (bug #4570 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5966 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-22 00:09:27 +00:00
Kevin P. Fleming
da4cf4e3e1
use Solaris-compatible shell syntax (bug #4567 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 22:16:30 +00:00
Kevin P. Fleming
0e9d920a60
move tools used during build into build_tools subdirectory
...
clean up Makefile headers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-20 17:26:08 +00:00
Kevin P. Fleming
370e887fbf
fix 'make rpm'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:44:37 +00:00
Kevin P. Fleming
ab206439d8
don't force build.h to be built at 'install' time, if it's already there leave it alone
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 18:29:57 +00:00
Kevin P. Fleming
4f299de252
major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 03:04:58 +00:00
Malcolm Davenport
e596f53c9e
Whoopsie :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-26 20:31:40 +00:00
Mark Spencer
2f1e6379b3
Fix agent deadlock and remove braindead tags dependency
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-26 20:24:56 +00:00
Josh Roberson
43866b0ef2
Change define __OSX__ to more appropriate __Darwin__ (in light of Darwin being open sourced, and able to run on x86, OSX isn't really suitable)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 21:56:50 +00:00
Kevin P. Fleming
77284bfaa6
fix Solaris compatibility issues (bug #4339 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-20 03:18:35 +00:00
Kevin P. Fleming
b051cccb89
more Makefile tweaks
...
ensure mkdep can handle creating rules for files that are using double-colon rules
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 15:20:06 +00:00
Kevin P. Fleming
6ac98c6724
make version-testing and echo constructs more shell-portable
...
add proper attribution to vercomp.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5736 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 14:53:56 +00:00
Kevin P. Fleming
813f0b9653
use new C-coded version comparison program for bison and flex (bug #2058 , with different Makefile changes)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 04:08:01 +00:00
Kevin P. Fleming
27a551a0eb
temporarily suppress usage of vercomp.sh script until it can be fixed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 13:51:56 +00:00
Kevin P. Fleming
2a7d309deb
add upgraded expression parser (bug #2058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 00:35:38 +00:00