Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2018-06-14 18:58:35 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2018-06-14 18:58:35 +0300
commit49b08949b17bac12c534f6f8abe8e978689be8be (patch)
tree7b69f790aec00a73666a8833bed596d6858d05de /m4
parent141be53c21491f27995611e4c4e141559d5cbd64 (diff)
Do not check for deprecated types
Since we support only Erlang >= OTP-17.5, the check for old-style dict/queue/etc types is no longer needed
Diffstat (limited to 'm4')
-rw-r--r--m4/erlang-extra.m417
1 files changed, 0 insertions, 17 deletions
diff --git a/m4/erlang-extra.m4 b/m4/erlang-extra.m4
index f658057b5..4a7311bad 100644
--- a/m4/erlang-extra.m4
+++ b/m4/erlang-extra.m4
@@ -84,20 +84,3 @@ EOF
AC_MSG_RESULT([ok])
fi
]) dnl ERLANG_VERSION_CHECK
-
-AC_DEFUN([ERLANG_DEPRECATED_TYPES_CHECK],
-[ AC_MSG_CHECKING([whether Erlang is using deprecated types])
- cat > conftest.erl <<EOF
--module(conftest).
-
--record(state, {host = dict:new() :: dict:dict()}).
-EOF
-
- if $ERLC conftest.erl > /dev/null 2>&1; then
- AC_MSG_RESULT([no])
- AC_SUBST(erlang_deprecated_types, false)
- else
- AC_MSG_RESULT([yes])
- AC_SUBST(erlang_deprecated_types, true)
- fi
-])