diff options
| author | Tony Garnock-Jones <tonyg@kcbbs.gen.nz> | 2009-11-30 20:25:56 +0000 |
|---|---|---|
| committer | Tony Garnock-Jones <tonyg@kcbbs.gen.nz> | 2009-11-30 20:25:56 +0000 |
| commit | 89f3e8fead76e8692b8c3f641c962ea9e3c36ec7 (patch) | |
| tree | 7215e3e2fe9787fdacb2494787fadcebaf22fb20 /Makefile | |
| parent | b8892e9842e6e46bdc6ad2734e4ea364b6cbafbf (diff) | |
| download | rabbitmq-server-git-89f3e8fead76e8692b8c3f641c962ea9e3c36ec7.tar.gz | |
Try harder to find a simplejson-supporting python
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -15,7 +15,20 @@ TARGETS=$(EBIN_DIR)/rabbit.app $(BEAM_TARGETS) WEB_URL=http://stage.rabbitmq.com/ MANPAGES=$(patsubst %.pod, %.gz, $(wildcard docs/*.[0-9].pod)) +ifeq ($(shell python -c 'import simplejson' 2>/dev/null && echo yes),yes) PYTHON=python +else +ifeq ($(shell python2.6 -c 'import simplejson' 2>/dev/null && echo yes),yes) +PYTHON=python2.6 +else +ifeq ($(shell python2.5 -c 'import simplejson' 2>/dev/null && echo yes),yes) +PYTHON=python2.5 +else +# Hmm. Missing simplejson? +PYTHON=python +endif +endif +endif BASIC_PLT=basic.plt RABBIT_PLT=rabbit.plt |
