Commit Graph

59 Commits

Author SHA1 Message Date
Travis Cross cd650f6055 Use system ldns library
This library is used only by mod_enum and is available on most
platforms.  The version in our tree has many code quality problems
that are generating noise when doing static analysis.  Suffice it to
say we want rid of it as our responsibility.

FS-353
2014-05-01 22:01:59 +00:00
James Le Cuirot 4bdb7129ba Ungetlib libmemcached
Tested with several libmemcached versions between 0.31 and
1.0.18. Unfortunately the API is extremely volatile and awkward to
use. Packaging scripts still need addressing.

FS-353
2014-04-11 22:55:36 +00:00
James Le Cuirot c86b939fb3 Show message in configure when YAML isn't there
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-04-11 22:52:51 +00:00
Michael Jerris 03844dcbe5 FS-6425: try to fix clear configure with openssl in brew dir 2014-04-03 15:33:54 -04:00
Michael Jerris 0fd1e16444 try to push sysroot in correctly c++ 2014-04-02 08:00:20 -04:00
Anthony Minessale 3a2736291e add mod_basic 2014-03-31 18:08:59 -05:00
James Le Cuirot 4bdef6e605 Fix detection of libedit on BSD
Since libedit originates from NetBSD, this and other BSDs use the
official version while Linux distributions tend to use the
autotoolized fork. The official version does not install a .pc file so
we cannot rely exclusively on pkg-config for detection.

FS-6408

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-31 21:59:42 +00:00
James Le Cuirot ec044e62e2 Add -I flags to CPPFLAGS
Don't use CFLAGS or CXXFLAGS for this because AC_CHECK_HEADER only
uses CPPFLAGS.

FS-6408

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-31 21:59:41 +00:00
Michael Jerris 1e51e86845 working cross configure for arm gnueabi 2014-03-31 10:34:46 -04:00
Michael Jerris 0876df6a11 a bit more open in type of arm 2014-03-31 09:56:45 -04:00
Michael Jerris ab2cab2660 also push PKG_CONFIG_SYSROOT_DIR and set some test results that can not be figured out during cross compile explicitly for arm-linux-gnueabi*|arm-*-linux-gnueabi* 2014-03-31 09:48:02 -04:00
Michael Jerris 2d2cb445c0 push sysroot down to other libs and things that don't use libtool as well, so you don't need to specify it in a bunch of different ways when using it. 2014-03-31 08:27:11 -04:00
Michael Jerris 7dba19ceeb make cross compile a bit easier, as this setitng needs to be set manually, and we never use this feature 2014-03-28 17:00:53 -04:00
Travis Cross 0fe2039219 Require libedit-dev be available unless disabled
Previously we enabled libedit support opportunistically if it was
neither enabled nor disabled explicitly.  But this can result in
people being confused by libedit features not being available when
they really just need to install dependencies.  With this change,
we'll break on configure if libedit-dev isn't there.  If the user
really wants to build without libedit they just need to explicitly
disable it.

Cc: Ken Rice <krice@freeswitch.org>
2014-03-28 15:48:20 +00: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
Travis Cross f9d065cda3 Use system libyaml for mod_yaml
FS-353
2014-03-26 19:27:22 +00:00
Travis Cross b0bcc011ea Deprecate mod_spidermonkey
We consider mod_spidermonkey to be completely replaced by mod_v8 (and
more generally by mod_lua) at this point.  We've barely supported
mod_spidermonkey for years.  Everyone should stop using it.

We're keeping this around for awhile in case people are relying on C
extensions to mod_spidermonkey and need time to migrate.  This module
may or may not be part of a v1.4 release depending on whether we find
anyone cares.  It definitely will not be part of the next release
after v1.4.
2014-03-26 18:01:49 +00:00
Travis Cross bcfb72cb2b Lower required version of sqlite for CentOS 6
Apparently CentOS 6 has only v3.6.20 of sqlite, so we'll accommodate
that barring evidence we shouldn't.  Please test and report back.
2014-03-24 13:55:44 +00:00
Travis Cross 3964aa1fdf Lower required version of sqlite
We've really only tested 3.8.3.1, so you might want to consider using
that.  We'll lower this down to 3.7.13 for Debian wheezy.  Please
test.
2014-03-24 13:55:43 +00:00
Michael Jerris 169a264c33 FS-353: sqlite pkg-config path for mac homebrew 2014-03-24 09:09:52 -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
Peter Olsson c8fa0f0c4b mod_v8: Use parallel build by default. Use configure flag "--disable-parallel-build-v8" to disable it. It's disabled by default for Debian build scripts, since parallel build has some issues with cowbuilder. 2014-03-23 09:25:41 +01:00
Michael Jerris 230b217810 fix perl detection 2014-03-21 18:20:16 -04:00
Brian West 719d37dbf8 first 1/2 of automake for esl phpmod 2014-03-21 16:01:35 -05:00
Brian West 4e734db296 we need to do these in subdirectories because a number of the modules build a different ESL.so 2014-03-21 15:45:40 -05:00
Brian West 91d308dfac fully automake esl perlmod 2014-03-21 15:34:52 -05:00
Brian West 5014b80d53 1/2 of automake for esl perl, at least we have configure detecting things now 2014-03-21 14:59:01 -05:00
Travis Cross ad094b7a8b Allow older versions of curl to be used
...at your own risk.  cURL has had some serious security issues over
the years, so if you're using an ancient version, I hope that you're
receiving security patches from your vendor.

The version set here is to accommodate CentOS 6.
2014-03-20 21:46:07 +00:00
Michael Jerris d1045b12e1 FS-353: add PKG_CONFIG_PATH for keg only curl from homebrew on mac 2014-03-20 17:40:21 -04:00
Travis Cross 03132e3fd5 Export paths touched by path_push_unique()
FS-353
2014-03-20 21:28:26 +00:00
Travis Cross 3b1278a37a Add curl auto PKG_CONFIG_PATH handling for OS X
FS-353
2014-03-20 21:15:40 +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 c9bdf3b415 Match darwin13 in configure.ac
Mike and Seven said this is desirable.
2014-03-20 20:24:22 +00:00
Michael Jerris 74da7aaf10 FS-353: allow people to use 5 year old and with known segfault issues pcre because centos6 can't seem to use a lib less that 5 years old, use with older libs at your own risk 2014-03-20 12:46:52 -04: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 3ec53f0b67 ESL-86: esl automake of at least the core parts 2014-03-20 10:38:47 -04:00
Brian West b8f1a1779f Support Intel ICC 2014-03-19 14:34:07 -05:00
Brian West 07a10a1cc5 FS-6375 our LDFLAGS should preceed libcurl detected LDFLAGS 2014-03-19 12:03:34 +00:00
Brian West 6452f12b33 FS-6375: now withless for the dev to remember 2014-03-19 11:41:36 +00:00
Brian West 4dddcafc82 FS-6375 correct copy and paste error 2014-03-19 09:10:44 +00:00
Brian West da82c7bbd2 FS-6375 remove a few things that aren't needed 2014-03-19 08:33:39 +00:00
Brian West 148f67e061 FS-6375 adding LTCFLAGS makes configure choose the proper pre post deps on both 32bit and 64bit just work out of the box 2014-03-19 04:04:38 -05:00
Michael Jerris 524c566e01 attempt at fixing mod_gsmopen build 2014-03-18 19:11:24 -04:00
Michael Jerris af192a2e8b FS-6293: abandon xmlrpc-c build system entirely. We can revist this when we try to pull this lib out of tree, in the mean time, this fixes a ton of problems. 2014-03-18 09:50:12 -04:00
Anthony Minessale 674a998428 bump 2014-03-18 06:53:48 +05:00
Anthony Minessale 203712073a bump 2014-03-18 06:53:48 +05:00
Brian West fb41b0f66b FS-6367 --resolve fix NetBSD so that it properly builds modules 2014-03-17 18:12:08 -05:00