Per RFC, continue cleaning up the build system
OMPI_C_WEAK_SYMBOLS -> OPAL_C_WEAK_SYMBOLS ompi_cv_c_weak_symbols -> opal_cv_c_weak_symbols This commit was SVN r31654.
This commit is contained in:
parent
ee6ee7a10f
commit
9b88ec7cde
@ -17,9 +17,9 @@ dnl
|
||||
dnl $HEADER$
|
||||
dnl
|
||||
|
||||
# _OMPI_C_WEAK_SYMBOLS(action_if_found, [action_if_not_found])
|
||||
# _OPAL_C_WEAK_SYMBOLS(action_if_found, [action_if_not_found])
|
||||
# ------------------------------------------------------------
|
||||
AC_DEFUN([_OMPI_C_WEAK_SYMBOLS],[
|
||||
AC_DEFUN([_OPAL_C_WEAK_SYMBOLS],[
|
||||
# need two files because icc will incorrectly not create the
|
||||
# symbols if they are not used in the object file in which they
|
||||
# are defined. Blah!
|
||||
@ -56,15 +56,15 @@ OPAL_LOG_COMMAND(
|
||||
])
|
||||
|
||||
|
||||
# OMPI_C_WEAK_SYMBOLS()
|
||||
# OPAL_C_WEAK_SYMBOLS()
|
||||
# ---------------------
|
||||
# sets OMPI_C_WEAK_SYMBOLS=1 if C compiler has support for weak symbols
|
||||
AC_DEFUN([OMPI_C_WEAK_SYMBOLS],[
|
||||
# sets OPAL_C_WEAK_SYMBOLS=1 if C compiler has support for weak symbols
|
||||
AC_DEFUN([OPAL_C_WEAK_SYMBOLS],[
|
||||
AC_CACHE_CHECK([for weak symbol support],
|
||||
[ompi_cv_c_weak_symbols],
|
||||
[_OMPI_C_WEAK_SYMBOLS([ompi_cv_c_weak_symbols="yes"],
|
||||
[ompi_cv_c_weak_symbols="no"])])
|
||||
[opal_cv_c_weak_symbols],
|
||||
[_OPAL_C_WEAK_SYMBOLS([opal_cv_c_weak_symbols="yes"],
|
||||
[opal_cv_c_weak_symbols="no"])])
|
||||
|
||||
AS_IF([test "$ompi_cv_c_weak_symbols" = "yes"],
|
||||
AS_IF([test "$opal_cv_c_weak_symbols" = "yes"],
|
||||
[OPAL_C_HAVE_WEAK_SYMBOLS=1], [OPAL_C_HAVE_WEAK_SYMBOLS=0])
|
||||
]) dnl
|
||||
|
@ -103,7 +103,7 @@ AC_ARG_ENABLE(oshmem-profile,
|
||||
AC_HELP_STRING([--enable-oshmem-profile],
|
||||
[enable OSHMEM profiling (default: enabled)]))
|
||||
if test "$enable_oshmem" != "no" -a "$enable_oshmem_profile" != "no"; then
|
||||
_OMPI_C_WEAK_SYMBOLS([
|
||||
_OPAL_C_WEAK_SYMBOLS([
|
||||
AC_MSG_RESULT([yes])
|
||||
oshmem_profiling_support=1
|
||||
], [
|
||||
|
@ -513,7 +513,7 @@ AC_C_INLINE
|
||||
if test "x$opal_cv_c_compiler_vendor" != "xmicrosoft"; then
|
||||
AC_C_RESTRICT
|
||||
fi
|
||||
OMPI_C_WEAK_SYMBOLS
|
||||
OPAL_C_WEAK_SYMBOLS
|
||||
if test "$GCC" = "yes"; then
|
||||
CFLAGS=$CFLAGS_save
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user