Skip to content

Fix USE_PERL option usage#3896

Merged
martin-frbg merged 1 commit intoOpenMathLib:developfrom
antonio-rojas:patch-1
Feb 2, 2023
Merged

Fix USE_PERL option usage#3896
martin-frbg merged 1 commit intoOpenMathLib:developfrom
antonio-rojas:patch-1

Conversation

@antonio-rojas
Copy link
Copy Markdown
Contributor

Once you define the USE_PERL variable it is always set as DEFINED regardless of its value. One should chack for the actual variable value.

Once you define the USE_PERL variable it is always set as DEFINED regardless of its value. One should chack for the actual variable value.
@martin-frbg
Copy link
Copy Markdown
Collaborator

Thanks, one more for the "nobody will ever set this to zero instead of leaving it unmentioned" gallery

@martin-frbg martin-frbg added this to the 0.3.22 milestone Feb 2, 2023
@antonio-rojas
Copy link
Copy Markdown
Contributor Author

It is already set to OFF a few lines above, so there is currently no way to reach the "no perl" code path

@martin-frbg
Copy link
Copy Markdown
Collaborator

Ah, ok, I'd wondered how I missed it - but in that case it was more like an overcorrection

@martin-frbg martin-frbg merged commit 6876360 into OpenMathLib:develop Feb 2, 2023
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.

2 participants