projects
/
platform
/
upstream
/
gst-editing-services.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eb98da
)
configure: Properly check if PyGObject is present
author
Thibault Saunier
<thibault.saunier@collabora.com>
Tue, 22 Jan 2013 21:44:00 +0000
(18:44 -0300)
committer
Thibault Saunier
<thibault.saunier@collabora.com>
Wed, 23 Jan 2013 00:09:32 +0000
(21:09 -0300)
And make use of the PyGObject overrides if present
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
4dc04a1
..
1c8bad4
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-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 ***