eigen/tvmet-1.7.1/config/ac_prog_cxx_pgi.m4
Benoit Jacob 3036eeca0a Starting Eigen 2 development. The current plan is to use the last
release of tvmet (inactive for 2 years and developer unreachable) as the
basis for eigen2, because it provides seemingly good expression template
mechanisms, we want that, and it would take years to reinvent that
wheel. We'll see. So this commit imports the last tvmet release.
2007-05-30 06:24:51 +00:00

19 lines
397 B
Plaintext

dnl $Id: ac_prog_cxx_pgi.m4,v 1.2 2004/04/23 23:41:52 opetzold Exp $
dnl
dnl Portland Group Incorporated C++ compiler
dnl
AC_DEFUN([AC_PROG_CXX_PGI],
[AC_CACHE_CHECK(whether we are using PGI C++, PGI_CXX,
[cat > conftest.c <<EOF
# if defined(__PGI)
yes;
#endif
EOF
if AC_TRY_COMMAND(${CXX} -E conftest.c) | egrep yes >/dev/null 2>&1; then
PGI_CXX=yes
compiler=pgicc
else
PGI_CXX=no
fi])])