summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Wragg <dpw@lshift.net>2010-05-30 23:31:40 +0100
committerDavid Wragg <dpw@lshift.net>2010-05-30 23:31:40 +0100
commitdb064ed6e69bdc04cf3d1cb5ef31441b7bce16cc (patch)
treedc0ba47a2cd9336a4411b87eaa14b0a4d472f5a9 /configure.ac
parent4dece0a14ea2cc71725821266b8521aa087c5b55 (diff)
downloadrabbitmq-c-github-ask-db064ed6e69bdc04cf3d1cb5ef31441b7bce16cc.tar.gz
The simplejson module is bundled with python2.6 but renamed to json
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b1ff0bc..13d1b4b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,7 +46,8 @@ checkPython() {
return
fi
PYTHON=$1
- if $PYTHON -c 'import simplejson' 2>/dev/null
+ if $PYTHON -c 'import json' 2>/dev/null \
+ || $PYTHON -c 'import simplejson' 2>/dev/null
then
found_python=yes
AC_MSG_RESULT($PYTHON)