gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gforth] Handling of include file paths


From: Bernd Paysan
Subject: Re: [gforth] Handling of include file paths
Date: Sun, 02 Dec 2012 18:55:35 +0100
User-agent: KMail/4.8.5 (Linux/3.4.11-2.16-desktop; KDE/4.8.5; x86_64; ; )

Am Sonntag, 2. Dezember 2012, 17:46:03 schrieb David Kuehling:
> Hi,
> 
> I just found out that a Gforth installed in /usr/ does not by default
> search for include files from /usr/local/share/gforth/site-forth.  And
> on the other hand, a Gforth in /usr/local does not search for
> /usr/share/gforth/site-forth.
> 
> This is different from how the site-emacs directory is handled in
> Emacs.  It also makes it very difficult to package a forth program or
> library that correctly installs on 'make install'.
> 
> This forces me to install my forth library in a application-specific
> directory outside site-forth, adding a corresponding 'also-path' command
> in my scripts.
> 
> Where there any reasons for restricting the forth path in this way?

Well, we just use @datadir@ from autoconf to know where the data has been 
installed in.  Your suggestion would be to add /usr/share/site-forth/@package@ 
to the path if @datadir@ is /usr/local/share, and to add 
/usr/local/share/site-forth/@package@ if it is /usr/share?

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]