71d30c7f2d
git-svn-id: svn://localhost/ardour2/branches/2.1-staging@1415 d708f5d6-7413-0410-9779-e7cbd77b26cf
16 lines
452 B
Plaintext
16 lines
452 B
Plaintext
AC_DEFUN([GLIBMM_PROG_CXX_SUN],
|
|
[AC_CACHE_CHECK(whether we are using SUN CC compiler, ac_cv_prog_sun_cxx,
|
|
[if AC_TRY_COMMAND(${CXX-g++} -V 2>&1) | egrep "Sun WorkShop" >/dev/null 2>&1; then
|
|
ac_cv_prog_sun_cxx=yes
|
|
else
|
|
ac_cv_prog_sun_cxx=no
|
|
fi]
|
|
)]
|
|
|
|
if test "x${ac_cv_prog_sun_cxx}" = "xyes"; then
|
|
{
|
|
AC_DEFINE([GLIBMM_COMPILER_SUN_FORTE],[1], [Defined when the SUN Forte C++ compiler is being used.])
|
|
}
|
|
fi
|
|
)
|