Skip to content

Commit

Permalink
Drop support for Erlang/OTP R16
Browse files Browse the repository at this point in the history
Yaws generally supports the five most recent major versions of
Erlang/OTP, so drop R16 since Erlang 21 has been out for awhile.
  • Loading branch information
vinoski committed Feb 4, 2019
1 parent b258d86 commit a40f826
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 12 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Expand Up @@ -22,10 +22,6 @@ otp_release:
- 17.3
- 17.1
- 17.0
- R16B03-1
- R16B03
- R16B02
- R16B01

env:
global:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -7,7 +7,7 @@ Prepare build

Get and install an Erlang system (http://www.erlang.org).

**To compile Yaws, Erlang/OTP R16B01 or higher is required.**
**To compile Yaws, Erlang/OTP R17 or higher is required.**

If you've cloned the source from github and you want to build using autotools,
note there is no ./configure script in the source, so create one:
Expand Down
2 changes: 1 addition & 1 deletion README.osx
@@ -1,7 +1,7 @@
# Homebrew on OSX

If you develop on OS X (Mavericks, Mountain Lion, Lion, Snow Leopard), the
Yaws formula works correctly for users of Erlang/OTP R16B01 and above. To
Yaws formula works correctly for users of Erlang/OTP R17 and above. To
install please run:

brew install yaws
Expand Down
6 changes: 3 additions & 3 deletions configure.ac
Expand Up @@ -203,10 +203,10 @@ dnl Get ERTS version.
ERLANG_CHECK_ERTS
ERLANG_CHECK_RELEASE

dnl Require Erlang >=R16B01 (ERTS 5.10.2) is required.
AX_COMPARE_VERSION([${ERLANG_ERTS_VER}], [ge], [5.10.2],
dnl Require Erlang >=R17 (ERTS 6.0) is required.
AX_COMPARE_VERSION([${ERLANG_ERTS_VER}], [ge], [6.0],
[],
[AC_MSG_ERROR([Erlang R16B01 or higher is required but only Erlang $ERLANG_RELEASE was found!])])
[AC_MSG_ERROR([Erlang R17 or higher is required but only Erlang $ERLANG_RELEASE was found!])])

dnl Determine directories for installation.
if test "x${prefix}" != "xNONE" -a "x${ERLANG_INSTALL_LIB_DIR}" = "x"; then
Expand Down
2 changes: 1 addition & 1 deletion doc/yaws.tex
Expand Up @@ -193,7 +193,7 @@ \subsection{Compile and Install}

To compile and install a \Yaws\ release
one of the prerequisites is a properly installed \Erlang\ system. \Yaws\
runs on \Erlang\/OTP releases R16B01 and newer. Get \Erlang\ from
runs on \Erlang\/OTP releases R17 and newer. Get \Erlang\ from
\url{http://www.erlang.org/}

Compile and install is straight forward:
Expand Down
2 changes: 1 addition & 1 deletion rebar.config
@@ -1,6 +1,6 @@
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ft=erlang ts=4 sw=4 et
{require_min_otp_vsn, "R16B01"}.
{require_min_otp_vsn, "R17"}.

{sub_dirs, ["rel"]}.

Expand Down
2 changes: 1 addition & 1 deletion www/configuration.yaws
Expand Up @@ -30,7 +30,7 @@ out(A) ->
are required. (All code example below on Ubuntu)
</p>
<p>
<strong>NOTE: Erlang/OTP R16B01 or higher is required.</strong>
<strong>NOTE: Erlang/OTP R17 or higher is required.</strong>
</p>
<ul>
<li>
Expand Down

0 comments on commit a40f826

Please sign in to comment.