diff options
author | dos-reis <gdr@axiomatics.org> | 2010-08-15 22:01:13 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-08-15 22:01:13 +0000 |
commit | 5c06c1ef151286264a095cdea1a5e0de3e6321fd (patch) | |
tree | aee690d55a4a9304c708a9540a5645f31c3c3d9b /configure.ac.pamphlet | |
parent | becbcba28846a1046d9b6c35ee8d6bd805f79bea (diff) | |
download | open-axiom-5c06c1ef151286264a095cdea1a5e0de3e6321fd.tar.gz |
* config/open-axiom.m4 (OPENAXIOM_DYNAMIC_MODULE_SUPPORT): New.
* configure.ac.pamphlet: Use it.
Diffstat (limited to 'configure.ac.pamphlet')
-rw-r--r-- | configure.ac.pamphlet | 50 |
1 files changed, 1 insertions, 49 deletions
diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet index 46fb80db..6b89cff8 100644 --- a/configure.ac.pamphlet +++ b/configure.ac.pamphlet @@ -961,53 +961,6 @@ $srcdir/config/move-if-change \ @ -\section{Dynamic and shared libraries} - -We need to link some C object files into in the Lisp images we -use. Some Lisps (e.g. GCL, ECL) support inclusion of ``ordinary'' -object files. Other Lisps (e.g. SBCL) support only dynamic -or shared libraries. However, the exact minutia of portably -building shared libraries are known to be fraught with all kinds -of traps. Consequently, dedicated tools have been developed to -abstract away from those details. In particular, we rely on -GNU \Tool{libtool} to take care of that for us. -<<initialize shared libraries tool>>= -oa_use_libtool_for_shared_lib=yes -oa_shrobj_flags= -oa_shrlib_flags= -# Tell Libtool to assume `dlopen' so that it does not have to -# emulate it. -LT_INIT([pic-only dlopen win32-dll shared]) -AC_SUBST([LIBTOOL_DEPS]) -# Give me extension of libraries -module=yes -eval shared_ext=\"$shrext_cmds\" -AC_SUBST(shared_ext) -AC_SUBST(libext) -## Don't use Libtool for building actual DLLs on MinGW and Cygwin -## Libool has been improved to the point of being useless -## for building in-place shared libraries. -oa_use_libtool_for_shared_lib=no -case $host in - *mingw*|*cygwin*) - # oa_use_libtool_for_shared_lib=no - oa_shrobj_flags='-prefer-pic' - oa_shrlib_flags="-shared --export-all-symbols" - ;; - *darwin*) - oa_shrobj_flags='-dynamic' - oa_shrlib_flags='-bundle -undefined suppress -flat_namespace' - ;; - *) - oa_shrobj_flags='-prefer-pic' - oa_shrlib_flags='-shared' - ;; -esac -AC_SUBST(oa_use_libtool_for_shared_lib) -AC_SUBST(oa_shrobj_flags) -AC_SUBST(oa_shrlib_flags) -@ - \section{configure.ac} <<*>>= @@ -1018,8 +971,7 @@ AC_SUBST(oa_shrlib_flags) OPENAXIOM_HOST_COMPILERS OPENAXIOM_GCL_HACKS OPENAXIOM_HOST_DATA_PROPERTIES - -<<initialize shared libraries tool>> +OPENAXIOM_DYNAMIC_MODULE_SUPPORT axiom_src_subdirs="lib hyper lisp boot interp share algebra input etc doc" AC_SUBST(axiom_src_subdirs) |