summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@src.gnome.org>2003-01-09 20:31:26 +0000
committerNalin Dahyabhai <nalin@src.gnome.org>2003-01-09 20:31:26 +0000
commit479bed1e2c10cd89824648de3b5ed6a3843eede7 (patch)
tree5d8922611993a0342614bfbdb6d42a0d6dac73f0
parentb7989a1e86f33119d62f10a2abc8b2ae74af5dbd (diff)
downloadvte-479bed1e2c10cd89824648de3b5ed6a3843eede7.tar.gz
disable the python bindings if we can't find python, from Brian Cameron.
* configure.in: disable the python bindings if we can't find python, from Brian Cameron.
-rw-r--r--ChangeLog4
-rw-r--r--configure.in5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index aef0a65b..8f971b2d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
2003-01-09 nalin
+ * configure.in: disable the python bindings if we can't find python,
+ from Brian Cameron.
+
+2003-01-09 nalin
* src/vte.c: don't just skip reading data if selection is in progress --
we wedge if we do that (#101739). Instead, temporarily stop reading
from the child pty.
diff --git a/configure.in b/configure.in
index bfd1f6d5..24e718ab 100644
--- a/configure.in
+++ b/configure.in
@@ -126,8 +126,11 @@ if test x"$enableval" != xno ; then
else
BUILD_PYTHON=false
fi],BUILD_PYTHON=true)
-AM_PATH_PYTHON
AM_CHECK_PYTHON_HEADERS
+if test -z "$PYTHON" ; then
+ AC_MSG_RESULT([python not found, disabling bindings])
+ BUILD_PYTHON=false
+fi
if $BUILD_PYTHON ; then
AC_MSG_CHECKING([for pygtk-2.0])
if pkg-config --exists pygtk-2.0 ; then