1
1

Fix the BLCR configuration when explicitly disabling it.

It happened that if we supplied:
 --with-ft=cr --without-blcr
then BLCR would be loaded, due to a logic break in the old m4.

Now this works approprately. This should be moved to v1.3.1

This commit was SVN r20296.
Этот коммит содержится в:
Josh Hursey 2009-01-19 20:21:58 +00:00
родитель 825b5366ed
Коммит fca3c6e571

Просмотреть файл

@ -26,14 +26,15 @@ AC_DEFUN([MCA_crs_blcr_CONFIG],[
[Search for BLCR libraries in DIR])])
check_crs_blcr_good="no"
# If we do not want BLCR, then do not compile it
AS_IF([test "$with_blcr" = "no"],
# If we do not want FT, don't compile this component
AS_IF([test "$ompi_want_ft" = "0"],
[$2
check_crs_blcr_good="no"],
[check_crs_blcr_good="yes"])
# If we do not want FT, don't compile this component
AS_IF([test "$ompi_want_ft" = "0"],
# If we do not want BLCR, then do not compile it
AS_IF([test "$with_blcr" = "no" -o "$check_crs_blcr_good" = "no"],
[$2
check_crs_blcr_good="no"],
[check_crs_blcr_good="yes"])