Skip to content
Snippets Groups Projects
Commit 4ae521f6 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

FRAMAC_VERSION is defined by main configure.ac, no need to do it here

parent a056124f
No related branches found
No related tags found
No related merge requests found
...@@ -50,16 +50,9 @@ check_plugin(e_acsl,PLUGIN_RELATIVE_PATH(plugin_file), ...@@ -50,16 +50,9 @@ check_plugin(e_acsl,PLUGIN_RELATIVE_PATH(plugin_file),
AC_MSG_CHECKING(for Frama-C version) AC_MSG_CHECKING(for Frama-C version)
#FRAMAC_VERSION=`$FRAMA_C -version | sed -e 's/Version: \(.*\)/\1/' -e '2,$d' `
FRAMAC_VERSION=`frama-c -version | sed -e 's/Version: \(.*\)/\1/' -e '2,$d' `
AC_MSG_RESULT($FRAMAC_VERSION)
DEV_VERSION_NUMBER=`echo $FRAMAC_VERSION | sed -e 's/.*-\(.*\)/\1/' ` DEV_VERSION_NUMBER=`echo $FRAMAC_VERSION | sed -e 's/.*-\(.*\)/\1/' `
VERSION_NUMBER=`echo $DEV_VERSION_NUMBER | sed -e 's/\(.*\)+dev/\1/' ` VERSION_NUMBER=`echo $DEV_VERSION_NUMBER | sed -e 's/\(.*\)+dev/\1/' `
# does not check the version number in order to keep the build farm happy
# (see bts #1070)
# if test $VERSION_NUMBER -lt 20111001; then # if test $VERSION_NUMBER -lt 20111001; then
# AC_MSG_ERROR(Frama-C version must be Nitrogen-20111001.) # AC_MSG_ERROR(Frama-C version must be Nitrogen-20111001.)
# else if test $VERSION_NUMBER -gt 20111001; then # else if test $VERSION_NUMBER -gt 20111001; then
...@@ -70,7 +63,9 @@ VERSION_NUMBER=`echo $DEV_VERSION_NUMBER | sed -e 's/\(.*\)+dev/\1/' ` ...@@ -70,7 +63,9 @@ VERSION_NUMBER=`echo $DEV_VERSION_NUMBER | sed -e 's/\(.*\)+dev/\1/' `
# at the time being, must use the Frama-C development version # at the time being, must use the Frama-C development version
DEV=`echo $DEV_VERSION_NUMBER | sed -e 's/.*\(+dev\)/\1/' ` DEV=`echo $DEV_VERSION_NUMBER | sed -e 's/.*\(+dev\)/\1/' `
if test "$DEV" != "+dev"; then if test "$DEV" != "+dev"; then
AC_MSG_ERROR(Frama-C version must be the current SVN version.) AC_MSG_ERROR(Frama-C version must be the current SVN version.);
else
AC_MSG_RESULT($FRAMAC_VERSION)
fi fi
# OCaml version # OCaml version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment