discuss-gnustep
[Top][All Lists]
Advanced

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

why GNUSTEP_CONFIG_FIL doesn't work?


From: Lloyd Dupont
Subject: why GNUSTEP_CONFIG_FIL doesn't work?
Date: Fri, 2 Dec 2005 17:00:29 +1000

Trying to understand why GNUSTEP_CONFIG_FILE is ignored and it's always the default value which is used I modified
NMPathUtilities.m:405 (in GNUstepConfig) as follows:
===============
printf("I will get an opportunity\n");
#if !OPTION_NO_ENVIRONMENT
      file = [[[NSProcessInfo processInfo] environment]
 objectForKey: @"GNUSTEP_CONFIG_FILE"];
printf("config file is: %s\n", [file cString]);
#endif
printf("did I used it?\n");
===============

And the  output was:
===============
I will get an opportunity
did I used it?
Configuration contains unknown keys - (CRASH_ON_ABORT)
I will get an opportunity
did I used it?
===============
(BTW you could see that CRASH_ON_ABORT, in the standart config files, is NOT understood).

So now I wonder how come OPTION_NO_ENVIRONMENT is set in the default build parameters? (as I said I follows these direction: http://wwwmain.gnustep.org/resources/documentation/User/GNUstep/README.MinGW and the only non-default parameter was --disable-xml I passed to configure for GNUstep/base)

I will do some find/grep to attempt to find where it is set... :-/

NOTE: it's CVS fresh from this morning again.....




reply via email to

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