[GIT] ppl/ppl(master): On Windows, the console version of SWI-Prolog is called `plcon'.

Module: ppl/ppl Branch: master Commit: 272435922ed60b06c8df3928f4b1cf3de0bdbf32 URL: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=272435922ed60...
Author: Roberto Bagnara bagnara@cs.unipr.it Date: Tue Jul 28 14:30:07 2009 +0200
On Windows, the console version of SWI-Prolog is called `plcon'.
---
m4/ac_check_swi_prolog.m4 | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/m4/ac_check_swi_prolog.m4 b/m4/ac_check_swi_prolog.m4 index 4ca9955..980be43 100644 --- a/m4/ac_check_swi_prolog.m4 +++ b/m4/ac_check_swi_prolog.m4 @@ -24,7 +24,8 @@ AC_DEFUN([AC_CHECK_SWI_PROLOG], [ dnl By default, SWI-Prolog is installed as `pl', though some administrators dnl call it `swipl' or `swi-prolog'. In particular, on Mac OS X `pl' is -dnl the name of another program. +dnl the name of another program. On Windows, the console version of +dnl SWI-Prolog is called `plcon'. AC_PATH_PROG(swi_prolog, swi-prolog) if test -z $swi_prolog then @@ -32,6 +33,10 @@ then if test -z $swi_prolog then AC_PATH_PROG(swi_prolog, pl) + if test -z $swi_prolog + then + AC_PATH_PROG(swi_prolog, plcon) + fi fi fi if test x$swi_prolog != x
participants (1)
-
Roberto Bagnara