mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
configure: Properly check if PyGObject is present
And make use of the PyGObject overrides if present
This commit is contained in:
parent
6eb98da46f
commit
5543a48f5e
1 changed files with 8 additions and 1 deletions
|
@ -129,7 +129,14 @@ else
|
|||
AC_MSG_RESULT(no python)
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(WITH_PYTHON, [test "x$HAVE_PYTHON" = "xyes"])
|
||||
dnl check for pygobject
|
||||
AC_SUBST(PYGOBJECT_REQ, 4.22)
|
||||
PKG_CHECK_MODULES(PYGOBJECT, pygobject-3.0 >= $PYGOBJECT_REQ,
|
||||
[
|
||||
HAVE_PYGOBJECT=yes
|
||||
], HAVE_PYGOBJECT=no)
|
||||
|
||||
AM_CONDITIONAL(WITH_PYTHON, [test "x$HAVE_PYGOBJECT" = "xyes"])
|
||||
|
||||
dnl *** checks for libraries ***
|
||||
|
||||
|
|
Loading…
Reference in a new issue