1
1

add support for --without-oshmem in configure

This commit was SVN r29733.
Этот коммит содержится в:
Mike Dubman 2013-11-22 13:51:46 +00:00
родитель 3923ee89ec
Коммит 826fa635a3
2 изменённых файлов: 21 добавлений и 0 удалений

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

@ -24,6 +24,22 @@ AC_ARG_ENABLE([oshmem],
[AC_HELP_STRING([--disable-oshmem], [AC_HELP_STRING([--disable-oshmem],
[Disable building the OpenSHMEM interface])]) [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 # Enable compatibility mode
# #

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

@ -9,6 +9,9 @@
# $HEADER$ # $HEADER$
# #
# Do we need to build OSHMEM?
if OSHMEM_SUPPORT
# Do we have profiling? # Do we have profiling?
if OSHMEM_PROFILING if OSHMEM_PROFILING
c_pshmem_lib = shmem/c/profile/libshmem_c_pshmem.la c_pshmem_lib = shmem/c/profile/libshmem_c_pshmem.la
@ -99,3 +102,5 @@ $(dir_stamp):
# Remove the generated man pages # Remove the generated man pages
distclean-local: distclean-local:
rm -f $(nodist_man_MANS) $(dir_stamp) rm -f $(nodist_man_MANS) $(dir_stamp)
endif # OSHMEM_SUPPORT