summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-02-13 10:37:37 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-02-13 10:37:37 +0000
commit2ea47851c061cd9c38e73a453155a746edfbf940 (patch)
treee16bfe91574166e2aa08891a33dec3f42edcdc49 /configure.ac
parente8117344328f34e8338a6ea77dcdee272ad180a2 (diff)
python: remove pygst-based python bindings
pygi is the future, apparently.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac51
1 files changed, 0 insertions, 51 deletions
diff --git a/configure.ac b/configure.ac
index 610d1e3..3ced3eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,54 +90,6 @@ dnl check for documentation tools
AG_GST_DOCBOOK_CHECK
GTK_DOC_CHECK([1.3])
-dnl check for python
-AM_PATH_PYTHON
-AC_MSG_CHECKING(for python >= 2.3)
-prog="
-import sys, string
-minver = (2,3,0,'final',0)
-if sys.version_info < minver:
- sys.exit(1)
-sys.exit(0)"
-
-if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC
-then
- HAVE_PYTHON=yes
- AC_MSG_RESULT(okay)
-else
- HAVE_PYTHON=no
- AC_MSG_RESULT(no python)
-fi
-
-AM_CHECK_PYTHON_HEADERS([HAVE_PYTHON_HEADERS=yes],[HAVE_PYTHON_HEADERS=no])
-
-dnl check for pygobject (optional, used in the bindings)
-PYGOBJECT_REQ=2.11.2
-PKG_CHECK_MODULES(PYGOBJECT, pygobject-2.0 >= $PYGOBJECT_REQ,
- [HAVE_PYGOBJECT="yes"], [HAVE_PYGOBJECT="no"])
-AC_SUBST(PYGOBJECT_CFLAGS)
-
-dnl check for gst-python
-PKG_CHECK_MODULES(PYGST, gst-python-0.10,
- [HAVE_PYGST="yes"], [HAVE_PYGST="no"])
-
-if test "x$HAVE_PYGST" = "xyes"; then
- PYGST_DEFSDIR=`pkg-config gst-python-0.10 --variable=defsdir`
-fi
-AC_SUBST(PYGST_DEFSDIR, $PYGST_DEFSDIR)
-
-if test \
- "x$HAVE_PYTHON" = "xyes" -a \
- "x$HAVE_PYTHON_HEADERS" = "xyes" -a \
- "x$HAVE_PYGOBJECT" = "xyes" -a \
- "x$HAVE_PYGST" = "xyes"; then
- HAVE_PYTHON_BINDINGS="yes"
-else
- HAVE_PYTHON_BINDINGS="no"
-fi
-
-AM_CONDITIONAL(WITH_PYTHON, [test "x$HAVE_PYTHON_BINDINGS" = "xyes"])
-
dnl Check for Vala
AC_ARG_ENABLE([vala],
AC_HELP_STRING([--enable-vala],[enable Vala bindings (default=yes)]),
@@ -288,8 +240,6 @@ gst/rtsp-server/Makefile
examples/Makefile
tests/Makefile
bindings/Makefile
-bindings/python/Makefile
-bindings/python/codegen/Makefile
bindings/vala/Makefile
pkgconfig/Makefile
pkgconfig/gst-rtsp-server.pc
@@ -308,7 +258,6 @@ Configuration
Prefix : ${prefix}
Compiler : ${CC}
Vala bindings : ${enable_vala}
- Python bindings: : ${HAVE_PYTHON_BINDINGS}
Gst-rtsp-server configured. Type 'make' to build.
"