annotate magnatune/sparql-archived/SeRQL/configure.in @ 27:d95e683fbd35 tip

Enable CORS on urispace redirects as well
author Chris Cannam
date Tue, 20 Feb 2018 14:52:02 +0000
parents df9685986338
children
rev   line source
Chris@0 1 dnl Process this file with autoconf to produce a configure script.
Chris@0 2
Chris@0 3 AC_INIT(install-sh)
Chris@0 4
Chris@0 5 AC_SUBST(PL)
Chris@0 6 AC_SUBST(PLBASE)
Chris@0 7 AC_SUBST(PLARCH)
Chris@0 8
Chris@0 9 # Do not cache this, it changes too often in many configurations
Chris@0 10 unset ac_cv_prog_PL
Chris@0 11
Chris@0 12 if test -z "$PLINCL"; then
Chris@0 13 plcandidates="swi-prolog swipl pl"
Chris@0 14 AC_CHECK_PROGS(PL, $plcandidates, "none")
Chris@0 15 if test $PL = "none"; then
Chris@0 16 AC_ERROR("Cannot find SWI-Prolog. SWI-Prolog must be installed first")
Chris@0 17 else
Chris@0 18 AC_CHECKING("Running $PL -dump-runtime-variables")
Chris@0 19 eval `$PL -dump-runtime-variables`
Chris@0 20 fi
Chris@0 21 AC_MSG_RESULT(" PLBASE=$PLBASE")
Chris@0 22 AC_MSG_RESULT(" PLARCH=$PLARCH")
Chris@0 23 fi
Chris@0 24
Chris@0 25 AC_CHECK_PROGS(MAKE, gmake make, "make")
Chris@0 26 AC_PROG_INSTALL
Chris@0 27
Chris@0 28 AC_OUTPUT(Makefile)