Use the right global variables, and the other parts of the code react ;-)
This commit was SVN r54.
Этот коммит содержится в:
родитель
2f77ffb99e
Коммит
7994ea8b6d
@ -2,7 +2,7 @@ dnl -*- shell-script -*-
|
||||
dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
dnl $Id: lam_configure_options.m4,v 1.1 2004/01/07 07:42:12 jsquyres Exp $
|
||||
dnl $Id: lam_configure_options.m4,v 1.2 2004/01/07 08:31:32 jsquyres Exp $
|
||||
dnl
|
||||
|
||||
AC_DEFUN(LAM_CONFIGURE_OPTIONS,[
|
||||
@ -18,12 +18,12 @@ AC_ARG_ENABLE(memzero,
|
||||
[enable memory zeroing (debugging only)]))
|
||||
if test "$enable_memzero" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
want_memzero=1
|
||||
WANT_MEMZERO=1
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
want_memzero=0
|
||||
WANT_MEMZERO=0
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(LAM_ENABLE_MEMZERO, $want_memzero,
|
||||
AC_DEFINE_UNQUOTED(LAM_ENABLE_MEMZERO, $WANT_MEMZERO,
|
||||
[Whether we want the LAM_MEMZERO macro to memset or not])
|
||||
|
||||
#
|
||||
@ -36,12 +36,12 @@ AC_ARG_ENABLE(purify,
|
||||
[enable developer-level debugging code (not for general MPI users!)]))
|
||||
if test "$enable_debug" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
want_debug=1
|
||||
WANT_DEBUG=1
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
want_debug=0
|
||||
WANT_DEBUG=0
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(LAM_ENABLE_DEBUG, $want_debug,
|
||||
AC_DEFINE_UNQUOTED(LAM_ENABLE_DEBUG, $WANT_DEBUG,
|
||||
[Whether we want developer-level debugging code or not])
|
||||
|
||||
# --enable-dist
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user