[PPL-devel] Enabling shared libraries selectively
Roberto Bagnara
bagnara at cs.unipr.it
Sat Jun 15 16:04:25 CEST 2002
Hi there,
I have aproject where I would like to use AC_DISABLE_SHARED so that
not building shared libraries is the default. Of course, this is ideal
for development and debugging but there is a problem: the `make check'
target in one of the project's subdirectories requires building a shared
library (because a particular test can only be done and does only make
sense with a shared library).
Can I avoid building that shared library "by hand" (with all the consequent
portability problems) and use libtool instead?
If so, how can I do it?
Thanks a lot
Roberto
P.S.
In the configured libtool script (version 1.4.x and today's CVS version)
that is put in the build directory it seems that the `build_libtool_libs'
variable is assigned to `no' and never changed again.
Perhaps an option like `--shared' should be added to that script
to override the default?
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara at cs.unipr.it
More information about the PPL-devel
mailing list