Commit Graph

285 Commits

Author SHA1 Message Date
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
Anthony Minessale ffeb7ba740 fix typo in autoconf 2011-06-30 18:16:05 -05:00
Anthony Minessale d28b2391fc missed these on timerfd commit 2011-06-30 16:24:41 -05:00
Michael Jerris 1d18b58b4d add define 2011-05-13 19:26:01 -04:00
Anthony Minessale acf3090adf FS-2936 plan B for curl stuff 2011-05-13 13:17:54 -05:00
Anthony Minessale 29bf9157ef clean up core curl patch 2011-05-11 14:42:52 -05:00
Anthony Minessale 7064487df2 FS-2936 please test on windows 2011-05-11 10:07:00 -05:00
Anthony Minessale a8b87ffe05 add option to disable srtp with --disble-srtp 2011-05-02 11:34:13 -05:00
Marc Olivier Chouinard eb8ff5a06b autoconf: Comment out the forced -Wunused-but-set-variable since not all module could be tested. List of module I couldn't compile is in the comment. Please all the different module maintainer check your module for this. Thanks 2011-04-22 23:09:40 -04:00
Marc Olivier Chouinard f952719e89 autoconf: Added the -Wunused-but-set-variable to the default compile to help avoid commiting more unused variable but set value. Please report if you do have problem with it. 2011-04-22 21:45:42 -04:00
Michael Jerris 294b077977 FS-3182: fix mod_dingaling/iksemel/gnutls link error when using newer autotools 2011-03-25 12:17:25 -05:00
Anthony Minessale 7fe291f1f9 FS-3110 --comment-only phase 3.4 nevermind use getlibs 2011-03-24 17:23:08 -05:00
Anthony Minessale e566b270b8 FS-3110 --comment-only phase 3.2 nevermind use getlibs 2011-03-24 17:13:50 -05:00
Anthony Minessale eec9d939a8 FS-3110 --comment-only phase 1 to replace udns with ldns in mod_enum may need to rerun bootstrap 2011-03-24 16:27:08 -05:00
Anthony Minessale 10174ea6d5 add timerfd support to the core for now you must enable it in switch.conf.xml with the param enable-softtimer-timerfd=true later if it proves to work well we can make it on by default, please test if you have a new kernel that supports this option kernel >= 2.6.25 and libc >= 2.8 2011-03-21 20:49:39 -05:00
Stefan Knoblich 78472897cd Do not escape ${libdir} in --with-pkgconfigdir option's AS_HELP_STRING
description parameter (not needed and ends up in output).

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-02-19 23:38:04 +01: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
Mike Jerris 17d5211280 add make targets for mod_com_g729 mod_com_g729-activate mod_com_g729-install mod_com_g729-clean mod_com_g729-uninstall 2011-02-14 13:52:55 -06:00
cypromis 7c74af682e Merge remote branch 'origin/master' 2010-12-18 01:16:03 +01:00
cypromis 2343708a9c Sun Studio does not like __FUNCTION__ and -mt makes better multithreaded code 2010-12-18 01:15:55 +01:00