Revision c2db548b
Added by Christophe Garion over 5 years ago
configure.ac | ||
---|---|---|
61 | 61 |
) |
62 | 62 |
AC_MSG_RESULT(yes) |
63 | 63 |
|
64 |
#Yojson |
|
65 |
AC_MSG_CHECKING(yojson library (optional)) |
|
66 |
AS_IF([ocamlfind query yojson >/dev/null 2>&1], |
|
67 |
[yojson=yes; AC_MSG_RESULT(yes)],[yojson=no; AC_MSG_WARN(Yojson required for lustresf. opam install yojson should solve the issue)], |
|
68 |
) |
|
69 |
|
|
70 | 64 |
# Salsa |
71 | 65 |
AC_ARG_ENABLE(salsa, [AS_HELP_STRING([--disable-salsa], |
72 | 66 |
[disable Salsa plugin. Enabled by default if available.])]) |
... | ... | |
104 | 98 |
lustresf=/dev/null |
105 | 99 |
lustresf_src=/dev/null |
106 | 100 |
|
107 |
AS_IF([test "x$enable_lustresf" != "xno" -a "x$yojson" = "xyes"], [ |
|
101 |
AS_IF([test "x$enable_lustresf" != "xno"], [ |
|
102 |
AC_MSG_CHECKING(yojson library for lustresf) |
|
103 |
AS_IF([ocamlfind query yojson >/dev/null 2>&1], |
|
104 |
[yojson=yes; AC_MSG_RESULT(yes)],[yojson=no; AC_MSG_ERROR(Yojson required for lustresf. opam install yojson should solve the issue)], |
|
105 |
) |
|
108 | 106 |
lustresf=Makefile-lustresf.in |
109 | 107 |
lustresf_src=src/Makefile-lustresf.in |
110 | 108 |
AC_SUBST(lustresf_target, "lustresf") |
Also available in: Unified diff
install of yojson depends on lustresf in configure now