Skip to content
Snippets Groups Projects
Commit 07f1261f authored by Julien Signoles's avatar Julien Signoles
Browse files

[configure] compatibility with Neon, whatever the release number is

parent 9ed6bffd
No related branches found
No related tags found
No related merge requests found
...@@ -52,23 +52,28 @@ check_plugin_dependencies ...@@ -52,23 +52,28 @@ check_plugin_dependencies
####################### #######################
AC_MSG_CHECKING(for Frama-C version) AC_MSG_CHECKING(for Frama-C version)
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/' `
REQUIRED_NUMBER=20140301 REQUIRED_NUMBER=20140301
if test $VERSION_NUMBER -lt $REQUIRED_NUMBER; then case $FRAMAC_VERSION in
AC_MSG_ERROR(Frama-C version must be at least Neon-$REQUIRED_NUMBER.) Neon*)
else # # at the time being, must use the Frama-C development version
# DEV=`echo $DEV_VERSION_NUMBER | sed -e 's/.*\(+dev\)/\1/' `
# # at the time being, must use the Frama-C development version # if test "$DEV" != "+dev"; then
# DEV=`echo $DEV_VERSION_NUMBER | sed -e 's/.*\(+dev\)/\1/' ` # AC_MSG_ERROR(Frama-C version must be the current GIT version.);
# if test "$DEV" != "+dev"; then # fi
# AC_MSG_ERROR(Frama-C version must be the current GIT version.); ;;
# else *)
AC_MSG_RESULT($FRAMAC_VERSION) if test $VERSION_NUMBER -lt $REQUIRED_NUMBER; then
# fi AC_MSG_ERROR(Frama-C version must be at least Neon-$REQUIRED_NUMBER.)
fi else
AC_MSG_WARN(Frama-C version is more recent than Neon: \
use it at your own risk)
fi;;
esac
# 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