Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] non-portable test operator in configure
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2012-02-20 04:11:35


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