From 0c807cce60341e98126b4d834e6fbda97b216af6 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Wed, 15 Aug 2007 23:25:03 +0000 Subject: * configure.ac.pamphlet: Check GCL tarball dependency. * configure.in: Regenerate. --- configure.ac.pamphlet | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'configure.ac.pamphlet') diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet index b17e3cd3..61011e4b 100644 --- a/configure.ac.pamphlet +++ b/configure.ac.pamphlet @@ -753,8 +753,14 @@ Do we need to build our own version of \Tool{GCL}? The answer is yes, if \end{itemize} Consequently, we need to check for \Tool{GCL}: <>= -## We need to build our own GCL is none is avalaible +## We need to build our own GCL if none is avalaible if test -z $axiom_lisp; then + ## A lisp may not be available AND the GCL source may also + ## be missing. Instruct user to either build one or get + ## the dependencies from our website. + if test ! -d ${srcdir}/gcl; then + AC_MSG_ERROR([OpenAxiom needs GCL. Either separately build one, or get the dependency tarball from OpenAxiom website.]) + fi AC_PATH_PROG([AXIOM_LISP], [gcl]) axiom_lisp=$AXIOM_LISP else @@ -782,6 +788,11 @@ case $axiom_include_gcl,$axiom_lisp in ## No Lisp image was specified and none was available from ## the build environment; build GCL from OpenAxiom source. + ## User may explicilty specify --enable-gcl, but may be missing + ## the dependency tarball. + if test ! -d ${srcdir}/gcl; then + AC_MSG_ERROR([The OpenAxiom dependency tarball is missing; please get it from our website.]) + fi AXIOM_LISP='$(axiom_build_bindir)/gcl' axiom_all_prerequisites="$axiom_all_prerequisites all-gcl" axiom_include_gcl=yes -- cgit v1.2.3