2004-01-07 10:40:48 +03:00
|
|
|
dnl -*- shell-script -*-
|
|
|
|
dnl
|
|
|
|
dnl $HEADER$
|
|
|
|
dnl
|
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
define(OMPI_CXX_FIND_TEMPLATE_PARAMETERS,[
|
2004-01-07 10:40:48 +03:00
|
|
|
#
|
|
|
|
# Arguments: none
|
|
|
|
#
|
|
|
|
# Dependencies: None
|
|
|
|
#
|
|
|
|
# Get the C++ compiler template parameters.
|
|
|
|
#
|
|
|
|
# Adds to CXXFLAGS
|
|
|
|
|
|
|
|
AC_MSG_CHECKING([for C++ compiler template parameters])
|
|
|
|
if test "$BASECXX" = "KCC"; then
|
|
|
|
new_flags="--one_instantiation_per_object"
|
|
|
|
CXXFLAGS="$CXXFLAGS $new_flags"
|
|
|
|
else
|
|
|
|
new_flags="none needed"
|
|
|
|
fi
|
|
|
|
AC_MSG_RESULT([$new_flags])
|
|
|
|
|
|
|
|
#
|
|
|
|
# Clean up
|
|
|
|
#
|
|
|
|
unset new_flags
|
|
|
|
])
|