make sure environment variables are consulted first.
This commit is contained in:
parent
e92107e4cc
commit
e4f3a127e0
@ -878,11 +878,10 @@ absolute_file_name(File,Opts,TrueFileName) :-
|
|||||||
|
|
||||||
'$system_library_directories'(Dir) :-
|
'$system_library_directories'(Dir) :-
|
||||||
getenv('YAPSHAREDIR', Dir).
|
getenv('YAPSHAREDIR', Dir).
|
||||||
'$system_library_directories'(Dir) :-
|
|
||||||
get_value(system_library_directory,Dir).
|
|
||||||
|
|
||||||
'$system_library_directories'(Dir) :-
|
'$system_library_directories'(Dir) :-
|
||||||
getenv('YAPCOMMONSDIR', Dir).
|
getenv('YAPCOMMONSDIR', Dir).
|
||||||
|
'$system_library_directories'(Dir) :-
|
||||||
|
get_value(system_library_directory,Dir).
|
||||||
'$system_library_directories'(Dir) :-
|
'$system_library_directories'(Dir) :-
|
||||||
get_value(prolog_commons_directory,Dir).
|
get_value(prolog_commons_directory,Dir).
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ lists:member(X,[_|L]) :-
|
|||||||
|
|
||||||
:- ['protect.yap'].
|
:- ['protect.yap'].
|
||||||
|
|
||||||
version(yap,[5,1]).
|
version(yap,[6,0]).
|
||||||
|
|
||||||
system_mode(verbose,on) :- set_value('$verbose',on).
|
system_mode(verbose,on) :- set_value('$verbose',on).
|
||||||
system_mode(verbose,off) :- set_value('$verbose',off).
|
system_mode(verbose,off) :- set_value('$verbose',off).
|
||||||
|
Reference in New Issue
Block a user