1
1

* allow both mx and gm to be disabled with --without-{gm,mx}

This commit was SVN r8411.
Этот коммит содержится в:
Brian Barrett 2005-12-08 04:54:42 +00:00
родитель 364ca3f075
Коммит 996fc4ca8e
2 изменённых файлов: 31 добавлений и 26 удалений

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

@ -128,7 +128,9 @@ AC_DEFUN([OMPI_CHECK_GM],[
[AC_HELP_STRING([--with-gm-libdir=GMLIBDIR],
[directory where the GM library can be found, if it is not in GM_DIR/lib or GM_DIR/lib64])])
AS_IF([test ! -z "$with_gm" -a "$with_gm" != "yes"],
AS_IF([test "$with_gm" != "no"],
[AS_IF([test ! -z "$with_gm" -a "$with_gm" != "yes"],
[ompi_check_gm_dir="$with_gm"])
AS_IF([test ! -z "$with_gm_libdir" -a "$with_gm_libdir" != "yes"],
[ompi_check_gm_libdir="$with_gm_libdir"])
@ -141,6 +143,7 @@ AC_DEFUN([OMPI_CHECK_GM],[
[$ompi_check_gm_dir],
[$ompi_check_gm_libdir],
[ompi_check_gm_happy="yes"],
[ompi_check_gm_happy="no"])],
[ompi_check_gm_happy="no"])
AS_IF([test "$ompi_check_gm_happy" = "yes"],

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

@ -64,7 +64,8 @@ AC_DEFUN([OMPI_CHECK_MX],[
ompi_check_mx_$1_save_LDFLAGS="$LDFLAGS"
ompi_check_mx_$1_save_LIBS="$LIBS"
AS_IF([test ! -z "$with_mx" -a "$with_mx" != "yes"],
AS_IF([test "$with_mx" != "no"],
[AS_IF([test ! -z "$with_mx" -a "$with_mx" != "yes"],
[ompi_check_mx_dir="$with_mx"])
AS_IF([test ! -z "$with_mx_libdir" -a "$with_mx_libdir" != "yes"],
[ompi_check_mx_libdir="$with_mx_libdir"])
@ -77,6 +78,7 @@ AC_DEFUN([OMPI_CHECK_MX],[
[$ompi_check_mx_dir],
[$ompi_check_mx_libdir],
[ompi_check_mx_happy="yes"],
[ompi_check_mx_happy="no"])],
[ompi_check_mx_happy="no"])
AS_IF([test "$ompi_check_mx_happy" = "yes"],