r22280 - gnucash/branches/2.4 - [22279] Configure should check for the python-devel package if called with --enable-python
Frank H. Ellenberger
fell at code.gnucash.org
Fri Aug 3 22:40:23 EDT 2012
Author: fell
Date: 2012-08-03 22:40:22 -0400 (Fri, 03 Aug 2012)
New Revision: 22280
Trac: http://svn.gnucash.org/trac/changeset/22280
Modified:
gnucash/branches/2.4/configure.ac
Log:
[22279] Configure should check for the python-devel package if called with --enable-python
(#680671)
Modified: gnucash/branches/2.4/configure.ac
===================================================================
--- gnucash/branches/2.4/configure.ac 2012-08-04 02:01:40 UTC (rev 22279)
+++ gnucash/branches/2.4/configure.ac 2012-08-04 02:40:22 UTC (rev 22280)
@@ -1188,6 +1188,12 @@
)
if test x${enable_python} = "xtrue"
then
+ # Check for Python
+ # We require python-2.4 because our implementation doesn't run
+ # with earlier version anymore.
+ PKG_CHECK_MODULES(PYTHON, python >= 2.4 , , [
+ AC_MSG_ERROR([Could not find python >= 2.4. If you use --enable-python, you MUST have python installed!])
+ ])
AM_PATH_PYTHON(2.4)
AC_PYTHON_DEVEL(>= '2.4')
SWIG_PYTHON
More information about the gnucash-changes
mailing list