1
1

* Fixes trac:2807 : Improve the BLCR configure option so that it checks if the {{{--with-blcr}}} option is specified, but not {{{--with-ft=cr}}}, then configure returns an error (since this is clearly not what the user intended).

This commit was SVN r25590.

The following Trac tickets were found above:
  Ticket 2807 --> https://svn.open-mpi.org/trac/ompi/ticket/2807
Этот коммит содержится в:
Josh Hursey 2011-12-07 21:36:03 +00:00
родитель 7180ad40ad
Коммит 076db435cd

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

@ -9,6 +9,7 @@
# Copyright (c) 2004-2006 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 2009-2010 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2011 Oak Ridge National Labs. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
@ -33,9 +34,16 @@ AC_DEFUN([MCA_opal_crs_blcr_CONFIG],[
check_crs_blcr_good="no"
# If we do not want FT, don't compile this component
#
# If we wanted BLCR, but did not specify the FT option,
# error out with a warning for the user
AS_IF([test "$opal_want_ft_cr" = "0"],
[$2
check_crs_blcr_good="no"],
check_crs_blcr_good="no"
AS_IF([test ! -z "$with_blcr" -a "$with_blcr" != "no"],
[AC_MSG_WARN([BLCR support requested, but FT support not requested. You need to specify the --with-ft=cr configure option.])
AC_MSG_ERROR([Aborting.])])
],
[check_crs_blcr_good="yes"])
# If we do not want BLCR, then do not compile it