configure: fail if pygobject is not found
authorAndoni Morales Alastruey <ylatuya@gmail.com>
Mon, 26 Aug 2013 23:07:48 +0000 (01:07 +0200)
committerThibault Saunier <thibault.saunier@collabora.com>
Mon, 26 Aug 2013 23:12:01 +0000 (19:12 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=706853

configure.ac

index a76668e..8668034 100644 (file)
@@ -103,11 +103,7 @@ AC_SUBST(GST_CFLAGS)
 AC_SUBST(GST_LIBS)
 
 dnl check for pygobject
-PKG_CHECK_MODULES(PYGOBJECT, pygobject-3.0 >= $PYGOBJECT_REQ,
-  [
-    HAVE_PYGOBJECT="yes"
-  ], HAVE_PYGOBJECT="no")
-
+PKG_CHECK_MODULES(PYGOBJECT, pygobject-3.0 >= $PYGOBJECT_REQ)
 AC_SUBST(PYGOBJECT_CFLAGS)
 
 dnl and set the override directory