aboutsummaryrefslogtreecommitdiffstats
path: root/erts/configure.in
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2014-02-21 11:34:29 +0100
committerRickard Green <[email protected]>2014-02-21 11:34:29 +0100
commitdd298cc2d6b21e8c387ac525bd678f0dfa8853f3 (patch)
treee59914298c52fec7fb00234eb4f22517367f3a44 /erts/configure.in
parent986611be9b5050969a58e8bdce864b0eb91133d5 (diff)
parent3fd4e3e770fbed95fd6fa2d547945ac71256339c (diff)
downloadotp-dd298cc2d6b21e8c387ac525bd678f0dfa8853f3.tar.gz
otp-dd298cc2d6b21e8c387ac525bd678f0dfa8853f3.tar.bz2
otp-dd298cc2d6b21e8c387ac525bd678f0dfa8853f3.zip
Merge branch 'rickard/otp_version/OTP-11615'
* rickard/otp_version/OTP-11615: Misc adjustments of OTP version
Diffstat (limited to 'erts/configure.in')
-rw-r--r--erts/configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in
index c20bb032f1..02e5d12918 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -357,6 +357,16 @@ else
fi
AC_SUBST(OTP_RELEASE)
+AC_MSG_CHECKING([OTP release])
+[SYSTEM_VSN=`cat $ERL_TOP/OTP_VERSION | sed "s|\([0-9]*\).*|\1|"`]
+AC_MSG_RESULT([$SYSTEM_VSN])
+AC_SUBST(SYSTEM_VSN)
+
+AC_MSG_CHECKING([OTP version])
+[OTP_VERSION=`cat $ERL_TOP/OTP_VERSION`]
+AC_MSG_RESULT([$OTP_VERSION])
+AC_SUBST(OTP_VERSION)
+
dnl OK, we might have darwin switches off different kinds, lets
dnl check it all before continuing.
TMPSYS=`uname -s`-`uname -m`