Commit Graph

416 Commits

Author SHA1 Message Date
Travis Cross a05685cf60 fix linking of libzrtp build 2012-04-05 07:07:32 +00:00
Travis Cross 115d849a0c work around libzrtp warnings
This workaround makes the build work exactly as it did when libzrtp
was installed as a system library.  By default gcc ignores warnings
caused by system headers, so for the moment we'll continue to pretend
that libzrtp headers come from the system.
2012-04-05 06:08:21 +00:00
Travis Cross 4792515ed0 whitespace 2012-04-05 05:15:01 +00:00
Ken Rice 9db7706061 stop recursive recursion 2012-04-05 00:13:45 -05:00
Travis Cross 1f5ab2354f fix for libzrtp build 2012-04-05 05:02:01 +00:00
Travis Cross 0b6023b261 fix libzrtp build 2012-04-05 04:44:49 +00:00
Travis Cross 393b63b7bd integrate in-tree libzrtp into the build system
Thanks to Ken Rice for working with me late into the night to get this
done.
2012-04-05 04:10:55 +00:00
Ken Rice 100135fc8d fix vm-sync target 2012-03-26 10:45:43 -05:00
Ken Rice ee71daa1f6 conf: mv conf/* -> conf/vanilla/* 2012-03-24 03:19:32 +00:00
Travis Cross fcab3de02e fix samples-htdocs target 2012-03-15 18:57:19 +00:00
Travis Cross 0da2a5f448 drop legacy Subversion build support
Nothing here would work as we no longer have a live subversion
repository.
2012-03-14 06:02:27 +00:00
Marc Olivier Chouinard ce8f17f1ec FS-3625 --resolve 2011-12-15 16:49:27 -05:00
Michael Jerris 64f04023a1 FS-2936: don't allow using system libcurl on systems that strip out Curl_setopt, we use it 2011-11-30 12:21:08 -05:00
Michael Jerris 1ea5b3cf62 FS-2936: link curl on freeswitch binary as well to fix linker error on ubuntu 2011-11-30 11:33:37 -05:00
Anthony Minessale a7238d0b9d FS-2936 stage 4 these too 2011-11-29 15:38:52 -06:00
Michael Jerris 74ed2cef01 step 1 of curl linked in core 2011-11-29 14:35:28 -05:00
Anthony Minessale 364d2b6b30 move the uninstall to last for make current 2011-11-10 16:54:40 -06:00
Anthony Minessale a161dab26f update 2011-11-08 15:07:50 -06:00
Stefan Knoblich 740167b743 FreeSWITCH: Fix underlinking of applications (partial brown paperbag cover-up)
OK, libtool pulling in all depdencies doesn't work (*sigh*)
so add CORE_LIBS back to _LDADD and also add ODBC_LIB_FLAGS (conditionally).

Tested on Debian Squeeze (6.0.x) amd64 (libtool-2.2.6), where
everything seems to be falling apart easily.

There's still a lot of room for improvement, though. Bundled libs are making
this harder, as we don't have a sane way to get their dependency libs and
libtool drops them on the floor, even if they are in the .la-file's dependency
list (e.g. mod_spandsp using libtiff(.la), which needs libjpeg).

( reference: http://www.gnu.org/s/hello/manual/libtool/Inter_002dlibrary-dependencies.html ).

Let's see what i did break this time...

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-11-07 16:39:20 +01:00
Stefan Knoblich a48da3b46c FS-3638: Rework platform library/linker flags handling and libfreeswitch _LDFLAGS/_LIBS to fix applications
This fixes the linking order problems reported in FS-3638.

Clean up libfreeswitch dependency handling:

        PLATFORM_CORE_LDFLAGS - Non-library linker flags, specific to this platform
        PLATFORM_CORE_LIBS    - Library flags/libraries need to build libfreeswitch on this platform

Drop LDADD dependencies from tone2wav and fs_encode, except for libfreeswitch.la, which will
"automagically" pull in all other libraries, now that we fixed libfreeswitch.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-11-04 21:04:29 +01:00
Stefan Knoblich b3c3810a64 [1/6] FreeSWITCH: Rename AUTOMAKE_OPTS to AUTOMAKE_OPTIONS
The latter is a well known automake variable, used
to set (per-Makefile) automake options and supported
since the beginning of time (= automake 1.4).

The former is a made-up variable that doesn't really
do anything.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-11-04 14:12:13 +01:00
Daniel Swarbrick 0db88b5999 Tweak link order of some libs to fix build on gcc platforms that have ld flag "--as-needed" as default. Fixes FS-2873 and FS-2874 2011-09-01 16:42:00 +02:00
Anthony Minessale 2366f4295b add sqlite to clean on make current or update-clean 2011-08-02 13:06:31 -05:00
Anthony Minessale d28b2391fc missed these on timerfd commit 2011-06-30 16:24:41 -05:00
Anthony Minessale a8b87ffe05 add option to disable srtp with --disble-srtp 2011-05-02 11:34:13 -05:00
Stefan Knoblich f20ba4d1f6 Add --with-pkglibdir option to set the installation directory of freeswitch.pc.
Default behaviour is unchanged.

Packagers should use this option to install freeswitch.pc into
the system's main pkg-config directory (e.g. /usr/lib/pkgconfig).

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
Tested-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-02-19 23:07:22 +01:00
Stefan Knoblich 9adac7c698 [fsxs] Remove APR and APR-UTIL libraries from fsxs LIBS variable.
"LIBS" in the final fsxs script will be empty now.
We still link against libfreeswitch when building a module,
but we don't explicitly list (some of) its dependency libs anymore
(this list was not complete anyway).

This fixes a bogus /path_to_source/expat.la entry in LIBS that
came from "apu-config --libs".

Tested on Gentoo x86_64 (binutils 2.20.1) and Centos 5.5 (binutils 2.17.50).

Tested-by: Stefan Knoblich <s.knoblich@axsentis.de>
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-01-23 01:42:39 +01:00
Michael Jerris a9eb0aa6ef attempt to quick fix solaris build 2011-01-11 13:12:24 -05:00
Anthony Minessale 2081bf97b9 use a packet buffer for ESL 2010-12-16 11:33:38 -06:00
Anthony Minessale 36b2346445 add path 2010-12-14 09:28:57 -06:00
Anthony Minessale b7c80a8490 add plc to core 2010-12-10 17:48:40 -06:00
Michael Jerris 972500fcc9 return failure from make if build failed 2010-12-08 12:38:22 -05:00
Anthony Minessale f61051af91 silly git needs old-school format param to remain back-compat 2010-11-19 14:15:55 -06:00
Mathieu Rene 19e86f7c24 fix Makefile.am typo in last commit 2010-10-12 14:21:08 -04:00
Mathieu Rene 89b1760159 Add fs_encode tool 2010-10-12 13:45:43 -04:00
Michael Jerris e2b85e946a FS-287: fix bsd shell incompatibility 2010-10-03 05:02:58 -04:00
Anthony Minessale 94cf078a4d fix build issue from tone2wav 2010-09-16 10:20:03 -05:00
Anthony Minessale 6f2c455f92 add tone2wav 2010-09-14 11:48:43 -05:00
Michael Jerris ef03f93f46 spaces 2010-06-29 12:49:57 -04:00
Rupa Schomaker 0e8a26f840 sync changes in branch rupa_limit 2010-06-19 07:49:34 -05:00
Anthony Minessale 7048c16fc4 jsonification into the core and ESL (part 2) 2010-06-17 11:49:16 -05:00
Stefan Knoblich 1eb4b79c15 Install switch_rtcp_frame.h too. 2010-06-16 01:12:47 +02:00
Anthony Minessale b43eef8522 fix reswiging with a perl script instead of archaic preprocessor wizzadry 2010-05-10 13:07:34 -05:00
Stefan Knoblich f6f0e99efd tell gcc where to look for includes needed to create switch_swigable_cpp.h, build fails otherwise 2010-04-30 23:34:36 +02:00
Michael Jerris 97395b8c79 don't put ':' in to user agent string (MODSOFIA-71) 2010-04-26 02:18:15 -04:00
Travis Cross d791351f46 The .version file should die on a git pull. 2010-04-02 14:06:01 +00:00
Michael Jerris 8e76877a26 update makefile and version generation to work with git working copy too 2010-04-02 00:07:02 -04:00
Anthony Minessale d8699822b7 automistake
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17106 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-25 21:20:09 +00:00
Anthony Minessale b1ddb70cf1 add fsctl min_idle_cpu and min-idle-cpu feature to refuse calls after the system fallse below a certian percentage of idle cpu
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-10 20:21:34 +00:00
Michael Jerris aceb06f24f move common say 'spell' function into shared code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16931 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-07 21:26:36 +00:00
Michael Jerris 0c1ae13da1 move mod_spidermoney build to automake, fix spidermoneky dependencies (I think this really fixes -j builds), move mod_spidermonkey sub modules all under the same source directory and bundle their build together as one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-17 05:48:36 +00:00
Michael Jerris 31b743d6eb rename ADD_ AM conditionals to HAVE_
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-17 03:11:56 +00:00
Michael Jerris 143050451d attempt at fixing make -j build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-14 05:44:20 +00:00
Michael Jerris b3001e9623 fix install directories for conf and htdocs files and support --srcdir builds for conf and htdocs install
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 18:22:50 +00:00
Michael Jerris bfd6a899fd fix dependencies when doing make mod_modname
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16269 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 01:06:18 +00:00
Michael Jerris a6d9ae94ae fix htdocs install
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-12 23:51:04 +00:00
Michael Jerris 68b584063f add pkgconfig file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-12 04:43:39 +00:00
Michael Jerris ae7e03da12 tweak install deps
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16249 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 21:27:41 +00:00
Michael Jerris 8b3f71cc48 Makefile.am cleanup (mostly from stkn, THANKS\!)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16248 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 20:26:14 +00:00
Michael Jerris d1c60899de add soundsdir configure var and sounds_dir global freeswitch var
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 16:32:35 +00:00
Michael Jerris 89ae5f4741 add configure vars for htdocs and grammar dirs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 15:47:36 +00:00
Michael Jerris 5ccac21dc3 wip move towards adding directory layout control to configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16238 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 14:36:29 +00:00
Michael Jerris c064a2a586 add recordings_dir
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16233 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 03:20:42 +00:00
Michael Jerris 7ad6094850 remove libuuid from tree
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16072 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-29 02:05:51 +00:00
Michael Jerris 6b004d9cc6 fix libuuid build and add automake autoreconf when necessary
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16060 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-28 16:23:47 +00:00
Michael Jerris ba8e3e8cf3 remove uuid lib from base core build and cleanup recursive dependencies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-28 16:01:48 +00:00
Anthony Minessale 1ed005a54d tweak on last commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-24 05:51:31 +00:00
Anthony Minessale 775ed2eb7a add spandsp-reconf and uuid-reconf to fix latest speed bump in build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16054 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-24 05:47:04 +00:00
Michael Jerris 2cdca228c6 add libuuid to core build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16023 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-22 19:30:58 +00:00
Michael Jerris 97c7974433 even better handling of build failures
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15988 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-17 19:14:47 +00:00
Michael Jerris bc7c3fea86 actually fail to continue build on core build failure and don't display the success banner
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-17 16:53:25 +00:00
Michael Jerris 40361298c2 a little bit more clean
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15912 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 18:26:39 +00:00
Michael Jerris f69d3495c8 fix include for sqlite header file in --srcdir builds
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15890 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 00:13:50 +00:00
Michael Jerris 8f8275245c fix dependencies so modules.conf gets created before its used
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 22:27:36 +00:00
Anthony Minessale cd1824e119 Adding switch_mprintf (broken out from sqlite)
Adding new %w to mprintf to auto escape both single quote and backslashes
Improve the tab completion a tad and fix some sqlite/odbc compat with new mprintf opts
Change the default stream writer to use switch_vmprintf so %q/%w can be used there too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15875 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 20:51:13 +00:00
Michael Jerris 90ea3b811c remove duplicate target
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 16:25:27 +00:00
Jeff Lenk 05cc65b2e8 add changes for sounds download to allow independent version specific selection
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15777 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-03 19:43:38 +00:00
Michael Jerris 02c7a3acc9 picked the wrong day to stop sniffing glue...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-01 22:19:07 +00:00
Michael Jerris 59ba5a156c add --disbale-cpp configure argument to disable the c++ build for the core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-30 12:31:24 +00:00
Michael Jerris 7bfdd463b6 more --srcdir fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-29 05:50:59 +00:00
Michael Jerris 77933de4f0 fix --srcdir make error (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-25 21:32:21 +00:00
Michael Jerris 7e8a9d0995 fix regression from r15645 (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15647 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 00:08:40 +00:00
Michael Jerris dd2fe83112 srcdir fixes for Makefile.am (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15645 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 23:42:24 +00:00
Michael Jerris 613eba79da cross compile goodies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15535 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-18 23:04:12 +00:00
Michael Jerris ff7878bcd0 fix --srcdir for sounds_version.txt and swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15527 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-18 19:48:09 +00:00
Michael Jerris d7c16b4392 fix --srcdir for modules.conf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15526 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-18 19:46:29 +00:00
Michael Jerris 738c8754d1 be more obvious when you can't do an update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15232 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-26 19:05:22 +00:00
Anthony Minessale 1172afedb5 make legacy make sure same as make current
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15158 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-14 14:58:45 +00:00
Anthony Minessale 4815a13471 up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15148 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-13 18:46:44 +00:00
Brian West a47850fe9c up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15039 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-01 22:56:33 +00:00
Brian West d6b0c28825 add make tiff-reconf you need this for the next update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15038 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-01 22:51:02 +00:00
Brian West 3703db6244 update demo too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14101 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-02 00:14:28 +00:00
Michael Jerris 2ddb4079f3 add russian language support and makefile targets
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14091 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-01 19:58:40 +00:00
Michael Jerris 6348359d95 change odbc handling in code to be runtime instead of build time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13936 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-24 16:02:43 +00:00
Brian West a19dad9155 Adding switch_nat options for NATPMP and uPNP mapping of ports for auto nat traversal. Not used for anything yet.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13513 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-30 00:14:57 +00:00
Michael Jerris 174af94247 add pnp lib build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13511 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-29 20:16:01 +00:00
Michael Jerris 9d7ee8befd make core build depend on switch_frame.h
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13504 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-29 16:16:40 +00:00
Michael Jerris 0ddb4fabed last test
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13483 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-27 23:37:16 +00:00
Michael Jerris 6a3ffd86be poke
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13482 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-27 23:33:46 +00:00
Michael Jerris d10c8d4a65 poke
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13481 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-27 23:31:52 +00:00