diff options
Diffstat (limited to 'configure.ac.pamphlet')
-rw-r--r-- | configure.ac.pamphlet | 113 |
1 files changed, 4 insertions, 109 deletions
diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet index 6fbbcaf8..6d332d58 100644 --- a/configure.ac.pamphlet +++ b/configure.ac.pamphlet @@ -187,114 +187,6 @@ axiom_build_sharedir=$axiom_builddir/share @ -\section{Host characteristics} - -\subsection{Lisp runtime} - -\subsubsection{Runtime checking} - -\Tool{GCL} relies on the libirary \Tool{BFD}, the include -headers of which may not exist (quite common). In order to avoid -\Tool{GCL} build failure, we test for the existence of [[<bfd.h>]] -and the corresponding library. We configure \Tool{GCL} to -use its own copy of \Tool{BFD} accordingly. FIXME: This must -be taken care of by \Tool{GCL} itself. -<<gcl options>>= -axiom_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], [axiom_host_has_libbfd=yes]) - - axiom_gcl_bfd_option= - if test x"$ac_cv_header_bfd_h" = xyes \ - && test x"$axiom_host_has_libbfd" = xyes; then - axiom_gcl_bfd_option="--disable-dynsysbfd" - else - axiom_gcl_bfd_option="--disable-statsysbfd --enable-locbfd" - fi - ;; - *) - # Nothing to worry about - ;; -esac -@ - -\Tool{GCL} has an elaborate memory management system and -\Tool{OpenAxiom} seems to -put ``unusual'' pressure on it. Here we specify some values that have -been empirically known to work. -<<gcl options>>= -# axiom_gcl_mm_option="--enable-maxpage=256*1024" -@ - -Furthermore, we don't need (at the moment) \Tool{GCL} to build support for -X Window system or TCL/TK: -<<gcl options>>= -axiom_gcl_x_option="--disable-tkconfig --disable-x --disable-xgcl" -@ - -Under some unusual circumstances, \Tool{GLC}'s \Tool{configure} will -fail to properly detect usable \Tool{Emacs} directories, and the -build will mysteriously fail later. We temporarily work -around that bug as follows: -<<gcl options>>= -axiom_gcl_emacs="--enable-emacs=correct" -@ - - -Other aspects depend on the platform being considered. - - -\Tool{OpenAxiom} source code had developed the appalling and irritating habit -of testing for -platforms, when in fact it is interested in functionalities. -The outcome is an ever-growing pile of increasing disgusting hacks. -For example, most the XXXplatform below really have nothing to -do with platforms. - -<<platform specific bits>>= -<<gcl options>> - -case $GCC in - yes) - CCF="-O2 -Wall -D_GNU_SOURCE" - ;; -esac - -case $target in - *bsd*|*dragonfly*) - CCF="-O2 -Wall" - ;; - windows) - SRCDIRS=bootdir interpdir sharedir algebradir etcdir docdir inputdir - ;; - *solaris*) - AC_DEFINE([SUNplatform], [], [SunOS flavour]) - ;; - powerpc*darwin*) - CCF="-O2 -Wall -D_GNU_SOURCE \ - -I/usr/include -I/usr/include/sys" - axiom_gcl_bfd_option="--disable-statsysbfd \ - --enable-machine=powerpc-macosx" - axiom_gcl_mm_option="--enable-vssize=65536*2" - ;; -esac - -GCLOPTS="$axiom_gcl_emacs $axiom_gcl_bfd_option $axiom_gcl_mm_option $axiom_gcl_x_option" - -AC_SUBST(CCF) -AC_SUBST(GCLOPTS) -@ - -The C preprocessor symbols [[BSDplatform]], [[LINUXplatform]], etc. are being -used as ``catch all'' for unstructured codes. They should be -removed from the source base. Any source file using those should be -properly documented as its needs are, and a narrowed, specific configure -test should be added. - - \section{Configuration options} \label{sec:config-options} @@ -501,9 +393,12 @@ OPENAXIOM_CHECK_CORE_SUPPORT OPENAXIOM_CHECK_IO OPENAXIOM_CHECK_GRAPHICS -<<platform specific bits>> OPENAXIOM_FFI_TYPE_TABLE +OPENAXIOM_GCL_BUILD_OPTIONS +OPENAXIOM_CHECK_MISC + <<instantiate config files>> + echo "Type '${MAKE}' (without quotes) to build OpenAxiom" @ |