[ekiga] autoconf: Check for Opal AEC support.



commit 042abda2ba1f1f97d22ace9ffa8ebe82a1eed76e
Author: Damien Sandras <dsandras seconix com>
Date:   Tue Dec 30 16:29:00 2014 +0100

    autoconf: Check for Opal AEC support.

 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 78baf3e..d6a285d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -595,6 +595,14 @@ if test "x$PTLIB_VIDEO" != "xyes"; then
   AC_MSG_ERROR([You need ptlib video support to compile ekiga])
 fi
 
+# AEC is mandatory for good quality
+AC_MSG_CHECKING(for OPAL support for AEC)
+OPAL_AEC=`$PKG_CONFIG opal --variable=OPAL_AEC`
+AC_MSG_RESULT($OPAL_AEC)
+if test "x$OPAL_AEC" != "xyes"; then
+  AC_MSG_ERROR([You need opal aec support to compile ekiga])
+fi
+
 # Make sure ptlib and opal don't force no-exceptions,
 # as we need them for boost's signals2
 PTLIB_CFLAGS="$PTLIB_CFLAGS -fexceptions"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]