cedric pushed a commit to branch efl-1.8.

http://git.enlightenment.org/core/efl.git/commit/?id=1c3ae0202c9b437d37388b2b03b930f5ad6033a2

commit 1c3ae0202c9b437d37388b2b03b930f5ad6033a2
Author: Cedric BAIL <cedric.b...@samsung.com>
Date:   Wed Dec 11 10:40:13 2013 +0900

    autotools: let's try this variant for detecting c++ compiler availability.
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8d3a383..80de53c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -287,8 +287,8 @@ fi
 # autotools macro and CXX is always set to g++ even if
 # it's not found. So we are using an internal variable
 # that does the work for now, may get broken in the future.
-if test "x${ac_ct_CXX}" = "x"; then
-   AC_MSG_ERROR([efl requires a C++ compiler])
+if test "x${ac_ct_CXX}" = "x" -a "x${CXX}" = "xg++"; then
+   AC_MSG_ERROR([efl requires a C++ compiler got ${ac_ct_CXX} and ${CXX}.])
 fi
 
 AC_SYS_LARGEFILE

-- 


Reply via email to