2004-01-07 10:40:48 +03:00
|
|
|
dnl -*- shell-script -*-
|
|
|
|
dnl
|
2004-11-22 04:38:40 +03:00
|
|
|
dnl Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
dnl All rights reserved.
|
|
|
|
dnl Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
dnl All rights reserved.
|
2004-11-28 23:09:25 +03:00
|
|
|
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
dnl University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
dnl All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
dnl $COPYRIGHT$
|
|
|
|
dnl
|
|
|
|
dnl Additional copyrights may follow
|
|
|
|
dnl
|
2004-01-07 10:40:48 +03:00
|
|
|
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
|
|
|
|
])
|