1 dnl Process this file with autoconf to produce a configure script.
4 AC_CONFIG_HEADER(config.h)
10 # Do not cache this, it changes too often in many configurations
13 if test -z "$PLINCL"; then
14 plcandidates="pl swipl swi-prolog"
15 AC_CHECK_PROGS(PL, $plcandidates, "none")
16 if test $PL = "none"; then
17 AC_ERROR("Cannot find SWI-Prolog. SWI-Prolog must be installed first")
19 AC_CHECKING("Running $PL -dump-runtime-variables")
20 eval `$PL -dump-runtime-variables`
22 AC_MSG_RESULT(" PLBASE=$PLBASE")
23 AC_MSG_RESULT(" PLARCH=$PLARCH")
28 AC_CHECK_PROGS(MAKE, gmake make, "make")