Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cppo detection in configure #3915

Merged
merged 2 commits into from
Jul 4, 2019
Merged

Fix cppo detection in configure #3915

merged 2 commits into from
Jul 4, 2019

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Jul 3, 2019

This is a cosmetic change, since cppo is a dependency of several of opam's dependencies, but opam checks for the cppo ocamlfind package, rather than the cppo tool itself. This works fine on an opam installation, owing to ocaml/dune#2353, but fails on Debian, where the cppo package (correctly) does not install a META file.

With this change, ./configure now doesn't display the "run make lib-ext" message because of a missing cppo package. I have changed the detection to look at $CPPO, but this is academic since several of the libraries depend on cppo.

This is for master and 2.0

@rjbou
Copy link
Collaborator

rjbou commented Jul 4, 2019

lgtm!

@AltGr AltGr merged commit 87059cc into ocaml:master Jul 4, 2019
@dra27 dra27 deleted the fix-cppo branch July 4, 2019 16:10
dra27 pushed a commit to dra27/opam that referenced this pull request Jul 4, 2019
Fix cppo detection in configure

(cherry picked from commit 87059cc)
AltGr added a commit that referenced this pull request Jul 5, 2019
Merge pull request #3915 from dra27/fix-cppo
@rjbou rjbou modified the milestones: 2.1.0, 2.0.5 Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants