I'm one of the ACE/TAO developers that maintain its autoconf/automake
build infrastructure.

We use preprocessor macros to conditionally compile in factory
methods, static constructors, and export/visibility directives.  For
example, for the TAO library, TAO_BUILD_DLL is defined when building
a shared library, but not for static libraries.  Similar macros are
used for the (many) other libraries.

Is there any way to specify options that will be used for only one of
the build types?  Short of that, is there a way to disable the static
build so it can't be overriden by --enable-static by the user (since
inappropriate options will be passed through).

Similarly, how do folks generally go about providing static, profile
instrumented, libraries?

    --jtc

-- 
J.T. Conklin


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to