[libpeas] Allow also python2.5-config, python2.6-config and python2.7-config
- From: Thomas Bechtold <toabctl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Allow also python2.5-config, python2.6-config and python2.7-config
- Date: Sat, 16 Mar 2013 11:18:43 +0000 (UTC)
commit 8c0958dd1b5c86ca1691d5bcb8da2931155d6c8e
Author: Thomas Bechtold <thomasbechtold jpberlin de>
Date: Sat Mar 16 10:45:24 2013 +0100
Allow also python2.5-config, python2.6-config and python2.7-config
https://bugzilla.gnome.org/show_bug.cgi?id=695957
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a973382..ae16dfb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -340,7 +340,7 @@ else
found_python2="no (python2 not found)"
else
AM_PYTHON_CHECK_VERSION($PYTHON2, $PYTHON2_REQUIRED, [
- AC_PATH_TOOL(PYTHON2_CONFIG, "python2-config")
+ AC_PATH_PROGS(PYTHON2_CONFIG, [python2-config python2.7-config python2.6-config
python2.5-config])
if test -n "${PYTHON2_CONFIG}"; then
PKG_CHECK_MODULES(PYGOBJECT, pygobject-3.0 >= $PYGOBJECT_REQUIRED, [
found_python2=yes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]