Skip to content
Snippets Groups Projects
Commit 5c19e4f1 authored by Virgile Prevosto's avatar Virgile Prevosto Committed by Andre Maroneze
Browse files

[wp][config] check presence of why3 _before_ checking its version number

it's more logical that way.
parent 29b8ec23
No related branches found
No related tags found
1 merge request!3Fixed a semantic error concerning ISO C99 Uninitialized Value Undefined Behaviour in Eva main manual
...@@ -56,6 +56,8 @@ REQUIRE_WHY3= ...@@ -56,6 +56,8 @@ REQUIRE_WHY3=
USE_WHY3= USE_WHY3=
HAS_WHY3= HAS_WHY3=
configure_pkg(why3,[package why3 not found])
AC_MSG_CHECKING(why3 version) AC_MSG_CHECKING(why3 version)
WHY3VERSION=`ocamlfind query -format %v why3 | tr -d '\\r\\n'` WHY3VERSION=`ocamlfind query -format %v why3 | tr -d '\\r\\n'`
case $WHY3VERSION in case $WHY3VERSION in
...@@ -71,8 +73,6 @@ case $WHY3VERSION in ...@@ -71,8 +73,6 @@ case $WHY3VERSION in
;; ;;
esac esac
configure_pkg(why3,[package why3 not found])
plugin_require_external(wp,why3) plugin_require_external(wp,why3)
AC_SUBST(HAS_WHY3) AC_SUBST(HAS_WHY3)
......
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