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

Support out of tree builds with autotools build system #9

Open
mstewartgallus opened this issue Nov 24, 2013 · 2 comments
Open

Support out of tree builds with autotools build system #9

mstewartgallus opened this issue Nov 24, 2013 · 2 comments

Comments

@mstewartgallus
Copy link

Mercury should support out of tree builds with the autotools build system where the build is separate from the source tree. The first issue I could see blocking this is that on line 204 of configure.ac there is the command . ./VERSION. This should be replaced by something like . "${srcdir}/VERSION". I am using the 13.05.1 release.

@PaulBone
Copy link
Member

Thanks Steven

This is a feature that I've wanted for a while, so I certainly agree that it
should be there and we should make some effort. Thanks for taking a quick
look but I suspect it will take a lot of work to make this happen. I'll
leave the ticket open and hopefully someone will have the time to work on
this.

Thanks.

@juliensf
Copy link
Member

Actually, the first issue will be line 103, which contains:

AC_PREFIX_DEFAULT(/usr/local/mercury-. ./VERSION; echo $VERSION)

This is more problematic than the instance at line 204 because at that point in the
generated configure script the srcdir variable is not defined.

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

No branches or pull requests

3 participants