add support for --without-oshmem in configure
This commit was SVN r29733.
Этот коммит содержится в:
родитель
3923ee89ec
Коммит
826fa635a3
@ -24,6 +24,22 @@ AC_ARG_ENABLE([oshmem],
|
||||
[AC_HELP_STRING([--disable-oshmem],
|
||||
[Disable building the OpenSHMEM interface])])
|
||||
|
||||
#
|
||||
# OSHMEM support
|
||||
#
|
||||
AC_MSG_CHECKING([if want OSHMEM support])
|
||||
AC_ARG_WITH([oshmem],
|
||||
[AC_HELP_STRING([--with-oshmem],
|
||||
[Build with OSHMEM support (default=yes)])])
|
||||
if test "$with_oshmem" != "no"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
oshmem_with_support=1
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
oshmem_with_support=0
|
||||
fi
|
||||
AM_CONDITIONAL(OSHMEM_SUPPORT, test "$oshmem_with_support" = 1)
|
||||
|
||||
#
|
||||
# Enable compatibility mode
|
||||
#
|
||||
|
@ -9,6 +9,9 @@
|
||||
# $HEADER$
|
||||
#
|
||||
|
||||
# Do we need to build OSHMEM?
|
||||
if OSHMEM_SUPPORT
|
||||
|
||||
# Do we have profiling?
|
||||
if OSHMEM_PROFILING
|
||||
c_pshmem_lib = shmem/c/profile/libshmem_c_pshmem.la
|
||||
@ -99,3 +102,5 @@ $(dir_stamp):
|
||||
# Remove the generated man pages
|
||||
distclean-local:
|
||||
rm -f $(nodist_man_MANS) $(dir_stamp)
|
||||
|
||||
endif # OSHMEM_SUPPORT
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user