Michael Jerris
e49feac7a3
don't re-build tone2wav and fs_encode on every build
2014-05-08 17:35:23 -04:00
Travis Cross
3c0e40ea7e
Remove bashism from our Makefile hack
...
This makes portable the fix from commit
28ee7736d9
.
2014-05-08 21:26:03 +00:00
Travis Cross
71368da78e
Indent block
2014-05-08 21:21:12 +00:00
Travis Cross
9f2745ad7a
Fix whitespace
2014-05-08 21:19:44 +00:00
Michael Jerris
28ee7736d9
put APR_LIBS back in LIBADD and LDFLAGS, but add some magic to .DEFAULT to ignore -l targets
2014-05-08 17:13:31 -04:00
Michael Jerris
31069f33a2
generate the modules list vars from modules.conf into a file instead of on the fly every time
2014-05-08 15:59:49 -04:00
Michael Jerris
2508ae98bf
don't use -l libs from apr-config as dependencies in the Makefile
2014-05-08 15:59:49 -04:00
Travis Cross
ae5d876682
Fix openssl build variable name
...
FS-6475 --resolve
2014-05-08 13:05:39 +00:00
Brian West
a0589394f6
FS-6475 --resolve
2014-05-07 09:59:58 -05:00
Michael Jerris
d6fe10979d
remove opezap from tree, it has been replaced by freetdm
2014-05-06 11:05:54 -04:00
Michael Jerris
f809d406eb
add quickie targets for fr sounds
2014-05-05 19:22:52 -04:00
Michael Jerris
5e90a5a958
FS-6430: fix running of print_git_revision from builddir not in src tree
2014-04-04 12:00:06 -04:00
Michael Jerris
ab5ebd30ed
FS-6430: try to fix print_git_revision when running from builddir not inside src root
2014-04-04 11:09:47 -04:00
Michael Jerris
1681b04129
FS-6406: --resolve add a way to specify build compiler for cross compile
2014-03-26 17:15:24 -04:00
Anthony Minessale
487128950d
Use the system version of APR / APR-util if possible
...
Autodetect whether the system libapr / libaprutil has our
necessary modifications and use it if it does.
2014-03-24 12:54:50 +00:00
Travis Cross
cde20f6fe6
Require sqlite as a system dependency
...
This purges sqlite from our tree and requires it to be present on the
system for building and running FreeSWITCH.
FS-353
2014-03-24 12:54:49 +00:00
James Le Cuirot
8574988c3a
Completely unbundle libedit
...
FS-353
Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-24 12:39:59 +00:00
Travis Cross
1470622292
Require libcurl as a system dependency
...
This purges libcurl from our tree and requires it to be present on the
system for building and running FreeSWITCH.
FS-353
2014-03-20 21:15:29 +00:00
Travis Cross
4268763341
Build a static libfreeswitch.a
...
We don't currently have a use-case for this, but we'd been
distributing this file in packaging as part of libfreeswitch-dev.
2014-03-20 15:58:14 +00:00
James Le Cuirot
b283db6319
Completely unbundle speex
...
FS-353
Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-20 15:28:25 +00:00
James Le Cuirot
e85f06ee2f
Completely unbundle pcre
...
FS-353
Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-20 15:28:23 +00:00
Michael Jerris
6e50408b0e
build spandsp core elements as a conv lib so we can use didfferent cflags to include the right config.h when building those files
2014-03-18 10:35:23 -04:00
Michael Jerris
3341fcb142
get build banner to come up in a different way, avoiding the duplicate targets
2014-03-18 08:42:03 -04:00
Michael Jerris
05ced3b8c0
fix libcurl linking when using system libcurl
2014-03-17 19:05:55 -04:00
Michael Jerris
b324e2633a
use AM_SILENT_RULES where available and remove our hacks for quiet builds as they don't work very well and cause other build problems
2014-03-17 14:33:55 -04:00
Michael Jerris
1c5e61447b
move libs/stfu into the core, as it is not really a lib
2014-03-17 09:44:14 -04:00
Michael Jerris
f43e3251f9
FS-6293: srcdir builds, don't touch src/include/switch.h in builddir, it creates an empty one that is included before the real one
2014-03-15 22:37:46 -04:00
Michael Jerris
048ce8d1f3
FS-6293: srcdir builds, most of the built in mods work now
2014-03-14 23:13:34 -04:00
Michael Jerris
dc267d43a8
FS-6293: more srcdir build fixes, core builds now
2014-03-14 19:55:23 -04:00
Michael Jerris
cff179b2f7
FS-6293: more srcdir build fixes
2014-03-14 19:52:35 -04:00
Michael Jerris
7de76b3031
FS-6293: more srcdir build fixes
2014-03-14 19:47:05 -04:00
Michael Jerris
4216e3e056
remove DYNAMIC_LIB_EXTEN because we use libtool to figure this all out now
2014-03-14 18:04:07 -04:00
Michael Jerris
4a7e3ebc31
BNPH-353: avoid adding linker flags as make targets
2014-03-10 23:19:03 -04:00
Anthony Minessale
32cce8027e
Add hashtable code from openzap/freetdm to FS core
2014-03-09 00:37:17 +05:00
Michael Jerris
d4b4ef8d7f
support newer automake without warnings
2014-03-07 19:09:16 -05:00
Michael Jerris
7143904e52
FS-5822: --resolve
2014-02-24 17:39:46 -05:00
Anthony Minessale
a900eadf5b
FS-5937 --resolve
2014-02-24 14:56:49 -06:00
Anthony Minessale
74f9ed5d0b
improve make -j detection to tolerate FS build being launched from within another make file
2014-02-20 18:47:34 -06:00
Anthony Minessale
c514e4efd5
Fix make -j
2014-02-19 16:58:28 -06:00
Anthony Minessale
ab56c276a0
move speex codec into the core since it already has speex anyway
2014-02-15 02:40:02 +05:00
Travis Cross
32e3505cdc
Install switch_curl.h to includes/
...
FS-6163 --resolve
Thanks-to: Davide Colombo <davec82@gmail.com>
2014-01-31 12:03:29 +00:00
Michael Jerris
a9bfeaeb9a
fix dependency
2014-01-29 17:19:00 -05:00
Michael Jerris
04fba22378
add missing dep
2014-01-29 12:50:50 -05:00
Anthony Minessale
f2c8e246fd
add spandsp-reconf to make
2014-01-27 06:12:27 +05:00
Anthony Minessale
8dfbd91a3d
fold version macros into runtime functions to avoid cascade rebuilds when modifying the core
2014-01-17 01:54:47 +05:00
Travis Cross
396ccaff51
Prevent -lfoo lib flags from becoming dependencies
...
Previously we were including the output of `apr-1-config/apu-1-config
--libs` into CORE_LIBS. This seemed sensible as CORE_LIBS is added in
the right places to various _LDADD and _LIBADD variables. However we
also use the value of CORE_LIBS as dependencies in the makefile.
Astonishingly this doesn't seem to cause any issues on most
platforms (or we would have noticed sooner), but it does break things
on Mac.
Thanks-to: Seven Du <dujinfang@gmail.com>
FS-5956 --resolve
2014-01-08 21:13:01 +00:00
Anthony Minessale
75bf4625ff
add lua-reconf
2013-12-10 03:33:22 +05:00
Ken Rice
3fe701d241
fix recursive build error
2013-11-20 14:56:01 -06:00
Travis Cross
bf4440d0c3
Handle APR / apr-util build settings properly
...
After being configured, APR and apr-util provide config scripts that
enumerate the libraries and compiler and linker options needed to
build code relying on APR/apr-util. This patch causes us to more
fully include the output of these scripts in our build process.
FS-5574 --resolve
2013-11-08 19:24:21 +00:00
Michael Jerris
58e7db0c6d
FS-5763: --resolve add configure check for lzma and newer readhat/sl tinfo stuff
2013-09-07 12:21:33 -07:00
Anthony Minessale
f53bde459b
add new file
2013-08-05 23:49:59 +05:00
Anthony Minessale
dabb85c3f6
wip
2013-03-31 21:27:22 -05:00
Anthony Minessale
9cc550ee18
build sdp lib inline w/ core
2013-03-31 21:27:22 -05:00
Anthony Minessale
fd4ce8f2da
fix some core/srtp build deps
2013-03-31 21:27:20 -05:00
Anthony Minessale
6939394530
isolate sdp parser code to the switch_core_media.c
2013-03-31 21:27:17 -05:00
Anthony Minessale
eb81042a6f
wip
2013-03-31 21:27:14 -05:00
Anthony Minessale
592993ecda
baseline
2013-03-31 21:27:13 -05:00
Eliot Gable
3d0c245f80
Revert "Initial draft of message dispatcher system; untested, experimental. Do not enable unless you know what you are doing." Pushing into branch.
...
This reverts commit c6b3a686f6
.
2013-02-18 14:24:10 +00:00
Eliot Gable
c6b3a686f6
Initial draft of message dispatcher system; untested, experimental. Do not enable unless you know what you are doing.
2013-02-17 23:40:10 +00:00
Travis Cross
e5a1b54e9e
Adjust build for libzrtp changes
...
libzrtp now builds from its root directory rather from projects/gnu.
2013-02-11 16:42:10 +00:00
Michael Jerris
79bba25ca2
this will go back in in a more sane way soon enough
2013-01-30 15:26:13 -05:00
Anthony Minessale
d1ecaa53d9
FS-5040 --resolve
2013-01-21 18:48:17 -06:00
Anthony Minessale
0e5af05d6a
FS-5039 somewhat of a temporary fix unless it works for everyone
2013-01-21 17:16:44 -06:00
Michael Jerris
a85f9aa581
add build pieces for sofia sdp lib in core
2013-01-14 12:08:55 -05:00
Anthony Minessale
b086af58ea
remove warnings on newer automake
2012-12-19 14:20:38 -06:00
Michael Jerris
e60a9dd306
fix sqlite reconf
2012-12-04 10:10:49 -06:00
Michael Jerris
a59a319e0d
fix full build again
2012-11-29 15:21:09 -05:00
Anthony Minessale
7e03199529
fix build again
2012-11-29 10:47:16 -06:00
Anthony Minessale
03531329d3
bring back 'make sure' it will git clean and fully reset and build latest git and wipe out any uncomitted changes, you can pass CONFIGURE_ARGS=--foo from the make command line to pass the flags to the reconfigure
2012-11-29 10:44:27 -06:00
Anthony Minessale
bce107b5fc
FS-4883 --resolve I can add this but if it leads to issues in the loaded code we may not have resoures to investigate
2012-11-29 09:00:03 -06:00
Anthony Minessale
bc4e396d19
FS-4770
2012-10-29 09:52:01 -05:00
Anthony Minessale
7f46c7e290
fix build dependancy regression to reduce rebuilds
2012-10-23 18:15:03 -04:00
Anthony Minessale
5f469ad2bd
FS-4753 --resolve this should properly detect it everywhere
2012-10-23 13:14:51 -04:00
Eliot Gable
5cb354dddc
Initial core-pgsql support based on native libpq; FS starts and stops without errors using core-pgsql.
2012-10-08 20:33:57 +00:00
Anthony Minessale
c7283aaa1a
force core rebuild when apr and other core libs change
2012-09-27 13:38:02 -05:00
Michael Jerris
4ff9b2f102
revert fb2ffbafe2
2012-09-24 15:38:06 -04:00
Travis Cross
fb2ffbafe2
Add configure flags to moderate the ClueCon nags
...
The default remains the same: we show the huge ClueCon nag banner on
startup and in fs_cli.
However, if you pass --disable-huge-cluecon-nag, no banner will be
shown.
If you pass --enable-modest-cluecon-nag, a modest text-based ClueCon
reminder will be shown instead.
2012-09-23 07:49:26 +00:00
Anthony Minessale
4985a41f27
add tpl to tree (please check win build)
2012-09-13 15:01:01 -05:00
Anthony Minessale
3dc829afa1
remove .la files on modwipe
2012-09-05 11:29:39 -05:00
Anthony Minessale
709e4fb28a
add make version target
2012-09-05 11:20:17 -05:00
Anthony Minessale
52f98724c0
make tiff work on older automistake
2012-09-04 11:01:36 -05:00
Anthony Minessale
fbdc05d030
fix build (need make spandsp-reconf)
2012-09-04 11:03:53 -05:00
Steve Underwood
92fea4a896
Those damn tiff-3.8.2 entries seem to be everywhere
2012-09-01 23:37:46 +08:00
Travis Cross
ebd3f4944c
Fix sed pattern on OS X
...
OS X apparently doesn't support \W.
Thanks-to: Peter Olsson <peter.olsson@visionutveckling.se>
FS-4528 --resolve
2012-08-20 12:59:55 +00:00
Anthony Minessale
f454b79b9b
fix color coding to be OS appropriate
2012-08-16 13:04:33 -05:00
Travis Cross
a8019d803c
Make version output more human-friendly
...
Our main version string is designed for release engineering purposes:
it matches file name conventions used for versioned tarballs and the
versions sort lexicographically while containing all pertinent
information.
With this commit we add in parentheses a more human-friendly rendering
of the version string: we spell out the meaning of each field and
render the datetime in RFC 822 notation.
2012-07-20 07:43:26 +00:00
Anthony Minessale
b6ac33ea80
come to cluecon
2012-07-05 14:27:32 -05:00
Stefan Knoblich
81b9ab7316
Terminate sed substitution command with semicolon to fix error on OSX.
...
sed: 1: "/#define *SWITCH_VERSIO ...": bad flag in substitute command: '}'
Reported-by: scruz in #freeswitch @ irc.freenode.net
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2012-06-18 13:32:43 +02:00
Travis Cross
068586f28f
Refactor and check for more errors
2012-06-16 19:32:27 +00:00
Travis Cross
2c634751cc
Don't use perl for portability
...
This amends commit f8be71ac6d
.
This still should resolve FS-4303.
What's going on here is that we need a portable way to access
strftime. date(1posix) doesn't provide enough. And without perl, I
can't think of a better way to get to it than just using C. So the
logic for generating the extended revision has been moved into a small
self-contained and hopefully portable C program.
2012-06-14 22:47:21 +00:00
Travis Cross
f8be71ac6d
Use perl for portability
...
FS-4303 --resolve
2012-06-12 17:40:10 +00:00
Travis Cross
034d4153c4
Improve SWITCH_VERSION_REVISION generation
...
The revision was no longer picking up the last git commit. Instead,
it was showing the last release. This commit appends the last git
commit hash to the last release if a git repository is available.
Further, it checks whether there are uncommitted changes in the git
repository and adds an unclean tag to the version if this is the case.
Note that currently this will append the git commit hash even on a
tagged release if built directly from a git repository. Perhaps this
isn't such a bad thing, but if it turns out not to be desired, I have
an idea on how to squelch this without making unwarranted assumptions
about the remote layout of someone's local repository.
2012-06-11 17:19:25 +00:00
Travis Cross
76c3580e83
fix build test for revision number
...
The test was backward. If the revision is in switch_version.h.in then
we have the version already.
2012-05-29 22:14:03 +00:00
Stefan Knoblich
44e6dd2680
FreeSWITCH: Make libzrtp library paths absolute (or relative to top srcdir), fixes FS-4260.
...
Reference-URL: http://jira.freeswitch.org/browse/FS-4260
Tested-by: Stefan Knoblich <stkn@openisdn.net>
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-05-27 14:36:15 +02:00
Michael Jerris
34df90196c
bail out on make mod_modname when core build dies
2012-05-21 15:47:30 -04:00
Ken Rice
2325dfbc4a
Missed a grep
2012-05-08 10:10:21 -05:00
Ken Rice
eb92a4d221
small tweak to not bomb on some version numbers
2012-05-08 10:06:35 -05:00
Anthony Minessale
f4961bc905
fix dependency order
2012-04-16 16:38:48 -05:00
Travis Cross
ad9d2fed21
refactor libzrtp linking
2012-04-05 07:18:33 +00:00
Travis Cross
a05685cf60
fix linking of libzrtp build
2012-04-05 07:07:32 +00:00