back again !!!
[platform/upstream/gnome-common.git] / macros / gnome-cxx-check.m4
1 dnl GNOME_CHECK_CXX(not_found_string)
2 AC_DEFUN([GNOME_CHECK_CXX],
3 [
4   # see if a C++ compiler exists and works
5   AC_REQUIRE([AC_PROG_CXX])dnl
6   if test "x$ac_cv_prog_cxx_works" = xno; then
7     AC_MSG_WARN(ifelse([$1], , "No C++ compiler", [$1]))
8   fi
9   AM_CONDITIONAL(CXX_PRESENT, test "x$ac_cv_prog_cxx_works" != xno)
10 ])