It is not valid to place AM_CONDITIONAL
s inside a shell condition, because Automake has to known its value in all cases. Automake is smart enough to detect it if used in a AutoShell conditional (like AS_IF
/AS_CASE
/...), but can't work any magic inside a pure shell conditional (if/case/...). So, move the AM_CONDITIONAL
outside the conditional, as the value is already conditional anyway.
This PR also cleans up the conditional a little bit by giving it a plugin-specific name, and removing irrelevant test fro the condition (whether or not the plugin is enabled has little to no relevance here, and the plugin won't be built anyway).
https://github.com/geany/geany-plugins/pull/787
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.