Revision a1230f68
Added by Pierre-Loïc Garoche over 5 years ago
configure.ac | ||
---|---|---|
55 | 55 |
|
56 | 56 |
# Checks for libraries. |
57 | 57 |
# OCamlgraph |
58 |
AC_MSG_CHECKING(ocamlgraph library) |
|
59 |
AS_IF([ocamlfind query ocamlgraph >/dev/null 2>&1], |
|
60 |
[],[AC_MSG_ERROR(ocamlgraph required. opam install ocamlgraph should solve the issue)], |
|
61 |
) |
|
62 |
AC_MSG_RESULT(yes) |
|
63 |
|
|
64 |
# logging and command line librairies |
|
65 |
AC_MSG_CHECKING(cmdliner library) |
|
66 |
AS_IF([ocamlfind query cmdliner >/dev/null 2>&1], |
|
67 |
[],[AC_MSG_ERROR(cmdliner required. opam install cmdliner should solve the issue)], |
|
68 |
) |
|
69 |
AC_MSG_RESULT(yes) |
|
70 |
|
|
71 |
AC_MSG_CHECKING(fmt and logs library) |
|
72 |
AS_IF([ocamlfind query fmt logs >/dev/null 2>&1], |
|
73 |
[],[AC_MSG_ERROR(fmt and logs required. opam install fmt logs should solve the issue)], |
|
58 |
AC_MSG_CHECKING(ocaml libraries required) |
|
59 |
AS_IF([ocamlfind query ocamlgraph cmdliner fmt logs num >/dev/null 2>&1], |
|
60 |
[],[AC_MSG_ERROR(A few ocaml library required. opam install ocamlgraph cmdliner fmt logs num should solve the issue)], |
|
74 | 61 |
) |
75 | 62 |
AC_MSG_RESULT(yes) |
76 | 63 |
|
77 | 64 |
#Yojson |
78 |
AC_MSG_CHECKING(yojson library) |
|
65 |
AC_MSG_CHECKING(yojson library (optional))
|
|
79 | 66 |
AS_IF([ocamlfind query yojson >/dev/null 2>&1], |
80 | 67 |
[yojson=yes; AC_MSG_RESULT(yes)],[yojson=no; AC_MSG_WARN(Yojson required for lustresf. opam install yojson should solve the issue)], |
81 | 68 |
) |
... | ... | |
120 | 107 |
AS_IF([test "x$enable_lustresf" != "xno" -a "x$yojson" = "xyes"], [ |
121 | 108 |
lustresf=Makefile-lustresf.in |
122 | 109 |
lustresf_src=src/Makefile-lustresf.in |
110 |
AC_SUBST(lustresf_target, "lustresf") |
|
123 | 111 |
]) |
124 | 112 |
|
125 | 113 |
# Checking availability of path to regression tests |
Also available in: Unified diff
Solved issues with configure and ocaml libs dependencies