If configure of a contributed component fails, abort if it's requested via command line switch
This commit was SVN r25814.
Этот коммит содержится в:
родитель
8ed781d7e9
Коммит
d154e81668
@ -121,6 +121,13 @@ AC_DEFUN([_OMPI_CONTRIB_CONFIGURE],[
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
|
||||
# If this component was requested via command line switch, then abort.
|
||||
if test "x$enable_$1" = xyes ; then
|
||||
AC_MSG_WARN([Contributed component "$1" failed to configure properly])
|
||||
AC_MSG_WARN([This component was requested via command line switch])
|
||||
AC_MSG_ERROR([Cannot continue])
|
||||
fi
|
||||
fi
|
||||
else
|
||||
AC_MSG_NOTICE([disabled via command line switch])
|
||||
|
@ -52,9 +52,13 @@ AC_DEFUN([OMPI_contrib_vt_CONFIG],[
|
||||
AC_WARN([*** Please re-configure Open MPI to use the STLport4])
|
||||
AC_WARN([*** by adding the compiler flag -library=stlport4])
|
||||
AC_WARN([*** to CXXFLAGS.])
|
||||
if test "x$enable_vt" != xyes; then
|
||||
AC_WARN([*** Pausing to give you time to read this message...])
|
||||
fi
|
||||
AC_WARN([***********************************************************])
|
||||
if test "x$enable_vt" != xyes; then
|
||||
sleep 10
|
||||
fi
|
||||
contrib_vt_happy=0
|
||||
])
|
||||
AC_LANG_POP(C++)
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user