summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2002-11-18 16:23:12 +0000
committerJames Henstridge <jamesh@src.gnome.org>2002-11-18 16:23:12 +0000
commit17e4ea9a0464718545adea3a3d41dec952889f76 (patch)
tree40a793ac240ebafe38a678abca4152bd54a3bc62 /configure.in
parente94579269e2bc286ab21b6cc6c1d6279cbd2979d (diff)
downloadpygtk-17e4ea9a0464718545adea3a3d41dec952889f76.tar.gz
add a wrapper for g_idle_add. (pyg_timeout_add): and a wrapper for
2002-11-18 James Henstridge <james@daa.com.au> * gobjectmodule.c (pyg_idle_add): add a wrapper for g_idle_add. (pyg_timeout_add): and a wrapper for g_timeout_add. (pyg_io_add_watch): and a wrapper for g_io_add_watch. (initgobject): add constants.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in17
1 files changed, 1 insertions, 16 deletions
diff --git a/configure.in b/configure.in
index caa9cb61..3fd37815 100644
--- a/configure.in
+++ b/configure.in
@@ -61,22 +61,7 @@ AC_DISABLE_STATIC
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
-dnl AM_PATH_PYTHON(2.2)
-AM_PATH_PYTHON
-AC_MSG_CHECKING(for python >= 2.2)
-prog="
-import sys, string
-minver = (2,2,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
- AC_MSG_RESULT(okay)
-else
- AC_MSG_ERROR(too old)
-fi
-
+AM_PATH_PYTHON(2.2)
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])