display better error message if PyGTK is too old.

2007-06-07  Manish Singh  <yosh@gimp.org>

        * configure.in: display better error message if PyGTK is too old.

svn path=/trunk/; revision=22741
This commit is contained in:
Manish Singh 2007-06-07 19:31:03 +00:00 committed by Manish Singh
parent a9cec3c05f
commit d2d999627f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-06-07 Manish Singh <yosh@gimp.org>
* configure.in: display better error message if PyGTK is too old.
2007-06-07 Sven Neumann <sven@gimp.org>
* app/core/gimpprojection.c (gimp_projection_validate_pyramid_tile):

View File

@ -1558,7 +1558,7 @@ if test "x$enable_python" != xno; then
enable_python="yes"
dnl check for Python
AM_PATH_PYTHON(2.3.5,,
[AC_MSG_ERROR([pycheck_error([Python 2.3.5 or better], [it])])])
[AC_MSG_ERROR([pycheck_error([Python 2.3.5 or newer], [it])])])
AM_CHECK_PYTHON_HEADERS(,
[AC_MSG_ERROR([pycheck_error([Python headers], [them])])])
@ -1581,7 +1581,7 @@ if test "x$enable_python" != xno; then
dnl check for PyGTK
PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= pygtk_required_version,,
[AC_MSG_ERROR([pycheck_error([PyGTK], [it])])])
[AC_MSG_ERROR([pycheck_error([PyGTK pygtk_required_version or newer], [it])])])
AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
if test "x$PYGTK_CODEGEN" = xno; then