summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquinn <quinn>2007-01-31 01:37:53 +0000
committerquinn <quinn>2007-01-31 01:37:53 +0000
commit6e1cdefc0f53951e9caae2047c23a812713c2482 (patch)
treef54e3639d0e7e078dafeaabcd50d8debdb1d1bbf
parent7a91baedd221b17f451bba68c2fbcecc5e7ac382 (diff)
downloadberyl-settings-bindings-6e1cdefc0f53951e9caae2047c23a812713c2482.tar.gz
beryl-settings-bindings-6e1cdefc0f53951e9caae2047c23a812713c2482.tar.bz2
beryl-settings-bindings:
* fix python autodetection * closes #1061
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9e41ba2..63c94c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,6 +28,12 @@ dnl PYTHON SPECIFIC
m4_define(required_python_abi,2.4)
AM_PATH_PYTHON
+if test "$PYTHON_VERSION" = "2.4"
+then
+ AM_PATH_PYTHON_VERSION(2.4,2.4.0)
+else
+ AM_PATH_PYTHON_VERSION(2.5,2.5.0)
+fi
AC_CHECK_PROGS(PYREX, pyrexc)
if test -z "$PYREX"