Skip to content

Commit

Permalink
Check for spdx_licenses in configure
Browse files Browse the repository at this point in the history
Vendored build not enabled if it's missing.
  • Loading branch information
dra27 committed Sep 17, 2021
1 parent adbe57b commit 72c6fae
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ AC_CHECK_OCAML_PKG([cudf])
AC_CHECK_OCAML_PKG(dose3.common,dose.common)
AC_CHECK_OCAML_PKG(dose3.algo,dose.algo)
AC_CHECK_OCAML_PKG([opam-file-format])
AC_CHECK_OCAML_PKG([spdx_licenses])
AC_CHECK_OCAML_PKG([mccs])
AC_CHECK_OCAML_PKG([opam-0install-cudf])

Expand Down Expand Up @@ -396,6 +397,7 @@ AS_IF([test "x${enable_checks}" != "xno" && {
test "x$OCAML_PKG_cudf" = "xno" ||
test "x$OCAML_PKG_dose3_common" = "xno" ||
test "x$OCAML_PKG_opam_file_format" = "xno" ||
test "x$OCAML_PKG_spdx_licenses" = "xno" ||
test "x$CPPO" = "x" ||
test "x$OCAML_PKG_mccs$MCCS_ENABLED" = "xnotrue" ||
test "x$OCAML_PKG_opam_0install_cudf$OPAM_0INSTALL_SOLVER_ENABLED" = "xnotrue";}],[
Expand Down
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ users)
* Use `--without-dune` in `make cold` to avoid picking up external Dune [#4776 @dra27 - fix #3987]
* Add `--with-vendored-deps` to replace `make lib-ext` instruction [#4776 @dra27 - fix #4772]
* Fix vendored build on mingw-w64 with g++ 11.2 [#4835 @dra27]
* Switch to vendored build if spdx_licenses is missing [#4842 @dra27]

## Infrastructure
*
Expand Down

0 comments on commit 72c6fae

Please sign in to comment.