Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] configure patch (was: v1.5: thumbs up or down? - Thumbs Down)
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-07-14 16:52:09


On Jul 11, 2010, at 12:25 AM, <Kevin.Buckley_at_[hidden]> <Kevin.Buckley_at_[hidden]> wrote:

> $ diff -u openmpi-1.5rc3{-vanilla,}/config/ompi_contrib.m4
> --- openmpi-1.5rc3-vanilla/config/ompi_contrib.m4 2009-12-09
> 10:33:28.000000000 +1300
> +++ openmpi-1.5rc3/config/ompi_contrib.m4 2010-07-11
> 15:43:56.000000000 +1200
> @@ -99,6 +99,16 @@
>
> ompi_show_subsubsubtitle "$1 (m4 configuration macro)"
>
> + AC_ARG_ENABLE([$1],
> + [AS_HELP_STRING([--disable-$1],
> + [disable support for contributed package $1])],
> + [],
> + [enable_$1=yes])
> +
> + if test "x$enable_$1" != xyes ; then
> + DISABLE_contrib_$1=yes
> + fi
> +
> OMPI_CONTRIB_HAPPY=0
> if test "$DISABLE_contrib_$1" = "" -a "$DISABLE_contrib_all" = ""; then

This was far simpler than I had expected. Excellent!

I'm going to ping Brian and ensure there's not something hidden/subtle here that we're missing.

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/