[OGo-GNUstep-Port] Re: Patches

Helge Hess gnustep-port@opengroupware.org
Wed, 23 Jul 2003 12:26:59 +0200


On Mittwoch, 23. Juli 2003, at 12:25 Uhr, Nicola Pero wrote:
>> [...]                                 What I really need is a compile
>> time flag which tells me, whether the produced executable shall use 
>> the
>> GNUstep environment for resource discovery.
>
> What about using intelligently
> NSSearchPathForDirectoriesInDomains()
> to locate resources to load.

libFoundation doesn't have that yet. But I think it isn't sufficient 
anyway. Eg config files are usually stored in GNUSTEP_USER_ROOT if 
available, instead of ~home to be able to host two completely separate 
OGo trees (required for ASP installations).

IMHO this information should be made available. Eg it's also useful for 
C-tools, which do not use Foundation, but still run in the GNUstep 
environment.

regards,
   Helge
-- 
OpenGroupware.org	- http://www.opengroupware.org/