Set enable_python to yes if it wasn't set to no. Fixes display of Python

2006-10-16  Kevin Cozens  <kcozens@cvs.gnome.org>

	* configure.in: Set enable_python to yes if it wasn't set to no.
	Fixes display of Python status in "Optional Plug-Ins" section.

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added
	'the-environment'.
This commit is contained in:
Kevin Cozens 2006-10-16 15:56:50 +00:00 committed by Kevin Cozens
parent ee8039a062
commit 349a0d7094
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2006-10-16 Kevin Cozens <kcozens@cvs.gnome.org>
* configure.in: Set enable_python to yes if it wasn't set to no.
Fixes display of Python status in "Optional Plug-Ins" section.
* plug-ins/script-fu/scripts/script-fu-compat.init: Added
'the-environment'.
2006-10-16 Michael Natterer <mitch@gimp.org>
* app/widgets/gimplayertreeview.c: #include "core/gimp.h" for

View File

@ -1434,6 +1434,7 @@ m4_define([pycheck_error], [
*** to use scripts for GIMP that are written in Python).])
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])])])

View File

@ -143,6 +143,7 @@
(define pow expt)
(define string-lessp string<?)
(define symbol-bound? defined?)
(define the-environment current-environment)
(define *pi*
(* 4 (atan 1.0))