13
0
livetrax/libs/glibmm2/scripts/sun.m4
Carl Hetherington a313924b77 Re-add glibmm2 properly.
git-svn-id: svn://localhost/ardour2/trunk@2644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:37:24 +00:00

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
)