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
29b8ec23
Commit
29b8ec23
authored
4 years ago
by
Loïc Correnson
Committed by
Andre Maroneze
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[wp] fix why3 configuration issues
parent
9196bfac
No related branches found
No related tags found
1 merge request
!3
Fixed a semantic error concerning ISO C99 Uninitialized Value Undefined Behaviour in Eva main manual
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/wp/configure.ac
+10
-11
10 additions, 11 deletions
src/plugins/wp/configure.ac
with
10 additions
and
11 deletions
src/plugins/wp/configure.ac
+
10
−
11
View file @
29b8ec23
...
...
@@ -56,23 +56,22 @@ REQUIRE_WHY3=
USE_WHY3=
HAS_WHY3=
AC_MSG_CHECKING(
for
why3
(>= 1.3.1)
)
AC_MSG_CHECKING(why3
version
)
WHY3VERSION=`ocamlfind query -format %v why3 | tr -d '\\r\\n'`
case $WHY3VERSION in
0.* | 1.[[012]].* | 1.3.0)
AC_MSG_ERROR(found why3 $WHY3VERSION: requires 1.3.1 or higher.);;
AC_MSG_RESULT([found $WHY3VERSION: requires 1.3.1+])
plugin_disable(wp,[non-supported why3 $WHY3VERSION])
;;
1.3.*)
AC_MSG_RESULT([found $WHY3VERSION: ok])
;;
*)
AC_MSG_RESULT(found $WHY3VERSION: should work);;
AC_MSG_RESULT([found $WHY3VERSION: should work but prefer 1.3.x])
;;
esac
WHY3_PATH=`ocamlfind query why3 | tr -d '\\r\\n'`
WHY3PATH_FOR_CONFIGURE=$WHY3_PATH
configure_library([WHY3],
[$WHY3PATH_FOR_CONFIGURE/why3.$LIB_SUFFIX],
[$WHY3PATH_FOR_CONFIGURE/why3.$LIB_SUFFIX not found.],
no)
configure_pkg(why3,[package why3 not found])
plugin_require_external(wp,why3)
...
...
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