Dan Lacher wrote: >>> Tim Mooney wrote: >>>> CXXFLAGS="-library=%none -library=no%libC" >> >>> Not sure what to do in the general case. Can either: >>> >>> 1) Allow the setting of a cache var to select if these are added. >>> (something like attached patch). >> >> I prefer that. But I'd prefer a cache variable to be general, in the >> sense of setting the C++ library not only for the Sun compiler, and not >> only on Solaris. There have been users complaining that they want only >> libsupc++ instead of libstdc++ with g++. > > From the Open MPI community stand point we need a method that will work > via automake since we don't invoke libtool directly.
Well, with a cache variable, you can either ensure that it is exported in the environment prior to configure, e.g. for bash: export lt_cv_add_cstd_crun=no ./configure; make or you can add it to the configure arguments: ./configure --enable-foo --with-bar lt_cv_add_cstd_crun=no --prefix=/opt/baz Would that be sufficient? (Note that the name of the variable is subject to change). Peter -- Peter O'Gorman http://pogma.com _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool