blob: 6b8950f7989890eb1ff3f0be175c9b8e708339bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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
)
|