This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/sgml/RDF/configure.in
2009-03-13 19:39:06 +00:00

33 lines
743 B
Plaintext

dnl Process this file with autoconf to produce a configure script.
AC_INIT(install-sh)
AC_PREREQ([2.50])
AC_CONFIG_HEADER(config.h)
AC_SUBST(PL)
AC_SUBST(PLBASE)
AC_SUBST(PLARCH)
# Do not cache this, it changes too often in many configurations
unset ac_cv_prog_PL
if test -z "$PLINCL"; then
plcandidates="swi-prolog swipl pl"
AC_CHECK_PROGS(PL, $plcandidates, "none")
if test $PL = "none"; then
AC_ERROR("Cannot find SWI-Prolog. SWI-Prolog must be installed first")
else
AC_CHECKING("Running $PL -dump-runtime-variables")
eval `$PL -dump-runtime-variables`
fi
AC_MSG_RESULT(" PLBASE=$PLBASE")
AC_MSG_RESULT(" PLARCH=$PLARCH")
else
PL=../../pl.sh
fi
AC_CHECK_PROGS(MAKE, gmake make, "make")
AC_PROG_INSTALL
AC_OUTPUT(Makefile)