mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 01:16:43 -06:00
Configure won't accept python on Debian Wheezy
Debian Wheezy uses python2.pc instead of python.pc. Check both. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22297 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
f37c6fab09
commit
e925c5c310
11
configure.ac
11
configure.ac
@ -1072,11 +1072,14 @@ AC_ARG_ENABLE(python,
|
||||
)
|
||||
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.
|
||||
# Check for Python. We require python-2.4 because our implementation
|
||||
# doesn't run with earlier version anymore. Building Python from
|
||||
# source creates python.pc, Debian installs python2.pc, and Fedora
|
||||
# 17 makes both.
|
||||
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!])
|
||||
PKG_CHECK_MODULES(PYTHON, python2 >= 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')
|
||||
|
Loading…
Reference in New Issue
Block a user