mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
configure: Orc is not required
This commit is contained in:
parent
c295354da5
commit
da14b6e292
1 changed files with 3 additions and 5 deletions
|
@ -238,11 +238,9 @@ esac
|
||||||
],
|
],
|
||||||
[enable_orc=yes]) dnl Default value
|
[enable_orc=yes]) dnl Default value
|
||||||
|
|
||||||
|
ORC_REQ=0.4.4.1
|
||||||
if test "x$enable_orc" = "xyes" ; then
|
if test "x$enable_orc" = "xyes" ; then
|
||||||
PKG_CHECK_MODULES(ORC, orc-0.4 >= 0.4.4.1, HAVE_ORC=yes, HAVE_ORC=no)
|
PKG_CHECK_MODULES(ORC, orc-0.4 >= $ORC_REQ, HAVE_ORC=yes, HAVE_ORC=no)
|
||||||
if test "x$HAVE_ORC" != "xyes"; then
|
|
||||||
AC_ERROR([orc-0.4.0 or later is required])
|
|
||||||
fi
|
|
||||||
AC_DEFINE(HAVE_ORC, 1, [Use Orc])
|
AC_DEFINE(HAVE_ORC, 1, [Use Orc])
|
||||||
|
|
||||||
ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
|
ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
|
||||||
|
@ -614,7 +612,7 @@ AG_GST_CHECK_FEATURE(CELT, [celt], celt, [
|
||||||
dnl *** Cog ***
|
dnl *** Cog ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_COG, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_COG, true)
|
||||||
AG_GST_CHECK_FEATURE(COG, [Cog plugin], cog, [
|
AG_GST_CHECK_FEATURE(COG, [Cog plugin], cog, [
|
||||||
PKG_CHECK_MODULES(COG, libpng >= 1.2 orc-0.4 >= 0.4.4.1, HAVE_COG="yes", [
|
PKG_CHECK_MODULES(COG, libpng >= 1.2 orc-0.4 >= $ORC_REQ, HAVE_COG="yes", [
|
||||||
HAVE_COG="no"
|
HAVE_COG="no"
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue