Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
4ae521f6
Commit
4ae521f6
authored
13 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/e-acsl/configure.ac
+3
-8
3 additions, 8 deletions
src/plugins/e-acsl/configure.ac
with
3 additions
and
8 deletions
src/plugins/e-acsl/configure.ac
+
3
−
8
View file @
4ae521f6
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment