summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrancesco Mazzoli <francesco@rabbitmq.com>2012-03-05 15:34:38 +0000
committerFrancesco Mazzoli <francesco@rabbitmq.com>2012-03-05 15:34:38 +0000
commit42b19d8c4ea7280c1ac63897648ef9565018ded5 (patch)
tree15e028cb1827687645a020712d59fa278be76285 /Makefile
parentac114c61b2bb8585c058a048adf2ae1ffc6a37ab (diff)
downloadrabbitmq-server-git-42b19d8c4ea7280c1ac63897648ef9565018ded5.tar.gz
-callbacks for gen_server2. USE_SPECS now requires R15B.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e8975856d4..9376340049 100644
--- a/Makefile
+++ b/Makefile
@@ -42,9 +42,9 @@ BASIC_PLT=basic.plt
RABBIT_PLT=rabbit.plt
ifndef USE_SPECS
-# our type specs rely on features and bug fixes in dialyzer that are
-# only available in R14B03 upwards (R14B03 is erts 5.8.4)
-USE_SPECS:=$(shell erl -noshell -eval 'io:format([list_to_integer(X) || X <- string:tokens(erlang:system_info(version), ".")] >= [5,8,4]), halt().')
+# our type specs rely on callback specs, which are available in R15B
+# upwards.
+USE_SPECS:=$(shell erl -noshell -eval 'io:format([list_to_integer(X) || X <- string:tokens(erlang:system_info(version), ".")] >= [5,9]), halt().')
endif
ifndef USE_PROPER_QC