On Thu, May 05, 2005 at 06:46:06PM +0200, Michael Sperber wrote:
> You can have on of the following two:
>
> 1. Always find scheme48.h at the same location, and thus making it easy
> to find.
> 2. Distinguish the scheme48.h files for the various versions of Scheme
> 48 / scsh.
> scsh-config / scheme48-config gives you the possibility to have #2
> while easily specifying a default scheme48.h.
> Of course, I wish C's #include mechanism had some kind of versioning
> (like shared libraries), but it doesn't. This makes #include
> <scheme48.h> too coarse, and #include <scheme48-1.3.h> impractical.
> I'd choose "too coarse" over "impractical."
OK. For Debian's purposes, we will stick s48's include files in
/usr/include/s{,cheme}48/
and the ones of scsh in
/usr/include/scsh-${VERSION_MAJOR}.${VERSION_MINOR}/
Debian users compiling s48 extensions will then explicitly add an -I
option to the CFLAGS, until the scheme48-config stuff gets sorted out.
We will support parallel installation of incompatible scsh versions
(e.g. 0.6 and 0.7), but maybe not of s48, until customising all the
paths and executable names becomes easier.
FYI, Debian 3.1 won't contain s48, nor the scsh install library, we
didn't make it. (It does contain scsh). The successor of 3.1 most
probably will have them both and maybe some other libraries /
programs.
Thank you for the discussion,
--
Lionel
|