Re: [PATCH] Honor sysconfdir when set as an configure option
- From
- Kacper Kornet <kornet@camk.edu.pl>
- Date
- Apr 28, 2011, 21:22 UTC
- Message-ID
- <20110428212218.GG4833@camk.edu.pl>
- In-Reply-To
- <7vzkna2ika.fsf@alter.siamese.dyndns.org>
On Thu, Apr 28, 2011 at 02:05:09PM -0700, Junio C Hamano wrote:
> Kacper Kornet <kornet@camk.edu.pl> writes:
> > ./configure can be run with option --sysconfdir=... > > and Makefile should respect that choice.
> Thanks. That statement is not wrong per-se, but your patch will result in > git_etcdir always set to the same as $(sysconfdir) that is an absolute > path, which in turn would mean that the build product with prefix set to > something other than /usr won't relocate well, no?
Only when ./configure is used. But autotools do not support relative paths, as far as I know. When autotools are not used, it is still possible to have relative path in git_etcdir.
-- Kacper Kornet