Changeset 4007 for trunk/integration

Show
Ignore:
Timestamp:
01/02/08 09:22:12 (12 months ago)
Author:
pmoura
Message:

Updated the SWI-Prolog integration script to test for the availability of the XPCE library before trying to load the "xpcehook.pl" XPCE hook file.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/integration/logtalk_swi.pl

    r4000 r4007  
    1414:- consult('$LOGTALKUSER/libpaths/libpaths.pl'). 
    1515:- consult('$LOGTALKUSER/configs/swihook.pl'). 
    16 :- consult('$LOGTALKUSER/configs/xpcehook.pl'). 
     16:- absolute_file_name(library(pce), _, [file_type(prolog), access(read), file_errors(fail)]) -> consult('$LOGTALKUSER/configs/xpcehook.pl'); true.