aboutsummaryrefslogtreecommitdiff
path: root/configure.ac.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac.pamphlet')
-rw-r--r--configure.ac.pamphlet5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet
index 927e158d..15ce0c60 100644
--- a/configure.ac.pamphlet
+++ b/configure.ac.pamphlet
@@ -766,13 +766,14 @@ Consequently, we need to check for \Tool{GCL}:
<<find lisp>>=
## We need to build our own GCL if none is avalaible
if test -z $axiom_lisp; then
+ AC_PATH_PROG([AXIOM_LISP], [gcl])
## 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
+ if test -z $AXIOM_LISP -a ! -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
## Honor use of Lisp image specified on command line