Russell Bryant
37aa52fd78
Merged revisions 316265 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r316265 | russell | 2011-05-03 14:55:49 -0500 (Tue, 03 May 2011) | 5 lines
Fix a bunch of compiler warnings generated by gcc 4.6.0.
Most of these are -Wunused-but-set-variable, but there were a few others
mixed in here, as well.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@316293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
14 years ago
Kevin P. Fleming
7cf70df999
Use "-march=native" when possible.
...
Recent versions of GCC have a tuning option value of 'native', which causes
the compiler to optimize the build for the CPU the compile is performed on.
Since most people are building Asterisk on the machine they plan to run it on,
the configure script and build system will now use this value unless a different
value is specified by the user in CFLAGS when the configure script is executed.
In addition, this value will be used for building the GSM and LPC10 codecs as
well, in preference to the logic that has been in their Makefiles forever to
optimize for certain types of CPUs.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@310332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
14 years ago
David Brooks
48363c16e1
Fixes numerous spelling errors. Patch submitted by alecdavis.
...
(closes issue #15595 )
Reported by: alecdavis
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
16 years ago
Kevin P. Fleming
96e4e31eeb
Merged revisions 207647 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r207647 | kpfleming | 2009-07-21 08:04:44 -0500 (Tue, 21 Jul 2009) | 12 lines
Ensure that user-provided CFLAGS and LDFLAGS are honored.
This commit changes the build system so that user-provided flags (in ASTCFLAGS
and ASTLDFLAGS) are supplied to the compiler/linker *after* all flags provided
by the build system itself, so that the user can effectively override the
build system's flags if desired. In addition, ASTCFLAGS and ASTLDFLAGS can now
be provided *either* in the environment before running 'make', or as variable
assignments on the 'make' command line. As a result, the use of COPTS and LDOPTS
is no longer necessary, so they are no longer documented, but are still supported
so as not to break existing build systems that supply them when building Asterisk.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@207680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
16 years ago
Kevin P. Fleming
10d36d9f34
fix a few small things found by using sparse
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
17 years ago
Tilghman Lesher
a8775172aa
When using MALLOC_DEBUG, codec_lpc10 leaks memory, because it matches a library
...
malloc() with an ast_free (which, of course, doesn't match up with known
allocated memory, so the free fails).
(closes issue #13702 )
Reported by: eliel
Patches:
codec_lpc10_lpcini.c uploaded by eliel (license 64)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
17 years ago
Kevin P. Fleming
a4b8ca220d
clean up assembler and preprocessor files if they are here too
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Kevin P. Fleming
920de98f68
Merged revisions 48554 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48554 | kpfleming | 2006-12-18 05:59:24 -0600 (Mon, 18 Dec 2006) | 3 lines
remove some now-unnecessary explicit includes of autoconfig.h
clean up per-file dependencies during 'make clean'
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
4c2cfeeaed
Merged revisions 45079 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r45079 | file | 2006-10-13 14:42:49 -0400 (Fri, 13 Oct 2006) | 2 lines
And file said... let the compiler warnings STOP!
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
Kevin P. Fleming
e92c34cc38
Merged revisions 44055 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44055 | kpfleming | 2006-09-29 17:47:40 -0500 (Fri, 29 Sep 2006) | 2 lines
fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
Kevin P. Fleming
3e41331bf3
get rid of some more compiler warnings (thanks tholo for making me fix the lpc10 stuff... that had been a problem for far too long)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
Kevin P. Fleming
4ed461db16
set proper mime-type and eol-style on all files
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
4f803dfda0
Lots of little fixes for doing MSVC compiling codecs in windows ( #6022 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
20 years ago
Kevin P. Fleming
0941c32d38
issue #5569 minus lock.h changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
a0a2592025
Fix cross compiling (bug #3868 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
9d40b8ee80
Merge slimey's Solaris compatibility (with small mods) (bug #2740 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
82db278716
More Asterisk sparc patches (courtesy Belgarath)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
2a108b9b06
Merge NetBSD and Courtesty tone with modifications (bug #2329 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
8ff9c0d1b9
Adjust Makefiles to support Ultrasparc architecture (thanks Belgarath) (bug #2319 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
3db853b428
Merge source cleanups (bug #1911 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
5546e32355
Merge major BSD mutex and symbol conflict patches (bug #1816 ) (link patch still pending)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
e02fae664a
Alpha portability from Ricudis
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Malcolm Davenport
3470e79f83
Add the SuSE AMD64 support and fixes from Bug #706
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
e0544c3eb5
Various warning cleanups
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
0de223a1ee
More cleanups and OSX fixes for 10.3
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
4ce283ff18
Make it build and run on MacOS X
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
82d87fe9cc
Fix include order
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
c0d8f10a42
FreeBSD patch, take 2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Martin Pycko
13b7b73b08
Revert the previous patch since it's braking compilation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
d5b54e4b7f
Sane FreeBSD patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
55e664cb00
Fix various compiler warnings (bug #322 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
b0500e1945
Code cleanups (bug #66 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
6eeee2496b
More BSD enhancements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
a71b49f405
More OpenBSD patches
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Martin Pycko
6a72f56ee2
Fix for ppc processors
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Matteo Brancaleoni
2c64ccad0f
Tue Mar 18 07:00:01 CET 2003
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Matteo Brancaleoni
61e446f04b
dom mar 16 23:37:23 CET 2003
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Matteo Brancaleoni
2bd936105e
mer feb 12 14:56:57 CET 2003
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
23 years ago
Mark Spencer
123613853b
Version 0.1.12 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
23 years ago
Mark Spencer
4f93bc2bbf
Version 0.3.0 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
24 years ago
Mark Spencer
959a650313
Version 0.2.0 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
24 years ago
Mark Spencer
01cad24629
Version 0.1.12 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
24 years ago
Mark Spencer
b6db14fcb6
Version 0.1.11 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
24 years ago
Mark Spencer
a6bd9c9717
Version 0.1.10 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
24 years ago
Mark Spencer
eda650079d
Version 0.1.9 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
24 years ago
Mark Spencer
9d810e14fe
Version 0.1.8 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
24 years ago