configure: set PYGOBJECT_REQ before using it

https://bugzilla.gnome.org/show_bug.cgi?id=640641
This commit is contained in:
Tim-Philipp Müller 2011-01-26 15:52:54 +00:00
parent 1c300d92e0
commit 68a828ee29

View file

@ -112,10 +112,10 @@ fi
AM_CHECK_PYTHON_HEADERS([HAVE_PYTHON_HEADERS=yes],[HAVE_PYTHON_HEADERS=no]) AM_CHECK_PYTHON_HEADERS([HAVE_PYTHON_HEADERS=yes],[HAVE_PYTHON_HEADERS=no])
dnl check for pygobject (optional, used in the bindings) dnl check for pygobject (optional, used in the bindings)
PYGOBJECT_REQ=2.11.2
PKG_CHECK_MODULES(PYGOBJECT, pygobject-2.0 >= $PYGOBJECT_REQ, PKG_CHECK_MODULES(PYGOBJECT, pygobject-2.0 >= $PYGOBJECT_REQ,
[HAVE_PYGOBJECT="yes"], [HAVE_PYGOBJECT="no"]) [HAVE_PYGOBJECT="yes"], [HAVE_PYGOBJECT="no"])
AC_SUBST(PYGOBJECT_CFLAGS) AC_SUBST(PYGOBJECT_CFLAGS)
AC_SUBST(PYGOBJECT_REQ, 2.11.2)
dnl check for gst-python dnl check for gst-python
PKG_CHECK_MODULES(PYGST, gst-python-0.10, PKG_CHECK_MODULES(PYGST, gst-python-0.10,