Commit Graph

304 Commits

Author SHA1 Message Date
Michael Jerris
603f3eff97 add configure flag to turn on legacy coredb behavior 2012-10-31 11:22:10 -04:00
Michael Jerris
0952a99a76 FS-4718: --resolve merge osx 10.8 build fixes 2012-10-29 13:20:10 -04:00
Anthony Minessale
bc4e396d19 FS-4770 2012-10-29 09:52:01 -05:00
Anthony Minessale
5f469ad2bd FS-4753 --resolve this should properly detect it everywhere 2012-10-23 13:14:51 -04:00
Jeff Lenk
6b6c83a718 FS-2746 --resolve large xmlrpc update thanks garmt 2012-10-13 11:37:25 -05:00
Eliot Gable
1fe96ac38c Handle building on different PGSQL versions and update error message in Sofia. 2012-10-09 18:42:23 +00:00
Eliot Gable
3dec8fb447 we don't need to use pg's cflags 2012-10-08 20:39:09 +00: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
817439d76a check for SCHED_FIFO in configure 2012-09-25 16:12:58 -05:00
Michael Jerris
236bfeeaa3 revert 2dc709981b 2012-09-24 15:39:52 -04:00
Michael Jerris
4ff9b2f102 revert fb2ffbafe2 2012-09-24 15:38:06 -04:00
Travis Cross
2dc709981b Add configure option to skip subdirectories
If you pass --enable-skip-subdirectories then configure will skip
configuring or reconfiguring libraries and simply configure the FS
core itself.
2012-09-23 07:49:27 +00: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
Steve Underwood
1603dc70e2 This should have moved us from tiff-3.8.2 to tiff-4.0.2 . The windows builds
will need rechecking.
2012-09-01 18:45:56 +08:00
Ken Rice
a330febbce bump revision 2012-08-18 10:20:42 -05:00
Stefan Knoblich
8bcf3b4fb8 FreeSWITCH: Add switch_strerror_r() to fix problems with XSI and GNU variants of strerror_r().
GNU variant of strerror_r() returns char *, while the XSI version returns int.

To make things worse, glibc ships both and added a unused result warning
in recent versions (2.16) causing the build to fail.

Add our own custom wrapper that always returns a pointer to the message buffer
and additionally make XSI versions of strerror_r() GNU compatible by
returning "Unknown error xxx" if no error message is available.

Fixes:
    src/switch_rtp.c: In function 'rtp_common_read':
    src/switch_rtp.c:3313:15: error: ignoring return value of 'strerror_r',
    declared with attribute warn_unused_result [-Werror=unused-result]
    cc1: all warnings being treated as errors

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-14 14:11:44 +02:00
Anthony Minessale
fa5113557b stub for mod_html5 2012-08-13 15:20:41 -05:00
Anthony Minessale
61ab0b8878 libwebsocket inline configure 2012-08-13 14:29:04 -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
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
Stefan Knoblich
93129e32d3 FreeSWITCH: FS-4276 - Use a POSIX compatible set of regexes to filter -arch flags in PYTHON_CFLAGS.
POSIX sed doesn't support grouping, so split the regex in two.

Reference-URL: http://jira.freeswitch.org/browse/FS-4276
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-06-02 00:12:34 +02:00
Stefan Knoblich
ba4a210ced FreeSWITCH: Fix copy&paste error in last commit
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-06-01 00:24:43 +02:00
Stefan Knoblich
5165e4071e FreeSWITCH: Remove -arch i386/x86_64 from PYTHON_CFLAGS
Speculative fix for a mod_python build issue on OSX, which is
caused by '-arch i386 -arch x86_64' in the final PYTHON_CFLAGS.

Filter both flags and hope OSX's universal binary toolchain is smart enough
to choose a sane default.

Reported-by: neilp9 in #freeswitch @ irc.freenode.net
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-05-31 23:59:45 +02:00
Ken Rice
24f6c4056b missed a spot removing mod_fax 2012-05-31 11:25:28 -05:00
Ken Rice
1ecb6be009 release FreeSWITCH 1.2-rc2 2012-05-08 11:04:01 -05:00
Ken Rice
a1177a7994 release FreeSWITCH 1.2-rc1 2012-05-08 00:02:56 -05:00
Travis Cross
ffc8e81b76 check for missing unixodbc-dev during configure
Previously if --enable-core-odbc-support was set but unixodbc-dev was
not available, we would fail during make rather during configure.
2012-04-23 17:21:25 +00:00
Ken Rice
b544f60b38 add checks during configure for zlib and libjpeg, abort configure with error if not found 2012-04-09 21:41:19 -05: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
08d8a1a79b bump FS version to 1.1.beta1 2012-03-24 04:52:58 +00:00
Jeff Lenk
883de14f30 FS-3776 --resolve FreeBSD changes for spandsp 2011-12-21 19:43:01 -06:00
Marc Olivier Chouinard
023818bcc6 FS-302 Error in initial patch.. default scripts folder was missing the s at the end 2011-12-17 01:37:19 -05:00
Marc Olivier Chouinard
7ae3f5b7d5 FS-302 --resolve 2011-12-15 22:54:19 -05:00
Anthony Minessale
d91f67d0e3 Add T31 modem support to mod_spandsp - similar to iaxmodem only wired into FS. Also merge configs into single spandsp.conf.xml --see in tree example-- 2011-12-06 17:51:36 -06: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
36f0a5b870 FS-2936: don't allow using system libcurl on systems that strip out Curl_setopt, we use it 2011-11-30 12:03:53 -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
Stefan Knoblich
cdabd56410 FreeSWITCH: Remove -lrt from PLATFORM_CORE_LIBS on darwin.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-11-17 08:23:21 +01:00
Stefan Knoblich
7267bfbc9d FreeSWITCH: Remove -lcrypt from PLATFORM_CORE_LIBS on dawrin.
crypt() is in libc on OS X, no external lib needed.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-11-17 01:06:18 +01:00
Stefan Knoblich
041e3bf00c FreeSWITCH: No libdl on FreeBSD (dl{sym,open,close} in libc), drop it from PLATFORM_CORE_LIBS
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-11-07 18:27:58 +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
Travis Cross
50328a6634 fix getlib support for bz2 and support xz
This fixes the build as flite is now bundled as a tar.bz2 archive.
2011-10-30 09:54:17 +00:00
Travis Cross
82f77413e9 Revert "speed up configure"
This reverts commit 324110bfa2.
2011-09-23 16:54:41 +00:00
Travis Cross
324110bfa2 speed up configure
...at least until registration opens for next year's ClueCon.
2011-09-23 16:34:29 +00:00
Stefan Knoblich
836804707a Make top-level configure python checks python 3 ready
print <value> syntax does not work in python 3.
Add round braces to call it like any other function.

Tested with python-2.4 and 3.1.

NOTE: Only fixes the configure check, mod_python does NOT build with
      python 3.x!

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-09-19 15:47:06 +02:00
Michal Bielicki - cypromis
cb1cb69ee4 let gcc have part in the great solaris building world 2011-09-14 14:59:02 +02:00
Anthony Minessale
910f5364a4 add threaded-system-exec param and fsctl (set it to false to use fork) 2011-09-12 14:25:01 -05:00
Mathieu Rene
d90bac3888 The format string for size_t is always %zu, don't #error when not able to find it 2011-07-15 11:42:48 -04:00
Anthony Minessale
25c725c292 last commit for --enable-timerfd-wrapper (autoheadache) 2011-06-30 18:30:24 -05:00