root/tags/lgt2311/integration/logtalk_swi.pl

Revision 4007, 0.6 KB (checked in by pmoura, 12 months ago)

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.

  • Property svn:eol-style set to native
Line 
1
2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3%
4%  Logtalk - Open source object-oriented logic programming language
5%  Release 2.31.1
6%
7%  Copyright (c) 1998-2008 Paulo Moura.  All Rights Reserved.
8%
9%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10
11
12:- consult('$LOGTALKUSER/configs/swi.config').
13:- consult('$LOGTALKHOME/integration/logtalk_comp_swi.pl').
14:- consult('$LOGTALKUSER/libpaths/libpaths.pl').
15:- consult('$LOGTALKUSER/configs/swihook.pl').
16:- absolute_file_name(library(pce), _, [file_type(prolog), access(read), file_errors(fail)]) -> consult('$LOGTALKUSER/configs/xpcehook.pl'); true.
Note: See TracBrowser for help on using the browser.