summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-12-02 11:31:47 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-12-09 16:40:25 +0100
commitf9e0a644aebb6cb6caa2c624f9afd2835ab6834f (patch)
tree41a78cb80af098c4b6971957796060b2cd08b6df /configure.ac
parentdd57d05a523746af54557e4cf5a9768ebe029d77 (diff)
downloadspice-common-f9e0a644aebb6cb6caa2c624f9afd2835ab6834f.tar.gz
spice-common-f9e0a644aebb6cb6caa2c624f9afd2835ab6834f.tar.xz
spice-common-f9e0a644aebb6cb6caa2c624f9afd2835ab6834f.zip
build-sys: Move opus check to m4 macro
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 93ffc76..d3c318a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,13 +41,10 @@ AC_SUBST(PIXMAN_CFLAGS)
SPICE_CHECK_SMARTCARD(SPICE_COMMON)
SPICE_CHECK_CELT051(SPICE_COMMON)
+SPICE_CHECK_OPUS(SPICE_COMMON)
AC_SUBST(SPICE_COMMON_CFLAGS)
AC_SUBST(SPICE_COMMON_LIBS)
-PKG_CHECK_MODULES([OPUS], [opus >= 0.9.14], have_opus=yes, have_opus=no)
-AM_CONDITIONAL([HAVE_OPUS], [test "x$have_opus" = "xyes"])
-AM_COND_IF([HAVE_OPUS], AC_DEFINE([HAVE_OPUS], 1, [Define if we have Opus]))
-
AC_ARG_ENABLE([opengl],
AS_HELP_STRING([--enable-opengl=@<:@yes/no@:>@],
[Enable opengl support (not recommended) @<:@default=no@:>@]),