Requiring delegates during automatic build
Posted: 2015-03-14T15:02:56-07:00
Hey folks.
I've written a build script for IM on our Unix-based app. Works fine.
A colleague recently tried building the app, and IM installed fine for him as well. But he was missing a couple of delegates, and later tests failed due to that.
Is there a way of specifying, during configure, that certain delegates *must* be present in order to continue?
I'd much rather have it fail loudly.
Other than parsing the output of configure, I'm not sure how to do it. I tried adding '--with-jpeg=yes' and such, but configure seems to just switch it off if the delegate isn't found.
I'd rather not specify specific library paths, if possible.
I've written a build script for IM on our Unix-based app. Works fine.
A colleague recently tried building the app, and IM installed fine for him as well. But he was missing a couple of delegates, and later tests failed due to that.
Is there a way of specifying, during configure, that certain delegates *must* be present in order to continue?
I'd much rather have it fail loudly.
Other than parsing the output of configure, I'm not sure how to do it. I tried adding '--with-jpeg=yes' and such, but configure seems to just switch it off if the delegate isn't found.
I'd rather not specify specific library paths, if possible.