* Peter O'Gorman wrote on Fri, Feb 08, 2008 at 05:10:27PM CET:
> Dan Lacher wrote:
> > 
> > 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).

Technically, the cache variable could also be set somewhere in the
configure.ac code (macros included), as long as it happens before the
AC_PROG_LIBTOOL code.  Just FYI.

Cheers,
Ralf


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

Reply via email to