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
f745f95d
Commit
f745f95d
authored
8 years ago
by
Andre Maroneze
Browse files
Options
Downloads
Patches
Plain Diff
[configure] simplify checking of zarith
parent
5bf88930
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
configure.in
+6
-27
6 additions, 27 deletions
configure.in
with
6 additions
and
27 deletions
configure.in
+
6
−
27
View file @
f745f95d
...
@@ -272,34 +272,13 @@ esac
...
@@ -272,34 +272,13 @@ esac
# zarith
# zarith
########
########
AC_ARG_ENABLE(
AC_MSG_CHECKING(for zarith)
zarith,
[ --enable-zarith=<dir> use ZArith library],
ZARITH=$($OCAMLFIND query zarith -format %v)
ZARITH_PATH=$enableval,)
if test -z "$ZARITH" ; then
AC_MSG_ERROR(Cannot find zarith via ocamlfind.)
AC_MSG_CHECKING(for Zarith)
if test -z "$ZARITH_PATH"; then
# standard installation procedure of zarith diverges according to
# ocamlfind installation (see zarith's README)
ZARITH_PATH=$($OCAMLFIND query zarith 2>/dev/null | tr -d '\r\n')
if test -z "$ZARITH_PATH"; then
HAS_ZARITH="no";
else
HAS_ZARITH="yes";
fi;
if test "$HAS_ZARITH" = "no"; then
AC_MSG_ERROR(Zarith not found but required by Frama-C)
else
AC_MSG_RESULT(found)
fi
else
else
AC_CHECK_FILE($ZARITH_PATH/zarith.$LIB_SUFFIX,HAS_ZARITH=yes,HAS_ZARITH=no)
AC_MSG_RESULT(found)
if test "$HAS_ZARITH" = "no"; then
AC_MSG_ERROR(Zarith: file $ZARITH_PATH/zarith.$LIB_SUFFIX not found.)
else
AC_MSG_RESULT(found)
fi
fi
fi
# apron
# apron
...
...
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