Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] non-portable test operator in configure
From: Jeffrey Squyres (jsquyres_at_[hidden])
Date: 2012-02-20 08:42:36


Fixed -- thanks!

On Feb 20, 2012, at 4:11 AM, Paul H. Hargrove wrote:

> Please note that "==" is NOT a portable binary operator for the "test" utility.
> It is supported only by the bash built-in version of "test".
> The correct operator is a simple "=".
>
> The following appear in the svn trunk
>
> ./orte/config/orte_check_alps.m4: AS_IF([test "$orte_check_alps_pmi_happy" == "yes" -a "$orte_without_full_support" = 0],
> ./config/ompi_load_platform.m4: if test "$with_platform" == "" ; then
>
> The $with_platform test breaks configure fairly early on at least Solaris 10.
>
> -Paul
>
> --
> Paul H. Hargrove PHHargrove_at_[hidden]
> Future Technologies Group
> HPC Research Department Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

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