[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Include files relative to the current sour
From: |
Evan Hanson |
Subject: |
Re: [Chicken-hackers] [PATCH] Include files relative to the current source file |
Date: |
Sun, 29 May 2016 11:23:37 +1200 |
Hi John,
On 2016-05-28 11:51, John Cowan wrote:
> It seems to me that it should have the highest priority, so that if a
> specific version of some library code is packaged with the code, it
> will be used in preference to any installed version.
It will be preferred to the CHICKEN_REPOSITORY path, which is where
extensions typically install files and in fact isn't searched by
`include` at all. It's pretty unusual for an egg to put source files in
CHICKEN_HOME so that shouldn't really be a problem, but I definitely do
want the "-include-path" option to take precedence over relative
pathnames so the user can still control what gets included from the
command line if need be.
Cheers,
Evan