Re: Git 2.18: RUNTIME_PREFIX... is it working?
- Date: Thu, 05 Jul 2018 11:36:38 -0400
- From: Paul Smith <paul@xxxxxxxxxxxxxxxxx>
- Subject: Re: Git 2.18: RUNTIME_PREFIX... is it working?
On Wed, 2018-07-04 at 13:22 +0200, Johannes Schindelin wrote:
> > Basically what happens is that I run configure with
> > --prefix=/my/install/path --with-gitconfig=etc/gitconfig
> > --with-gitattributes=etc/gitattributes.
> > Then I run make with RUNTIME_PREFIX=YesPlease.
> Ah. In Git for Windows, we do not use configure. I *think* this
> points to an incompatibility of the RUNTIME_PREFIX feature with our
> autoconf support, and this is a grand opportunity for you to step in
> and help.
> Essentially, what you will want to do is to implement a new configure
> option --with-runtime-prefix that then prevents the autoconf script
> from munging the relative paths in the way it does.
FYI I was able to get this to work by overriding variables on the make
command line, like this:
make ... RUNTIME_PREFIX=YesPlease \
I agree a new autoconf option would be much simpler to use. I'll think
about it as I happen to have some some experience in these areas ;) ...
but time is limited of course :).