From 2740099da010846fdb38883ae74cff31b014ca61 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Thu, 12 Jun 2014 11:15:20 -0400 Subject: pthread is now a core dependency instead of just a toxav dependency. Fixed possible thread bug with sending A/V packets. TODO: eventually make toxcore thread safe. --- configure.ac | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e3b9a77b..0dd88da4 100644 --- a/configure.ac +++ b/configure.ac @@ -459,15 +459,13 @@ if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes") && (test "x$DISABLE_R ) fi -if test "x$BUILD_AV" = "xyes"; then - AX_PTHREAD( - [], - [ - AC_MSG_WARN([disabling AV support: required pthread library not found]) - BUILD_AV="no" - ] - ) -fi + +AX_PTHREAD( + [], + [ + AC_MSG_ERROR([required library pthread was not found on your system]) + ] +) if test "x$BUILD_AV" = "xyes"; then PKG_CHECK_MODULES([OPUS], [opus], -- cgit v1.2.3