compile prism.
This commit is contained in:
parent
ae29efec0c
commit
244cb3d17c
@ -709,6 +709,7 @@ all: startup.yss
|
|||||||
@ENABLE_CPLINT@ (cd packages/cplint/approx/simplecuddLPADs; $(MAKE))
|
@ENABLE_CPLINT@ (cd packages/cplint/approx/simplecuddLPADs; $(MAKE))
|
||||||
@ENABLE_CPLINT@ (cd packages/cplint; $(MAKE))
|
@ENABLE_CPLINT@ (cd packages/cplint; $(MAKE))
|
||||||
@ENABLE_CPLINT@ (cd packages/cplint/slipcase; $(MAKE))
|
@ENABLE_CPLINT@ (cd packages/cplint/slipcase; $(MAKE))
|
||||||
|
@ENABLE_PRISM@ (cd packages/prism/src/c; $(MAKE))
|
||||||
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd; $(MAKE))
|
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd; $(MAKE))
|
||||||
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd_lfi; $(MAKE))
|
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd_lfi; $(MAKE))
|
||||||
@ENABLE_JPL@ @INSTALL_DLLS@ (cd packages/jpl; $(MAKE))
|
@ENABLE_JPL@ @INSTALL_DLLS@ (cd packages/jpl; $(MAKE))
|
||||||
@ -785,6 +786,8 @@ install_unix: startup.yss libYap.a
|
|||||||
$(INSTALL) YapTermConfig.h $(DESTDIR)$(INCLUDEDIR)
|
$(INSTALL) YapTermConfig.h $(DESTDIR)$(INCLUDEDIR)
|
||||||
@ENABLE_CPLINT@ (cd packages/cplint; $(MAKE) install)
|
@ENABLE_CPLINT@ (cd packages/cplint; $(MAKE) install)
|
||||||
@ENABLE_CPLINT@ (cd packages/cplint/approx/simplecuddLPADs; $(MAKE) install)
|
@ENABLE_CPLINT@ (cd packages/cplint/approx/simplecuddLPADs; $(MAKE) install)
|
||||||
|
@ENABLE_PRISM@ (cd packages/prism/src/c; $(MAKE) install)
|
||||||
|
@ENABLE_PRISM@ (cd packages/prism/src/prolog; $(MAKE) install)
|
||||||
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd; $(MAKE) install)
|
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd; $(MAKE) install)
|
||||||
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd_lfi; $(MAKE) install)
|
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd_lfi; $(MAKE) install)
|
||||||
|
|
||||||
@ -835,6 +838,8 @@ install_win32: startup.yss @ENABLE_WINCONSOLE@ pl-yap@EXEC_SUFFIX@
|
|||||||
@ENABLE_JPL@ (cd packages/jpl ; $(MAKE) install)
|
@ENABLE_JPL@ (cd packages/jpl ; $(MAKE) install)
|
||||||
@ENABLE_MINISAT@ (cd packages/swi-minisat2/C; $(MAKE) install)
|
@ENABLE_MINISAT@ (cd packages/swi-minisat2/C; $(MAKE) install)
|
||||||
@ENABLE_CPLINT@ (cd packages/cplint; $(MAKE) install)
|
@ENABLE_CPLINT@ (cd packages/cplint; $(MAKE) install)
|
||||||
|
@ENABLE_PRISM@ (cd packages/prism/src/c; $(MAKE) install)
|
||||||
|
@ENABLE_PRISM@ (cd packages/prism/src/prolog; $(MAKE) install)
|
||||||
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd; $(MAKE) install)
|
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd; $(MAKE) install)
|
||||||
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd_lfi; $(MAKE) install)
|
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd_lfi; $(MAKE) install)
|
||||||
|
|
||||||
@ -894,6 +899,8 @@ clean: clean_docs
|
|||||||
@ENABLE_MINISAT@ (cd packages/swi-minisat2; $(MAKE) clean)
|
@ENABLE_MINISAT@ (cd packages/swi-minisat2; $(MAKE) clean)
|
||||||
@ENABLE_CLPBN_BP@ (cd packages/CLPBN/clpbn/bp; $(MAKE) clean)
|
@ENABLE_CLPBN_BP@ (cd packages/CLPBN/clpbn/bp; $(MAKE) clean)
|
||||||
@ENABLE_ZLIB@ @INSTALL_DLLS@ (cd packages/zlib; $(MAKE) clean)
|
@ENABLE_ZLIB@ @INSTALL_DLLS@ (cd packages/zlib; $(MAKE) clean)
|
||||||
|
@ENABLE_PRISM@ (cd packages/prism/src/c; $(MAKE) clean)
|
||||||
|
@ENABLE_PRISM@ (cd packages/prism/src/prolog; $(MAKE) clean)
|
||||||
@ENABLE_CPLINT@ (cd packages/cplint/approx/simplecuddLPADs; $(MAKE) clean)
|
@ENABLE_CPLINT@ (cd packages/cplint/approx/simplecuddLPADs; $(MAKE) clean)
|
||||||
@ENABLE_CPLINT@ (cd packages/cplint; $(MAKE) clean)
|
@ENABLE_CPLINT@ (cd packages/cplint; $(MAKE) clean)
|
||||||
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd; $(MAKE) clean)
|
@ENABLE_CUDD@ (cd packages/ProbLog/simplecudd; $(MAKE) clean)
|
||||||
|
18
configure
vendored
18
configure
vendored
@ -615,6 +615,7 @@ IN_SWI
|
|||||||
IN_YAP
|
IN_YAP
|
||||||
PROLOG_SYSTEM
|
PROLOG_SYSTEM
|
||||||
M4GENABSMI
|
M4GENABSMI
|
||||||
|
INSTALL_PRISM
|
||||||
MATLAB_INCLUDE
|
MATLAB_INCLUDE
|
||||||
INSTALL_MATLAB
|
INSTALL_MATLAB
|
||||||
EXTRA_LIBS_FOR_R
|
EXTRA_LIBS_FOR_R
|
||||||
@ -790,6 +791,7 @@ enable_max_memory
|
|||||||
enable_debug_yap
|
enable_debug_yap
|
||||||
enable_eam
|
enable_eam
|
||||||
enable_cygwin
|
enable_cygwin
|
||||||
|
enable_prism
|
||||||
enable_dynamic_loading
|
enable_dynamic_loading
|
||||||
enable_static_compilation
|
enable_static_compilation
|
||||||
enable_use_malloc
|
enable_use_malloc
|
||||||
@ -1463,6 +1465,7 @@ Optional Features:
|
|||||||
--enable-debug-yap enable C-debugging for YAP
|
--enable-debug-yap enable C-debugging for YAP
|
||||||
--enable-eam enable EAM on YAP
|
--enable-eam enable EAM on YAP
|
||||||
--enable-cygwin use cygwin library in WIN32
|
--enable-cygwin use cygwin library in WIN32
|
||||||
|
--enable-prism use PRISM system in YAP
|
||||||
--enable-dynamic-loading compile YAP as a DLL
|
--enable-dynamic-loading compile YAP as a DLL
|
||||||
--enable-static-compilation compile YAP statically
|
--enable-static-compilation compile YAP statically
|
||||||
--enable-use-malloc use malloc to allocate memory
|
--enable-use-malloc use malloc to allocate memory
|
||||||
@ -4486,6 +4489,13 @@ else
|
|||||||
cygwin=no
|
cygwin=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check whether --enable-prism was given.
|
||||||
|
if test "${enable_prism+set}" = set; then :
|
||||||
|
enableval=$enable_prism; prism="$enableval"
|
||||||
|
else
|
||||||
|
prism=yes
|
||||||
|
fi
|
||||||
|
|
||||||
# Check whether --enable-dynamic_loading was given.
|
# Check whether --enable-dynamic_loading was given.
|
||||||
if test "${enable_dynamic_loading+set}" = set; then :
|
if test "${enable_dynamic_loading+set}" = set; then :
|
||||||
enableval=$enable_dynamic_loading; dynamic_loading="$enableval"
|
enableval=$enable_dynamic_loading; dynamic_loading="$enableval"
|
||||||
@ -4922,6 +4932,13 @@ _ACEOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if test "$yap_cv_prism" = no
|
||||||
|
then
|
||||||
|
INSTALL_PRISM="@# "
|
||||||
|
else
|
||||||
|
INSTALL_PRISM=""
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$yap_cv_matlab" = no
|
if test "$yap_cv_matlab" = no
|
||||||
then
|
then
|
||||||
INSTALL_MATLAB="@# "
|
INSTALL_MATLAB="@# "
|
||||||
@ -8784,6 +8801,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc threaded code" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc threaded code" >&5
|
||||||
|
11
configure.in
11
configure.in
@ -153,6 +153,9 @@ AC_ARG_ENABLE(eam,
|
|||||||
AC_ARG_ENABLE(cygwin,
|
AC_ARG_ENABLE(cygwin,
|
||||||
[ --enable-cygwin use cygwin library in WIN32 ],
|
[ --enable-cygwin use cygwin library in WIN32 ],
|
||||||
cygwin="$enableval", cygwin=no)
|
cygwin="$enableval", cygwin=no)
|
||||||
|
AC_ARG_ENABLE(prism,
|
||||||
|
[ --enable-prism use PRISM system in YAP ],
|
||||||
|
prism="$enableval", prism=yes)
|
||||||
AC_ARG_ENABLE(dynamic_loading,
|
AC_ARG_ENABLE(dynamic_loading,
|
||||||
[ --enable-dynamic-loading compile YAP as a DLL ],
|
[ --enable-dynamic-loading compile YAP as a DLL ],
|
||||||
dynamic_loading="$enableval", dynamic_loading=no)
|
dynamic_loading="$enableval", dynamic_loading=no)
|
||||||
@ -453,6 +456,13 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if test "$yap_cv_prism" = no
|
||||||
|
then
|
||||||
|
INSTALL_PRISM="@# "
|
||||||
|
else
|
||||||
|
INSTALL_PRISM=""
|
||||||
|
fi
|
||||||
|
|
||||||
dnl condor does not like dynamic linking on Linux, DEC, and HP-UX platforms.
|
dnl condor does not like dynamic linking on Linux, DEC, and HP-UX platforms.
|
||||||
if test "$yap_cv_matlab" = no
|
if test "$yap_cv_matlab" = no
|
||||||
then
|
then
|
||||||
@ -1711,6 +1721,7 @@ AC_SUBST(YAPR_INCLUDES)
|
|||||||
AC_SUBST(EXTRA_LIBS_FOR_R)
|
AC_SUBST(EXTRA_LIBS_FOR_R)
|
||||||
AC_SUBST(INSTALL_MATLAB)
|
AC_SUBST(INSTALL_MATLAB)
|
||||||
AC_SUBST(MATLAB_INCLUDE)
|
AC_SUBST(MATLAB_INCLUDE)
|
||||||
|
AC_SUBST(INSTALL_PRISM)
|
||||||
|
|
||||||
dnl check for threaded code
|
dnl check for threaded code
|
||||||
AC_MSG_CHECKING(for gcc threaded code)
|
AC_MSG_CHECKING(for gcc threaded code)
|
||||||
|
Reference in New Issue
Block a user