projects
/
platform
/
upstream
/
gstreamer.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 4dc04a138a6ce766902aca930681bbd3fc9083bb..1c8bad44b2166c6e40c60e9bb14857f18c0c2fb4 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 ***