Commit Graph

351 Commits

Author SHA1 Message Date
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