aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-11-27 11:05:52 +0000
committerdos-reis <gdr@axiomatics.org>2010-11-27 11:05:52 +0000
commitbc3dd74e510c77a11ddc81a95e207023cfd629af (patch)
tree3962bc270014dfea3cd9a855be0d6d8ed308889f /config
parentded1d9f1137b1f747eb62de938f14ad7eff82036 (diff)
downloadopen-axiom-bc3dd74e510c77a11ddc81a95e207023cfd629af.tar.gz
Fix 'make install'
Diffstat (limited to 'config')
-rw-r--r--config/open-axiom.m436
1 files changed, 12 insertions, 24 deletions
diff --git a/config/open-axiom.m4 b/config/open-axiom.m4
index 2fd2a38f..774a13f9 100644
--- a/config/open-axiom.m4
+++ b/config/open-axiom.m4
@@ -70,17 +70,11 @@ AC_ARG_WITH([lisp], [ --with-lisp=L use L as Lisp platform],
## own version from the source tree.
## If --enable-gcl is specified, we need to check for coonsistency
oa_include_gcl=
-oa_gcldir=
-AC_SUBST(oa_gcldir)
-AC_SUBST(oa_gcldir)
AC_ARG_ENABLE([gcl], [ --enable-gcl build GCL from OpenAxiom source],
[case $enableval in
yes|no) oa_include_gcl=$enableval ;;
*) AC_MSG_ERROR([erroneous value for --enable-gcl]) ;;
esac])
-if test "$oa_include_gcl" = xyes; then
- oa_gcldir=gcl
-fi
## If nothing was said about preferred Lisp, guess one.
AC_SUBST(AXIOM_LISP)
@@ -111,7 +105,6 @@ case $oa_include_gcl,$AXIOM_LISP in
## the dependency tarball.
if test -d ${srcdir}/gcl; then
AXIOM_LISP='$(axiom_build_bindir)/gcl'
- oa_all_prerequisites="$oa_all_prerequisites all-gcl"
oa_include_gcl=yes
elif test -z "$oa_include_gcl"; then
AC_MSG_ERROR([OpenAxiom requires a Lisp system. Either separately build one (GCL-2.6.7, GCL-2.6.8, SBCL, ECL, CLisp, Clozure CL), or get the dependency tarball from OpenAxiom download website.])
@@ -257,23 +250,18 @@ dnl Determine options needed to build included GCL, if need be.
AC_DEFUN([OPENAXIOM_GCL_BUILD_OPTIONS],[
oa_host_has_libbfd=
## Check for these only if we are going to build GCL from source.
-case $oa_all_prerequisites in
- *all-gcl*)
- AC_CHECK_HEADER([bfd.h])
- AC_HAVE_LIBRARY([bfd], [oa_host_has_libbfd=yes])
-
- oa_gcl_bfd_option=
- if test x"$ac_cv_header_bfd_h" = xyes \
- && test x"$oa_host_has_libbfd" = xyes; then
- oa_gcl_bfd_option="--disable-dynsysbfd"
- else
- oa_gcl_bfd_option="--disable-statsysbfd --enable-locbfd"
- fi
- ;;
- *)
- # Nothing to worry about
- ;;
-esac
+if test x"$oa_include_gcl" = xyes; then
+ AC_CHECK_HEADER([bfd.h])
+ AC_HAVE_LIBRARY([bfd], [oa_host_has_libbfd=yes])
+
+ oa_gcl_bfd_option=
+ if test x"$ac_cv_header_bfd_h" = xyes \
+ && test x"$oa_host_has_libbfd" = xyes; then
+ oa_gcl_bfd_option="--disable-dynsysbfd"
+ else
+ oa_gcl_bfd_option="--disable-statsysbfd --enable-locbfd"
+ fi
+fi
case $host in
powerpc*darwin*)