From 9463885e78118443a7d4637cf56be6bfd9aa46f0 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Wed, 16 Jan 2013 20:53:35 +0000 Subject: [PATCH] be strict about c++ compiler. SVN revision: 82900 --- configure.ac | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index a2df419669..2589884343 100644 --- a/configure.ac +++ b/configure.ac @@ -223,11 +223,9 @@ AM_PROG_CC_C_O if test "x${ac_cv_prog_cc_c99}" = "xno" ; then AC_MSG_ERROR([efl requires a c99-capable compiler]) fi - -#echo $ac_cv_prog_CXX -#if test "x${ac_cv_prog_CXX}" = "x" ; then -# AC_MSG_ERROR([C++ compiler needed. Exiting...]) -#fi +if test "x${ac_cv_prog_ac_ct_CXX}" = "x" ; then + AC_MSG_ERROR([efl requires a C++ compiler]) +fi AC_SYS_LARGEFILE