1
1

Move AM_CONDITIONAL to its own POST_CONFIG, as it needs to be. Fixes

#1622.

This commit was SVN r19908.
Этот коммит содержится в:
Jeff Squyres 2008-11-03 22:34:38 +00:00
родитель b48bbec366
Коммит 357e9ef070

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

@ -25,6 +25,12 @@ AC_DEFUN([MCA_memory_ptmalloc2_COMPILE_MODE], [
]) ])
AC_DEFUN([MCA_memory_ptmalloc2_POST_CONFIG],[
AM_CONDITIONAL([OMPI_WANT_EXTERNAL_PTMALLOC2],
[test "$enable_ptmalloc2_internal" != "yes"])
])
# MCA_memory_ptmalloc2_CONFIG(action-if-can-compile, # MCA_memory_ptmalloc2_CONFIG(action-if-can-compile,
# [action-if-cant-compile]) # [action-if-cant-compile])
# ------------------------------------------------ # ------------------------------------------------
@ -35,8 +41,6 @@ AC_DEFUN([MCA_memory_ptmalloc2_CONFIG],[
instead of as separate library. Only has meaning instead of as separate library. Only has meaning
if ptmalloc2 memory component exists])]) if ptmalloc2 memory component exists])])
AM_CONDITIONAL([OMPI_WANT_EXTERNAL_PTMALLOC2],
[test "$enable_ptmalloc2_internal" != "yes"])
AC_MSG_CHECKING([if ptmalloc2 should be part of libopen-pal]) AC_MSG_CHECKING([if ptmalloc2 should be part of libopen-pal])
AS_IF([test "$enable_ptmalloc2_internal" = "yes"], AS_IF([test "$enable_ptmalloc2_internal" = "yes"],
[AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])