Commit Graph

142 Commits

Author SHA1 Message Date
paulc 09b07f4b00 Added Semaphore class, made Mutex derive from (new class) Lockable, made Lock able to get a lock on any Lockable - Mutex or Semaphore.
Use pthread_mutex_timedlock and sem_timedwait if available on platform.
Fixed a bug in the IAX channel exposed by Mutex having virtual methods.


git-svn-id: http://voip.null.ro/svn/yate@2761 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 12:57:14 +00:00
paulc f99885ef26 Detect prctl availability when configuring.
git-svn-id: http://voip.null.ro/svn/yate@2730 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 12:22:52 +00:00
paulc 6b70a1bfbd Fixed building osschan on FreeBsd where soundcard.h is in include/sys
git-svn-id: http://voip.null.ro/svn/yate@2690 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-05 17:39:29 +00:00
paulc 32cf49f174 Configure can receive explicit path to openssl base directory, assumes
libssl and libcrypto are in the linker's path.


git-svn-id: http://voip.null.ro/svn/yate@2686 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:52:08 +00:00
paulc 745c7ff8c9 Check for regcomp only if we would use it.
git-svn-id: http://voip.null.ro/svn/yate@2684 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:02:57 +00:00
paulc 4a878425fc Use normal function check instead of AC_FUNC_MALLOC as we never call it
to allocate zero bytes.
AC_FUNC_MALLOC cannot be tested wile cross-compiling and its default 
behaviour disturbs subsequent tests.


git-svn-id: http://voip.null.ro/svn/yate@2680 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-03 12:34:07 +00:00
paulc e301807aa1 Reserve $LIBS and @LIBS@ for the system libraries that can be passed to
the configure script.


git-svn-id: http://voip.null.ro/svn/yate@2678 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 19:17:54 +00:00
paulc 73a6278b93 Made resolver checks stricter to avoid false positives because
of implicit declaration.


git-svn-id: http://voip.null.ro/svn/yate@2675 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 17:13:45 +00:00
paulc 35beaecc0a Use the system detected CFLAGS instead of hardcoding -O2
git-svn-id: http://voip.null.ro/svn/yate@2673 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 16:06:14 +00:00
paulc 69da61247f Detect the proper threading library where pthread_mutexattr_settype is
located.
Look for regcomp only when not using internal regexp.


git-svn-id: http://voip.null.ro/svn/yate@2672 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 15:42:34 +00:00
paulc 8134763af6 Building of wpcard and tdmcard modules can be disabled independently of detecting wanpipe.
git-svn-id: http://voip.null.ro/svn/yate@2629 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-15 14:35:48 +00:00
paulc 184021d1b4 Find installed Wanpipe headers if available, let tdmcard compile if found.
The Linux kernel headers are only used as fallback for wpcard.


git-svn-id: http://voip.null.ro/svn/yate@2619 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-08 16:03:59 +00:00
paulc e8d50f4051 Allow mysqldb to compile on systems without mysql_set_character_set.
git-svn-id: http://voip.null.ro/svn/yate@2539 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-24 19:59:59 +00:00
paulc 2b53e8220b Updated detection and fax channel to work with spandsp 0.0.6 pre3
git-svn-id: http://voip.null.ro/svn/yate@2411 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-03 19:36:40 +00:00
paulc d83580c267 Fixed libpq.so detection in lib vs. lib64
git-svn-id: http://voip.null.ro/svn/yate@2388 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-03 13:49:14 +00:00
paulc 5e559c8747 Retrieve the QtNetwork include and library parameters for modules in need.
git-svn-id: http://voip.null.ro/svn/yate@2376 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-29 15:56:26 +00:00
paulc 7ac8647e3a Compile with the new HWEC API if wanec_iface_api.h file is present.
git-svn-id: http://voip.null.ro/svn/yate@2359 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-24 12:04:03 +00:00
paulc bbf64c9a1c Added way to put SVN revision in package.
git-svn-id: http://voip.null.ro/svn/yate@2214 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 15:33:08 +00:00
paulc 458407c891 Fixed detection of Qt by pkgconfig from yet another stupid place.
git-svn-id: http://voip.null.ro/svn/yate@2139 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-04 06:36:08 +00:00
paulc 261993b48f Bumped version to 2.0.0-1
git-svn-id: http://voip.null.ro/svn/yate@2138 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-04 05:29:19 +00:00
paulc 1835310602 Fixed UI look in Qt 4.2.x, install the wave files at the proper place.
git-svn-id: http://voip.null.ro/svn/yate@2136 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-04 03:54:44 +00:00
paulc 193bfdc322 Fix how include path is generated when PWLib exists only as source directory.
git-svn-id: http://voip.null.ro/svn/yate@2005 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-02 11:31:50 +00:00
paulc 67a13b0f15 Removed the GTK client.
git-svn-id: http://voip.null.ro/svn/yate@2004 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-30 12:36:57 +00:00
paulc 14f9c9448c Removed leftover error when AMR-NB is not detected.
git-svn-id: http://voip.null.ro/svn/yate@1985 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-15 10:23:26 +00:00
paulc 4b4d836687 Added AMR-NB codec based on 3GPP code converted to library by Stanislav Brabec.
git-svn-id: http://voip.null.ro/svn/yate@1984 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-15 10:13:52 +00:00
paulc f7e1c85140 Fixed FD_SETSIZE check.
git-svn-id: http://voip.null.ro/svn/yate@1949 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 11:05:13 +00:00
paulc c8866eecb6 Detect impossibility of setting FD_SETSIZE at configure time.
git-svn-id: http://voip.null.ro/svn/yate@1948 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 11:02:28 +00:00
paulc 6d73b5fb25 Fixes for building in FreeBSD.
git-svn-id: http://voip.null.ro/svn/yate@1946 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 10:10:01 +00:00
paulc 179acdc1aa Changed the order of pkgconfig packages tried for OpenSSL libraries.
git-svn-id: http://voip.null.ro/svn/yate@1863 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-31 15:00:06 +00:00
paulc 2e12aa6f8f Report version of found OpenH323 - solves Mantis #0000117
git-svn-id: http://voip.null.ro/svn/yate@1861 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-31 13:04:21 +00:00
paulc 4c0f579211 Locate gtkmozembed in the Debian/Ubuntu specific libxul
(patch by bsd in Mantis - #0000116)


git-svn-id: http://voip.null.ro/svn/yate@1860 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-31 11:30:30 +00:00
paulc 25eb77c279 Use openssl as fallback if libssl is unknown to pkg-config.
git-svn-id: http://voip.null.ro/svn/yate@1848 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-26 14:18:26 +00:00
paulc d00c6d7abe Detect OpenSSL.
git-svn-id: http://voip.null.ro/svn/yate@1844 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-25 15:29:10 +00:00
paulc 8ebdde0943 Removed accidentally duplicate line.
git-svn-id: http://voip.null.ro/svn/yate@1843 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-25 14:35:37 +00:00
marian 9e6b4a7900 Fixed Wanpipe echo canceller availability check.
Implemented link status detection in Wanpipe module.


git-svn-id: http://voip.null.ro/svn/yate@1782 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-14 16:13:28 +00:00
paulc 60c3ac11f5 Fixed minor typos - missing x in test.
git-svn-id: http://voip.null.ro/svn/yate@1736 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-23 21:47:18 +00:00
paulc 6880f4c0fc Attempt to detect pwlib and openh323 in /usr/local as well.
git-svn-id: http://voip.null.ro/svn/yate@1735 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-23 21:45:21 +00:00
paulc 9fa8bacade Make extra checks for MySQL, search for libs in lib too, not ony $ARCHLIB.
git-svn-id: http://voip.null.ro/svn/yate@1734 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-23 21:39:01 +00:00
paulc 1e97c553a9 Bumped version to 2.0.0 alpha2 and made --version report code status.
git-svn-id: http://voip.null.ro/svn/yate@1713 acf43c95-373e-0410-b603-e72c3f656dc1
2008-02-04 12:54:30 +00:00
paulc 92e76e4dfc Guess the proper instance of MOC in case it's not the first in path.
This can happen if both Qt3 and Qt4 are installed.


git-svn-id: http://voip.null.ro/svn/yate@1667 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-24 12:13:59 +00:00
paulc 6e42f58921 Detect Qt version and conditionally compile based on it.
git-svn-id: http://voip.null.ro/svn/yate@1602 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 14:43:34 +00:00
paulc aef0770394 Added Qt4 package and status tag.
git-svn-id: http://voip.null.ro/svn/yate@1596 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-07 21:07:07 +00:00
paulc 02a45d689f Changes required to compile Qt4 under Linux.
git-svn-id: http://voip.null.ro/svn/yate@1595 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-07 20:39:39 +00:00
paulc cbecedd5bd Fixed libraries directory name handling.
git-svn-id: http://voip.null.ro/svn/yate@1544 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-13 14:34:42 +00:00
paulc 7003e84fdb Guess the library directory name for the architecture, use it in checks.
git-svn-id: http://voip.null.ro/svn/yate@1543 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-13 14:14:29 +00:00
paulc cb37d2f114 Added enable and disable configure options for Zaptel and Wanpipe.
git-svn-id: http://voip.null.ro/svn/yate@1521 acf43c95-373e-0410-b603-e72c3f656dc1
2007-12-06 14:42:19 +00:00
marian feeb4b5b64 Added modem library makefile to the list of config files
git-svn-id: http://voip.null.ro/svn/yate@1499 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-27 14:35:43 +00:00
paulc 0883250323 Moved modules to proper location, added sample conf files for MGCP and heartbeat, removed traces of libpri.
git-svn-id: http://voip.null.ro/svn/yate@1485 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-23 16:34:33 +00:00
paulc d32c220960 Directory reorder #3
git-svn-id: http://voip.null.ro/svn/yate@1476 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 23:06:36 +00:00
paulc c713db5112 Applied Mikma's patch for MySQL options detection.
git-svn-id: http://voip.null.ro/svn/yate@1457 acf43c95-373e-0410-b603-e72c3f656dc1
2007-10-14 07:53:49 +00:00